Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- net
- 크래시로그
- C/C++
- API
- 블루투스 헤드셋
- docker
- 한 번만 실행
- protobuf-c
- 기념일관리
- .net
- 와이브로
- 데이터 전달
- M8200
- PDA
- C#
- VS2008
- crashlog
- Font
- JavaScript
- Antialiasing
- 설치제거
- MFC
- EUC-KR
- phpmailer
- ClickOnce
- php
- GDI
- self-signed ssl
- plcrashreporter
- 자바스크립트
Archives
- Today
- Total
~☆~ 우하하!!~ 개발블로그
간혹 Code Sign 에 필요한 Provisioning 파일을 찾을 수 없다는 에러가 뜬다. 본문
728x90
반응형
참고 URL : http://iphonesdkdev.blogspot.com/2009/01/codesign-error-valid-provisioning.html
This error will appear when you update your provisioning profile in iPhone SDK 2.2
or after the expiration of developer certificate and that you have a new provisioning profile from the developer portal
This is the solution (which is modified from http://www.furmanek.net/54/iphone-sdk-22-codesign-error/)
Suppose you have copied your provisioning profile called "iPhone_Development.mobileprovision" to the Library folder and build & go an old iPhone project called "MyApp", and this annoying error appears
(1)
(2) find out the UUID of the provisioning profile
output is like this
(3) copy that UUID between the string tag
(4) close xcode and go to your project
(5) Use a text editor to open the project.pbxproj
find the string PROVISIONING_PROFILE
paste the UUID that you copied from step (3) and put it in both Debug and Release Sections (do multiple finds) for the following line
e.g.
(6) Launch XCode and open the project and build & go again
Updates :
Deleting all of the lines "PROVISIONING_PROFILE" in project.pbxproj will also fix the problem for iPhone SDK 3 or above
CodeSign error: a valid provisioning profile is required
"CodeSign error: a valid provisioning profile is required for product type 'Application' in SDK 'Device - iPhone OS 2.2"This error will appear when you update your provisioning profile in iPhone SDK 2.2
or after the expiration of developer certificate and that you have a new provisioning profile from the developer portal
This is the solution (which is modified from http://www.furmanek.net/54/iphone-sdk-22-codesign-error/)
Suppose you have copied your provisioning profile called "iPhone_Development.mobileprovision" to the Library folder and build & go an old iPhone project called "MyApp", and this annoying error appears
(1)
cd ~/Library/MobileDevice/Provisioning\ Profiles/
(2) find out the UUID of the provisioning profile
strings iPhone_Development.mobileprovision | grep "<string>.*-.*</string>"
output is like this
<string>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</string>
(3) copy that UUID between the string tag
(4) close xcode and go to your project
cd ~/Projects/MyApp/MyApp.xcodeproj
(5) Use a text editor to open the project.pbxproj
find the string PROVISIONING_PROFILE
paste the UUID that you copied from step (3) and put it in both Debug and Release Sections (do multiple finds) for the following line
e.g.
PROVISIONING_PROFILE = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
(6) Launch XCode and open the project and build & go again
Updates :
Deleting all of the lines "PROVISIONING_PROFILE" in project.pbxproj will also fix the problem for iPhone SDK 3 or above
반응형
'iPhone & Cocoa' 카테고리의 다른 글
아이폰에 할당된 IP Address 얻는 방법 (0) | 2010.02.03 |
---|---|
Xcode 프로젝트 이름 변경하기 (0) | 2010.01.14 |
아이템 개수 가져오기 (0) | 2009.12.20 |
[iPhone] [NSString] 문자열 뒤의 공백 Trim (0) | 2009.12.18 |
iPhone 의 전화번호 가져오기 (0) | 2009.12.14 |