【发布时间】:2010-07-19 22:22:22
【问题描述】:
我正在使用 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.gchcatchcat_Prefix.pch 正常 i386 目标-c com.apple.compilers.gcc.4_2 cd "/Users/ryanpoolos/Desktop/开源 iPhone/立丰天-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/开源 iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/catchcat-generated-files.hmap" “-I/用户/ryanpoolos/桌面/打开 来源 iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/catchcat-own-target-headers.hmap" “-I/用户/ryanpoolos/桌面/打开 来源 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/用户/ryanpoolos/桌面/打开 来源 iPhone/lifengtian-catchcat-f3d5f20/build/Debug-iphonesimulator" “-I/用户/ryanpoolos/桌面/打开 来源 iPhone/lifengtian-catchcat-f3d5f20/build/Debug-iphonesimulator/include" “-I/用户/ryanpoolos/桌面/打开 来源 iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources/i386" “-I/用户/ryanpoolos/桌面/打开 来源 iPhone/lifengtian-catchcat-f3d5f20/build/catchcat.build/Debug-iphonesimulator/catchcat.build/DerivedSources" -c "/用户/ryanpoolos/桌面/开源 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 SourceiPhone/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 失败
有人帮帮我吗?
【问题讨论】:
标签: iphone xcode sdk build xcode3.2