Can';t存档Xcode5中的应用程序:验证错误

Can';t存档Xcode5中的应用程序:验证错误,xcode,Xcode,以前我可以使用Xcode 4进行归档,但当我使用Xcode 5时,它会说: Validate /Users/decky/Library/Developer/Xcode/DerivedData/MegaInsurence-gpczifaskugghlbbvtppfctksyih/Build/Intermediates/ArchiveIntermediates/MegaInsurence/InstallationBuildProductsLocation/Applications/MegaInsur

以前我可以使用Xcode 4进行归档,但当我使用Xcode 5时,它会说:

Validate /Users/decky/Library/Developer/Xcode/DerivedData/MegaInsurence-gpczifaskugghlbbvtppfctksyih/Build/Intermediates/ArchiveIntermediates/MegaInsurence/InstallationBuildProductsLocation/Applications/MegaInsurence.app
    cd "/Users/decky/Documents/ios-project/Mega Insurence"
    setenv PATH "/Users/decky/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Users/decky/Downloads/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    setenv PRODUCT_TYPE com.apple.product-type.application
    /Users/decky/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/decky/Library/Developer/Xcode/DerivedData/MegaInsurence-gpczifaskugghlbbvtppfctksyih/Build/Intermediates/ArchiveIntermediates/MegaInsurence/InstallationBuildProductsLocation/Applications/MegaInsurence.app

2014-01-09 12:34:53.587 Validation[6561:f07] Could not load framework at “file://localhost/Users/decky/Downloads/Xcode.app/Contents/Applications/Application%20Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/” (err = Error Domain=NSCocoaErrorDomain Code=3587 "The bundle “ITunesSoftwareService” couldn’t be loaded because it is damaged or missing necessary resources." (dlopen_preflight(/Users/decky/Downloads/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService): Library not loaded: @rpath/ITunesConnectFoundation.framework/Versions/A/ITunesConnectFoundation
  Referenced from: /Users/decky/Downloads/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService
  Reason: image not found) UserInfo=0x7fcb3ae148b0 {NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/decky/Downloads/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService, NSDebugDescription=dlopen_preflight(/Users/decky/Downloads/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService): Library not loaded: @rpath/ITunesConnectFoundation.framework/Versions/A/ITunesConnectFoundation
  Referenced from: /Users/decky/Downloads/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService
  Reason: image not found, NSBundlePath=/Users/decky/Downloads/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework, NSLocalizedDescription=The bundle “ITunesSoftwareService” couldn’t be loaded because it is damaged or missing necessary resources.})
error: Application validati

有人能告诉你出了什么问题吗?

看起来你的Xcode安装有问题,你是尝试通过应用商店下载Xcode还是从其他地方下载的?似乎是这样,我重新下载Xcode并重新安装,现在已经修复了,谢谢