首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >gcc-4.2在Xcode中退出代码1失败

gcc-4.2在Xcode中退出代码1失败
EN

Stack Overflow用户
提问于 2010-07-19 22:22:22
回答 2查看 1.7K关注 0票数 0

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

"/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin“/Developer/Platforms/iPhoneSimulator.platform/

ProcessPCH /var/folders/-r/-r6hd0CEEASnoGYBU9KSlk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/catchcat\_Prefix-crjsognppahnfgdfvinmsqvdioie/catchcat\_Prefix.pch.gch catchcat_Prefix.pch normal i386 Users c com.apple.compilers.gcc.4_2 cd”/User/ryanpoolos/Desktop/Open/lifengtian-捕手猫-f3d5f20“setenv LANG en_us.us-ascisetenv PATH /Developer/Platforms/iPhoneSimulator.platform/开发人员/usr/bin/gcc-4.2 -x -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs fpascal-strings fasm块-O0 -legacy type-w未使用-变量-D__IPHONE_OS_VERSION_MIN_REQUIRED=30200 -isysroot -D__IPHONE_OS_VERSION_MIN_REQUIRED=30200 -fvisibility=hidden -mmacosx-version-min=10.5 -g侏儒-2-fobjc-abi-版本=2-fobjc-旧式-分派-iquote“/ryanpoolos/桌面/开源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/捕手猫-所有目标-Open“-iquote”/-iquote/ryanpoolos/Desktop/开源iPhone/lifengtian-catchcat-f3d5f20/build/Debug-iphonesimulator/include“”-F/User/ryanpoolos/Desktop/Open iPhone/lifengtian-catchcat-f3d5f20/build/Debug-iphonesimulator“”-i/Users/ryanpoolos/Desktop/iPhone/lifengtian-catchcat-f3d5f20/build/Debug-iphonesimulator/include““-I/User/ryanpoolos/Desktop/Open iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources/i386”“-I/User/ryanpoolos/Desktop/ iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources”开放源码-c“/User/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 10-gcc-4.2.1:/Users/ryanpoolos/Desktop/开放源码

没有这样的文件或目录i 686-apple-darwin10 10-gcc-4.2.1:警告:'-x目标-c-头‘在上次输入文件后没有任何效果i 686-apple-darwin10-gcc-4.2.1:没有输入文件命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2在退出代码1中失败

有人帮我吗?

EN

回答 2

Stack Overflow用户

发布于 2010-07-19 23:15:25

听起来好像某个地方没有恰当地引用你道路上的空格。尝试将OPen Source iPhone重命名为OpenSourceIPhone之类的。

我知道,很傻,但偶尔也会出现一元论。

票数 0
EN

Stack Overflow用户

发布于 2011-05-14 14:33:03

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/3285561

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档