Xcode 5 - Can no longer validate archives

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 05:39:04

问题


I upgraded from Xcode 4 to 5 and I can no longer validate archives created for Ad-Hoc distribution.

After creating an archive, I hit Validate, log into iTunes Connect (as prompted) and get the error "No identities are available for signing":

If I click 'Download Identities...' then pick my team name (me) it just takes me back to this error prompt.

Specifics

  • I have created and signed an Ad Hoc distribution profile called 'survey_dist_9'
  • The Code Signing settings in my Target look like this, although I have tried many combinations of these profiles:

  • My unchanged, existing project that worked fine in Xcode 4 no longer works in Xcode 5. I validated 15 versions of my app without fail before upgrading to XCode 5.

  • In My Xcode organizer it shows no provisioning profiles except under my iPad device. Has this changed since Xcode 4? (Sure they used to be there)

There are similar sounding questions here but the solutions I've found are not applicable.

No crashes are occurring as described in similar sounding questions. I can distribute as Ad Hoc. The problem is we're using Ad Hoc as a production solution (distributing an in-house app to a small company) so I'm reticent to skip the Validation process.

Any suggestions?


回答1:


Make sure that the bundle identifier in Xcode matches your App's bundle ID in iTunes connect.




回答2:


Here you go, follow the screens below, it should help you..

And yes they have removed Profiles from Organizers, instead you can use iPhone Configuration Tool.

Hope it helps..

Cheers




回答3:


It looks like Apple disabled the ability to validate with just an ad hoc provisioning profile in XCode 5.

If you wish to validate an app that is intended only for Ad Hoc distribution, you must also have an App Store provisioning profile for the app too, against which to validate it.



来源:https://stackoverflow.com/questions/19822101/xcode-5-can-no-longer-validate-archives

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!