2010년 4월 26일 월요일

objective-c 에서 Json framework 사용시 등록 실패 원인(invalid binary)

아이폰 어플등록을 하는데 아래와 같은 오류가 발생했다!
The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate

아~ 인증서 문제구나 하면서 인증서 관련 부분을 처음부터 다시 훑었는데...
  
objective-c 용 json 프레임웍이 원인 이었다.임베드 되어있는 파일들을 외부링크로 뺐을뿐인데

http://code.google.com/p/json-framework/wiki/InstallationInstructions#Option_2%3a_Use_the_iPhone_Custom_SDK

위 문서 아래 부분에
Option 2 needs to include a note about Distribution builds. My app submission was delayed by over a week due to the "invalid binary" error when uploading to iTunes Connect. After a few emails back and forth with Apple's engineering team, including sending them my Xcode project, they were able to isolate the source. I needed to include the following in the Code Signing Resource Rules Path:
$(SDKROOT)/ResourceRules.plist
If this information were included here, I could have saved a week of frustration. Thanks

$(SDKROOT)/ResourceRules.plist 이거만 Code Signing Resource Rules Path에 넣어주면
해결이 되었다...
자세히 보고 써야 하는데
설마 저런 이슈가 있을줄야 애꿎은 인증서랑 Xcode 만 못살게 굴었네 
누군가 도움이 되시길 

댓글 없음:

댓글 쓰기