Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone gcc-4.2失败,Xcode中的退出代码为1_Iphone_Xcode_Sdk_Build_Xcode3.2 - Fatal编程技术网

Iphone gcc-4.2失败,Xcode中的退出代码为1

Iphone gcc-4.2失败,Xcode中的退出代码为1,iphone,xcode,sdk,build,xcode3.2,Iphone,Xcode,Sdk,Build,Xcode3.2,我正在使用Xcode 3.2.3和iOS 4.0.1,我下载了一个开源的iPhone游戏来学习,但没有编辑任何内容,我试图在模拟器中运行它,它会抛出以下错误消息: catchcat_前缀.pch正常i386 语言 com.apple.compilers.gcc.4_2 cd/用户/ryanpoolos/桌面/开源 iPhone/lifengtian-catchcat-f3d5f20 setenv LANG en_US.US-ASCII setenv PATH/Developer/Platform

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

catchcat_前缀.pch正常i386 语言 com.apple.compilers.gcc.4_2 cd/用户/ryanpoolos/桌面/开源 iPhone/lifengtian-catchcat-f3d5f20 setenv LANG en_US.US-ASCII setenv PATH/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/bin:/usr/sbin:/sbin /开发者/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变量-D_IPHONE_OS_VERSION_MIN_REQUIRED=30200-isysroot/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk -fvisibility=hidden-mmacosx版本min=10.5-gdwarf-2-fobjc abi版本=2-fobjc遗留调度-iNote/Users/ryanpoolos/Desktop/Open Source iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/catchcat-generated-files.hmap -I/Users/ryanpoolos/Desktop/Open 来源 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/Debug-iphonesimulator/catchcat.build/catchcat-all-target-headers.hmap -iNote/Users/ryanpoolos/Desktop/opensource iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/catchcat-project-headers.hmap -F/Users/ryanpoolos/Desktop/Open 来源 iPhone/lifengtian-catchcat-f3d5f20/构建/调试iPhone模拟器 -I/Users/ryanpoolos/Desktop/Open 来源 iPhone/lifengtian-catchcat-f3d5f20/构建/调试iPhone模拟器/包括 -I/Users/ryanpoolos/Desktop/Open 来源 iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources/i386 -I/Users/ryanpoolos/Desktop/Open 来源 iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources -c/Users/ryanpoolos/Desktop/opensource iPhone/lifengtian-catchcat-f3d5f20/catchcat_Prefix.pch-o/var/folders/-r/-r6hd0ceasnogybu9kslk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/catchcat_Prefix-crjsognppahnfvinmsqvdioie/catch_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


有人帮我吗?

听起来好像有什么地方没有正确引用您路径中的空格。尝试将开源iPhone重命名为OpenSourceIPhone或其他


愚蠢,我知道,但偶尔unixisms会悄悄通过。

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

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