“已跳过”应用程序验证“,因为”无法加载“ITunesSoftwareService”软件包“

时间:2011-10-02 04:40:44

标签: ios frameworks xcode4 itunesconnect application-loader

尝试构建iOS应用程序时,我收到警告“已跳过应用程序验证”,并且Application Loader拒绝我的二进制文件,因为代码签名步骤失败。我从未在使用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.

1 个答案:

答案 0 :(得分:2)

似乎/Developer/Applications/Utilities/Application Loader.app安装Xcode时应用程序已损坏。我的建议是卸载/重新安装Xcode。 Application Loader应用程序是验证Apple应用程序并将其提交给Apple进行审核所必需的。

如果你使用的是Xcode 4.2 dev预览版,你也可以尝试安装新的iTunes Beta 7/8,它可能包含你缺少的一些必需的库。