我正在使用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 Objective-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 -iquote“/ Users / ryanpoolos / Desktop / Open Source iPhone / lifengtian-catchcat-f3d5f20 /建造/ catchcat.build /调试-iphonesimulator / catchcat.build / catchcat生成-files.hmap” “-I /用户/ ryanpoolos /桌面/开放 资源 iPhone / lifengtian-catchcat-f3d5f20 /编译/ catchcat.build /调试-iphonesimulator / catchcat.build / catchcat-自己的目标,headers.hmap” “-I /用户/ ryanpoolos /桌面/开放 资源 iPhone / lifengtian-catchcat-f3d5f20 /编译/ catchcat.build /调试-iphonesimulator / catchcat.build / catchcat-所有目标headers.hmap” -iquote“/ Users / ryanpoolos / Desktop / Open Source iPhone / lifengtian-catchcat-f3d5f20 /编译/ catchcat.build /调试-iphonesimulator / catchcat.build / catchcat项目,headers.hmap” “-F /用户/ ryanpoolos /桌面/开放 资源 iPhone / lifengtian-catchcat-f3d5f20 /编译/调试,iphonesimulator” “-I /用户/ ryanpoolos /桌面/开放 资源 iPhone / lifengtian-catchcat-f3d5f20 /编译/调试-iphonesimulator /包括” “-I /用户/ ryanpoolos /桌面/开放 资源 iPhone / lifengtian-catchcat-f3d5f20 /编译/ catchcat.build /调试-iphonesimulator / catchcat.build / DerivedSources / I386" “-I /用户/ ryanpoolos /桌面/开放 资源 iPhone / lifengtian-catchcat-f3d5f20 /编译/ catchcat.build /调试-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:警告:'-x objective-c-header'之后 最后一个输入文件无效 i686-apple-darwin10-gcc-4.2.1:没有输入文件 Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 退出代码1失败
帮助我任何人?
答案 0 :(得分:0)
听起来某些地方没有正确引用你路径中的空格。尝试将OPen Source iPhone
重命名为OpenSourceIPhone
或其他内容。
愚蠢,我知道,但偶尔也会出现单因型。
答案 1 :(得分:0)
如果项目的任何配置列表中都有空行,则会发生这种情况。例如,在用户定义或包含路径中。