2011-10-02 43 views
0

嘗試構建iOS應用程序時,我收到警告「應用程序驗證已被跳過」,並且Application Loader拒絕我的二進制文件,因爲代碼簽署步驟失敗。我從來沒有在使用Xcode 3構建和提交時遇到任何問題。這是我第一次嘗試使用Xcode 4進行構建和提交。我不知道「ITunesSoftwareService」框架是什麼,我也沒有明確地將它用在任何地方。我有點困惑 - 任何幫助,將不勝感激。以下是完整的生成日誌:由於「軟件包」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. 

回答

2

好像/Developer/Applications/Utilities/Application Loader.app應用程序安裝的Xcode時被破壞。我的建議是卸載/重新安裝Xcode。應用程序加載器應用程序是驗證和提交應用程序到蘋果進行審查所必需的。

如果您使用的是Xcode 4.2 dev預覽版,您也可以嘗試安裝新的iTunes Beta 7/8,該預覽版可能包含一些您所缺少的必需庫。

+0

是的,工作。 – Luke

相關問題