“跳过应用程序验证”因为“捆绑包‘iTunesSoftwareService’”无法加载”
尝试构建 iOS 应用程序时,我收到警告“跳过应用程序验证”,并且应用程序加载器拒绝我的二进制文件,因为代码签名步骤失败。我在使用 Xcode 3 构建和提交时从未遇到过任何问题。这是我第一次尝试使用 Xcode 4 构建和提交。我不知道“ITunesSoftwareService”框架是什么,也没有在任何地方明确使用它。我有点困惑 - 任何帮助将不胜感激。这是完整的构建日志:
Validate "/Users/lukebradford/Library/Developer/Xcode/DerivedData/Random_Acts_of_Haiku-fbxqwasqdxqcoofxwybyjbxiuwvp/Build/Products/Release-iphoneos/Random Acts of Haiku.app"
cd "/Users/lukebradford/Documents/My Apps/Random Acts of Haiku"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PRODUCT_TYPE com.apple.product-type.application
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation "/Users/lukebradford/Library/Developer/Xcode/DerivedData/Random_Acts_of_Haiku-fbxqwasqdxqcoofxwybyjbxiuwvp/Build/Products/Release-iphoneos/Random Acts of Haiku.app"
2011-10-02 00:34:21.486 Validation[73657:607] Could not load framework at “file://localhost/Developer/Applications/Utilities/Application%20Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/” (err = Error Domain=NSCocoaErrorDomain Code=3587 UserInfo=0x200033ec0 "The bundle “ITunesSoftwareService” couldn’t be loaded because it is damaged or missing necessary resources." (dlopen_preflight(/Developer/Applications/Utilities/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService): Library not loaded: @rpath/ITunesConnectFoundation.framework/Versions/A/ITunesConnectFoundation
Referenced from: /Developer/Applications/Utilities/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService
Reason: image not found))
warning: Application validation was skipped.
Trying to build an iOS app, I get the warning "Application validation was skipped," and the Application Loader rejects my binary because the code signing step has failed. I never had any problems building and submitting with Xcode 3. This is my first time attempting to build and submit with Xcode 4. I don't know what the "ITunesSoftwareService" framework is and I don't explicitly use it anywhere. I'm a bit baffled - any help would be appreciated. Here is the full build log:
Validate "/Users/lukebradford/Library/Developer/Xcode/DerivedData/Random_Acts_of_Haiku-fbxqwasqdxqcoofxwybyjbxiuwvp/Build/Products/Release-iphoneos/Random Acts of Haiku.app"
cd "/Users/lukebradford/Documents/My Apps/Random Acts of Haiku"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PRODUCT_TYPE com.apple.product-type.application
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation "/Users/lukebradford/Library/Developer/Xcode/DerivedData/Random_Acts_of_Haiku-fbxqwasqdxqcoofxwybyjbxiuwvp/Build/Products/Release-iphoneos/Random Acts of Haiku.app"
2011-10-02 00:34:21.486 Validation[73657:607] Could not load framework at “file://localhost/Developer/Applications/Utilities/Application%20Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/” (err = Error Domain=NSCocoaErrorDomain Code=3587 UserInfo=0x200033ec0 "The bundle “ITunesSoftwareService” couldn’t be loaded because it is damaged or missing necessary resources." (dlopen_preflight(/Developer/Applications/Utilities/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService): Library not loaded: @rpath/ITunesConnectFoundation.framework/Versions/A/ITunesConnectFoundation
Referenced from: /Developer/Applications/Utilities/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService
Reason: image not found))
warning: Application validation was skipped.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎
/Developer/Applications/Utilities/Application Loader.app
应用程序在安装 Xcode 时已损坏。我的建议是卸载/重新安装 Xcode。应用程序加载器应用程序是验证应用程序并将其提交给 Apple 进行审核所必需的。如果您使用 Xcode 4.2 开发预览版,您还可以尝试安装新的 iTunes Beta 7/8,其中可能包含一些您缺少的必需库。
Seems like the
/Developer/Applications/Utilities/Application Loader.app
App was corrupted when installing Xcode. My suggestion is to uninstall / reinstall Xcode. The Application Loader app is necessary to validate and submit an App to Apple for review.You can also try installing the new iTunes Beta 7/8 if your using Xcode 4.2 dev preview, that might contain some required libraries that your missing.