我真的在这个非常恼人的问题上拉我的头发, 我通常为App Store构建新的应用程序没有问题,但这次它只是没有工作。iOS应用程序失败的代码签名验证。 codesign_wrapper-0.7.10:无法从
奇怪的是,当我刚做“打造”的“释放”,它的工作原理没有问题,但是当我做“存档”的“释放”,它显示了以下错误
warning: Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011) Executable=/Users/freak4pc/Library/Developer/Xcode/DerivedData/MyApp-atlgyhqdbhtnxvdnpfikhboujfpu/Build/Intermediates/ArchiveIntermediates/MyApp/InstallationBuildProductsLocation/Applications/MyApp.app/MyApp AssertMacros: message, file: codesign_wrapper.c, line: 554 AssertMacros: profile, file: codesign_wrapper.c, line: 918 codesign_wrapper-0.7.10: Failed to load provision profile from: /Users/freak4pc/Library/Developer/Xcode/DerivedData/MyApp-atlgyhqdbhtnxvdnpfikhboujfpu/Build/Intermediates/ArchiveIntermediates/MyApp/InstallationBuildProductsLocation/Applications/MyApp.app/embedded.m - (null)
我的配置文件应该完美运行,因为组织者也认为它是有效的。 My Entitlements只有一个get-task-allow设置为NO值,我总是在成功构建时使用它。
我已经试过除了删除我的钥匙和重新创建它们,我宁愿不这样做 - 因为这是唯一的应用程序,我有问题的建设。
尝试:
1. Recreating the Entitlements
2. Redownloading the Provisioning profile
3. Do a complete clean including Clean Build Folder
4. Edit the pbxproj file and clearing all the entielements and signing option and re-setting them
什么我失踪?
您正在使用哪种Xcode版本? – Till 2012-03-25 14:46:55
4.3.1,奇怪的是我昨天刚刚建立了3个应用程序,没有问题,这只是我们构建的一个旧应用程序的一部分,所以也许一些配置在途中被破坏... – 2012-03-25 14:47:43
对于旧的Xcode项目,它有时有助于删除用户特定的构建设置(xcodeproj-bundle中具有用户名的所有内容)。 – Till 2012-03-25 14:56:35