[英]Xcode 4.2 - certificates ok, but “There is no codesign_wrapper executable. Please reinstall the Xcode developer tools.” appears
我在XCode 4.2中的select "Build to Archive",出現如下錯誤:
Validate "/Users/merlin/Motivapps/DerivedData/GoalWorkshop2-gzesusxljzqjkmbznfkkmylstlca/ArchiveIntermediates/GoalWorkshop2/InstallationBuildProductsLocation/Applications/Goal Wshop.app"
cd /Users/merlin/Motivapps/GoalWorkshop2
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/merlin/Motivapps/DerivedData/GoalWorkshop2-gzesusxljzqjkmbznfkkmylstlca/ArchiveIntermediates/GoalWorkshop2/InstallationBuildProductsLocation/Applications/Goal Wshop.app"
2011-06-10 17:10:48.879 Validation[15683:607] *** Warning: Defaulting to the standard codesign tool
warning: There is no codesign_wrapper executable. Please reinstall the Xcode developer tools. (-19058)
Unable to validate your application. - (null)
相同的配置與以前的 XCode 配合良好,我只是仔細檢查了 - 代碼簽名證書是有效的。 建議?
只需像這樣更改您選擇的 Xcode 版本:
$ xcode-select -print-path /Xcode42 $ sudo xcode-select -switch /Xcode402 Password: $ xcode-select -print-path /Xcode402
我找到的唯一解決方案是從系統中刪除 XCode 4.2beta,然后重新安裝以前的版本 - 它有幫助。 我猜 Beta 版本並不意味着構建發布版本。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.