2012-11-19 70 views
1

您能幫我一下嗎?將ARMv6體系結構添加到使用Xcode 4.5構建的iOS可執行文件的腳本錯誤

如果我使用下面的腳本:

# Find the common base directory for both build 
XCODE_BUILD=${BUILD_ROOT%%/Build*} 
# Change this to the full path where Xcode 4.4 (or below) puts your armv6 output, using the previously derived base 
export ARMV6_EXECUTABLE_PATH="$XCODE_BUILD/Build/Products/Release_armv6-iphoneos/$EXECUTABLE_PATH" 

然後構建失敗,消息如下:

Missing }. 
Command /bin/sh failed with exit code 1 

我做錯了嗎?

感謝您的幫助。

回答

0

我解決了我的錯誤。

所以如果你從下一行改變上面的行,你的應用程序可以建立,也可以存檔。

# Find the common base directory for both build 
setenv XCODE_BUILD `echo $BUILD_ROOT| sed 's|Build.*||'` 
echo $XCODE_BUILD 
# Change this to the full path where Xcode 4.4 (or below) puts your armv6 output, using the previously derived base 
setenv ARMV6_EXECUTABLE_PATH "$XCODE_BUILD/Build/Products/Release_armv6-iphoneos/$EXECUTABLE_PATH" 
相關問題