2010-07-19 38 views
0

我正在使用Xcode 3.2.3和iOS 4.0.1,並且我已經下載了一個開源的iPhone遊戲來學習,但沒有編輯任何東西,我試圖在模擬器和它引發此錯誤消息:gcc-4.2在Xcode中退出代碼1失敗

ProcessPCH /var/folders/-r/-r6hd0CEEASnoGYBU9KSlk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/catchcat_Prefix-crjsognppahnfgdfvinmsqvdioie/catchcat_Prefix.pch.gch 

catchcat_Prefix.pch正常I386 目標c com.apple.compilers.gcc.4_2 CD「/用戶/ ryanpoolos /桌面/開源 iPhone/lifengtian-catchcat-f3d5f20「 setenv LANG en_US.US-ASCII setenv PATH」/ Developer/P latforms/iPhoneSimulator.platform/Developer/usr/bin:/ Developer/usr/bin:/ usr/bin:/ bin:/ usr/sbin:/ sbin「 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin /gcc-4.2 -x objective-c-header -arch i386 -fmessage-length = 0 -pipe -std = c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable - D__IPHONE_OS_VERSION_MIN_REQUIRED = 30200 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk -fvisibility = hidden -mmacosx-version-min = 10.5 -gdwarf-2 -fobjc-abi-version = 2 -fobjc -legacy-dispatch -iquote「/ Users/ryanpoolos/Desktop/Open Source 」 -- 我/用戶/ ryanpoolos /桌面/打開 來源 iPhone /lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/catchcat-own-target-headers.hmap「 」-I/Users/ryanpoolos/Desktop/Open 來源 iPhone/lifengtian- catchcat-f3d5f20/build/catchcat.build /調試-iphonesimulator/catchcat.build/catchcat-all-target-headers.hmap「 -iquote」/ Users/ryanpoolos/Desktop/Open Source iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/catchcat-project-headers.hmap「 」-F/Users/ryanpoolos/Desktop/Open 來源 iPhone/lifengtian-catchcat-f3d5f20/build/Debug-iphonesimulator 「 」-I/Users/ryanpoolos/Desktop/Open 來源 iPhone/lifengtian-catchcat-f3d5f20/build/D ebug-iphonesimulator/include「 」-I/Users/ryanpoolos/Desktop/Open 來源 iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources/i386「 」 iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources「 -c」/ Users/ryanpoolos/Desktop/Open Source iPhone/lifengtian-catchcat-f3d5f20/catchcat_Prefix.pch「-o /var/folders/-r/-r6hd0CEEASnoGYBU9KSlk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/catchcat_Prefix-crjsognppahnfgdfvinmsqvdioie/catchcat_Prefix.pch .gch

i686-apple-darwin10-gcc-4.2.1: /Users/ryanpoolos/Desktop/Open Source 

iPhone/lifengtian-catchcat-f3d5f20/catchcat_Prefix.pch:沒有這樣的文件或目錄 i686-apple-darwin10-gcc-4.2.1:warning:'-x objective-c-header' 最後一個輸入文件有沒有效果 的i686-蘋果darwin10-GCC-4.2.1:沒有輸入文件 命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 失敗,退出代碼1

幫助我解決任何人?

回答

0

聽起來像某處某處不適當地引用您的路徑中的空間。嘗試將OPen Source iPhone重命名爲OpenSourceIPhone什麼的。

傻,我知道,但偶爾unixisms蠕動通過。

0

如果項目的任何配置列表中有空行,就會發生這種情況。例如在用戶定義或包含路徑。