2010-06-17 48 views
0

感謝zoul分享他的openal avaudioplayer替代品!它正是我需要的,Finch演示版的發佈版本以GCC錯誤結尾

我的繼承人的問題..我不能建立一個分佈構建W/O得到 一般GCC-4.2失敗,錯誤代碼1,

我建立了雀演示項目中我的代碼和認爲它可能是我做過的 。

,所以我重新下載演示...複製發行,改名分佈 和同樣的事情...

知道缺什麼IM?

謝謝!


內置乾淨雀演示的設備3.0分發, 它爲設備調試,所以我想代碼簽名是確定

- 這裏是錯誤代碼:

ProcessPCH /var/folders/vB/vBGLPzEOHIaZaBe67EuRZU+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/Demo_Prefix-dhjhmgdrpwujnmakgukffcldlmim/Demo_Prefix.pch.gch Demo_Prefix.pch normal armv6 objective-c com.apple.compilers.gcc.4_2 
cd /Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo 
setenv LANG en_US.US-ASCII 
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x objective-c-header -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk -fvisibility=hidden -gdwarf-2 -mthumb -miphoneos-version-min=3.1.3 -iquote /Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/Demo-generated-files.hmap -I/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/Demo-own-target-headers.hmap -I/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/Demo-all-target-headers.hmap -iquote /Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/Demo-project-headers.hmap -F/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Release-iphoneos -I/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Release-iphoneos/include -I/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/DerivedSources/armv6 -I/Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/build/Demo.build/Release-iphoneos/Demo.build/DerivedSources -c /Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/Demo_Prefix.pch -o /var/folders/vB/vBGLPzEOHIaZaBe67EuRZU+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/Demo_Prefix-dhjhmgdrpwujnmakgukffcldlmim/Demo_Prefix.pch.gch 

arm-apple-darwin10-gcc-4.2.1: /Users/giles73/Downloads/zoul-Finch-a97b909-1/Demo/Demo_Prefix.pch: No such file or directory 
arm-apple-darwin10-gcc-4.2.1: warning: '-x objective-c-header' after last input file has no effect 
arm-apple-darwin10-gcc-4.2.1: no input files 
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 

回答

0

啊哈,我錯誤,這是一個錯誤。發佈構建模式中錯誤的前綴頭部設置。修正了,謝謝。修復您的項目:右鍵單擊您的目標,選擇獲取信息,切換到生成選項卡,將配置設置爲所有配置,搜索前綴頭並將其設置爲prefix.pch

+0

謝謝我?哈!榮耀上帝爲你的幫助brotha! – rowdyruckus 2010-06-17 17:37:40