0

我正在使用 Xcode 3.2.3 和 iOS 4.0.1,我已经下载了一个开源 iPhone 游戏来学习,但没有编辑任何东西我试图在模拟器中运行它,它会抛出这个错误消息:

    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 "/Users/ryanpoolos/Desktop/Open Source iPhone/lifengtian-catchcat-f3d5f20" setenv LANG en_US.US-ASCII setenv PATH "/Developer/Platforms /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 -我引用 ”/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/catchcat-generated-files.hmap" "-I/Users/ryanpoolos/Desktop/打开源码iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/catchcat-own-target-headers.hmap""-I/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat -f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/catchcat-all-target-headers.hmap"-iquote"/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/catchcat .build/Debug-iphonesimulator/catchcat.build/catchcat-project-headers.hmap" "-F/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/Debug-iphonesimulator" "-I/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/Debug-iphonesimulator/include“-I/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/catchcat .build/Debug-iphonesimulator/catchcat.build/DerivedSources/i386" "-I/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources " -c "/Users/ryanpoolos/Desktop/开源 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-I/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources/i386" "-I/Users/ryanpoolos/Desktop/开源iPhone /lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources" -c "/Users/ryanpoolos/Desktop/开源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-I/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources/i386" "-I/Users/ryanpoolos/Desktop/开源iPhone /lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources" -c "/Users/ryanpoolos/Desktop/开源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-I/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources" -c "/Users/ryanpoolos/Desktop/开源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-I/Users/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources" -c "/Users/ryanpoolos/Desktop/开源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: 警告: '-x objective-c-header' 在最后一个输入文件后没有效果 i686-apple -darwin10-gcc-4.2.1:没有输入文件命令 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 失败,退出代码为 1

帮帮我吗?

4

2 回答 2

0

如果您在项目的任何配置列表中有一个空行,就会发生这种情况。例如在用户定义或包含路径中。

于 2011-05-14T14:33:03.723 回答
0

听起来某处没有正确引用路径中的空格。尝试重命名为什么OPen Source iPhoneOpenSourceIPhone

愚蠢,我知道,但偶尔会出现unixisms。

于 2010-07-19T23:15:25.533 回答