2012-11-18 66 views
0

我是Xcode的新手,剛剛完成創建我的第一個iPhone應用程序。我現在試圖將它存檔以發佈它。不過,我不斷收到此錯誤:Xcode錯誤-19011

Validate /Users/mannyrothman/Library/Developer/Xcode/DerivedData/LASD_Mobile-avjipewnjellnpgfnksgomejhqim/Build/Intermediates/ArchiveIntermediates/LASDMobile/InstallationBuildProductsLocation/Applications/LASDMobile.app 
    cd "/Users/mannyrothman/Documents/LASD Mobile copy" 
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
    setenv PRODUCT_TYPE com.apple.product-type.application 
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/mannyrothman/Library/Developer/Xcode/DerivedData/LASD_Mobile-avjipewnjellnpgfnksgomejhqim/Build/Intermediates/ArchiveIntermediates/LASDMobile/InstallationBuildProductsLocation/Applications/LASDMobile.app 

Unable to validate your application. - (null)Executable=/Users/mannyrothman/Library/Developer/Xcode/DerivedData/LASD_Mobile-avjipewnjellnpgfnksgomejhqim/Build/Intermediates/ArchiveIntermediates/LASDMobile/InstallationBuildProductsLocation/Applications/LASDMobile.app/LASDMobilecodesign_wrapper-4.1: using Apple CA for profile evaluation/Users/mannyrothman/Library/Developer/Xcode/DerivedData/LASD_Mobile-avjipewnjellnpgfnksgomejhqim/Build/Intermediates/ArchiveIntermediates/LASDMobile/InstallationBuildProductsLocation/Applications/LASDMobile.app: valid on disk/Users/mannyrothman/Library/Developer/Xcode/DerivedData/LASD_Mobile-avjipewnjellnpgfnksgomejhqim/Build/Intermediates/ArchiveIntermediates/LASDMobile/InstallationBuildProductsLocation/Applications/LASDMobile.app: satisfies its Designated Requirementtest-requirement: code failed to satisfy specified code requirement(s)codesign_wrapper-4.1: failed to execute codesign(1) - (null) 
+1

您是否安裝了Apple開發人員帳戶正確提供的證書?似乎無法找到條目。在Xcode中檢查組織者,如果每個證書在它後面都有綠色勾號。 – flashfabrixx

+0

哪些證書? – mannyrothman

+0

請查看關於此主題的有用教程,其中解釋了在手機上獲取應用程序以進行測試並將應用程序發佈到App Store的過程。 http://www.raywenderlich.com/8003/how-to-submit-your-app-to-apple-from-no-account-to-app-store-part-1 – flashfabrixx

回答

0

Screen provided by @fcpwiz

你的屏幕截圖顯示,沒有在Xcode的組織者可分配模式。在Apple Developer Portal中創建配置文件,通過「刷新」下載它們,並確保將您的配置文件用於您所需的操作。