2009-09-06 106 views
0

我沒有更多的頭髮要拉。任何幫助非常感謝!升級到Snow Leopard和iPhone SDK 3.0後無法編譯/編碼Snow Leopard

配置文件設置爲Distribution,Device 2.2.1 Distribution,就像過去一樣。

構建失敗,此錯誤: 命令失敗,退出代碼爲-1

下段在生成結果突出顯示。

ProcessingProductPackaging /Users/harvey/Documents/iPhone_App_Work/Listening-Hiragana/iPhone_Comprehension_timer_harvey/entitlements.plist "/Users/harvey/Documents/iPhone_App_Work/Listening-Hiragana/iPhone_Comprehension_timer_harvey/build/iPhone_Comprehension.build/Distribution-iphoneos/Kana Listening.build/iPhone_Comprehension.xcent" 
cd /Users/harvey/Documents/iPhone_App_Work/Listening-Hiragana/iPhone_Comprehension_timer_harvey 
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
<com.apple.tools.product-pkg-utility> /Users/harvey/Documents/iPhone_App_Work/Listening-Hiragana/iPhone_Comprehension_timer_harvey/entitlements.plist -entitlements -format xml -o "/Users/harvey/Documents/iPhone_App_Work/Listening-Hiragana/iPhone_Comprehension_timer_harvey/build/iPhone_Comprehension.build/Distribution-iphoneos/Kana Listening.build/iPhone_Comprehension.xcent" 

回答

0

當您安裝雪豹,你還需要安裝雪豹SDK,即使你已經有了最新的豹SDK。

源1:個人經驗
源2:http://blog.chomperstomp.com/「命令失敗,有退出代碼-1」誤差 - 當編譯-iphone應用程序內換設備-3-0-發佈版本/