문제

TestFlightApp에서 테스트를 위해 내 빌드를 넣으려고합니다.이전 버전의 Xcode에서는 iPA 파일을 만드는 데 사용한 보관 후 "공유"옵션을 볼 수있었습니다.IPA 파일이 TestFlight에 업로드되었으며 모든 것이 예상대로 작동했습니다.Xcode 4.3.1로 업그레이드하면 공유 옵션이 표시되지 않습니다.배포 옵션을 사용하여 IPA를 만들었습니다.그런 다음 IPA를 TestFlight에 업로드하려고 시도했을 때 다음 오류가 발생했습니다.

'유효하지 않은 IPA : 키 com.apple.developer에 대한 값은 프로파일과 바이너리' 사이에 일치하지 않습니다.

누군가가 도움이 될 수 있습니다.

도움이 되었습니까?

해결책

Here is how I fixed it.

com.apple.developer.ubiquity-kvstore-identifier is specifically for iCloud. See iOS Developer Library. So I used the following procedure:

  1. Verify App ID in iOS provisioning Portal iCloud status (mine is enabled)
  2. Removed old entitlements from project (I had manually created them)
  3. Use the Target editor to enable the entitlements (at the bottom of the Target editor window), matching the App ID iCloud setting, added Container and Keychain Access.
  4. Clean and Archive
  5. Select the archive and click on Distribute...
  6. Save for Enterprise or Ad-Hoc Deployment
  7. Select your development code signing identity
  8. Save the bundle to disk - did not check for enterprise
  9. Drag ipa to TestFlightApp.com builds

At this point, TestFlight accepted the bundle and my testers were able to download!

다른 팁

I know an answer has been provided to this question, but looking at the comments (and my own request having sending me here also) it seems that help might be needed to those like @Yuchen or @Kent in the comments that only have two options in the distribute panel ("Submit to the iOS App Store" and "Export as Xcode Archive"), and can't see the "Save for Enterprise or Ad-Hoc Deployment" option.

If your target includes other targets (e.g. libraries), you should put the "Skip Install" flag to YES in the "sub" target Build settings. This will allow yourself to distribute your archive as an IPA file.

More information can be found on this StackOverflow answer.

Hope this will help, Thibault

In Xcode 4.3.1 there is no "share" option in Archives tab of Organizer to create IPA.

Hence to create IPA just click the available "Distribute" option and select Method - "Save for Enterprise or Ad-Hoc Deployment" then we have an option to save the build in IPA format.

See the Attached Screen Shots,

enter image description here

thanks, Naveen Shan

You can use Distribute... and Save for Enterprise or Ad-Hoc Deployment

It is same as the old Share... menu.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top