iOS应用程序验证码验证失败.codesign_wrapper-0.7.10:无法加载配置文件

Sha*_*ali 8 build code-signing ios

我真的很想解决这个非常恼人的问题,我通常会为App Store构建新的应用程序而没有任何问题,但这次它只是起作用.

奇怪的是,当我为"发布"做"构建"时,它没有问题,但是当我为"发布"执行"存档"时,它显示以下错误

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)

我的配置文件应该完美地工作,因为组织者也认为它是有效的.我的权利只有一个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
Run Code Online (Sandbox Code Playgroud)

我错过了什么?

Ric*_*ard 22

最后一行末尾的'embedded.m'应为'embedded.mobileprovision'.它是由超出行长度和命令被截断引起的.

我有同样的问题,并通过缩短应用程序名称解决它.你可能想尝试类似的东西.基本上任何使最后一个命令行更短的东西,所以它不会被截断.

理查德

  • 这是我在Xcode中见过的最愚蠢的错误.非常感谢:) (2认同)