Xcode ProcessPCH iPhone模拟器编译错误

前端之家收集整理的这篇文章主要介绍了Xcode ProcessPCH iPhone模拟器编译错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
ProcessPCH /Users/Greg/Library/Developer/Xcode/DerivedData/Reflect-bliqehhvpcjjkbevedebyovpynnh/Build/PrecompiledHeaders/Reflect_Prefix-gjmfeslmwxdsbnejtxlenykhtzkb/Reflect_Prefix.pch.gch Reflect_Prefix.pch normal armv6 objective-c com.apple.compilers.llvmgcc42
cd /Users/Greg/DropBox/Documents/Personal/Code/Reflect
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/llvm-gcc-4.2 -x objective-c-header -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wmissing-prototypes -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -fexceptions -mmacosx-version-min=10.6 -gdwarf-2 -fvisibility=hidden -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_required=30000 -iquote /Users/Greg/Library/Developer/Xcode/DerivedData/Reflect-bliqehhvpcjjkbevedebyovpynnh/Build/Intermediates/Reflect.build/Debug-iphonesimulator/Reflect.build/Reflect-generated-files.hmap -I/Users/Greg/Library/Developer/Xcode/DerivedData/Reflect-bliqehhvpcjjkbevedebyovpynnh/Build/Intermediates/Reflect.build/Debug-iphonesimulator/Reflect.build/Reflect-own-target-headers.hmap -I/Users/Greg/Library/Developer/Xcode/DerivedData/Reflect-bliqehhvpcjjkbevedebyovpynnh/Build/Intermediates/Reflect.build/Debug-iphonesimulator/Reflect.build/Reflect-all-target-headers.hmap -iquote /Users/Greg/Library/Developer/Xcode/DerivedData/Reflect-bliqehhvpcjjkbevedebyovpynnh/Build/Intermediates/Reflect.build/Debug-iphonesimulator/Reflect.build/Reflect-project-headers.hmap -I/Users/Greg/Library/Developer/Xcode/DerivedData/Reflect-bliqehhvpcjjkbevedebyovpynnh/Build/Products/Debug-iphonesimulator/include -I/Users/Greg/Library/Developer/Xcode/DerivedData/Reflect-bliqehhvpcjjkbevedebyovpynnh/Build/Intermediates/Reflect.build/Debug-iphonesimulator/Reflect.build/DerivedSources/armv6 -I/Users/Greg/Library/Developer/Xcode/DerivedData/Reflect-bliqehhvpcjjkbevedebyovpynnh/Build/Intermediates/Reflect.build/Debug-iphonesimulator/Reflect.build/DerivedSources -F/Users/Greg/Library/Developer/Xcode/DerivedData/Reflect-bliqehhvpcjjkbevedebyovpynnh/Build/Products/Debug-iphonesimulator -c /Users/Greg/DropBox/Documents/Personal/Code/Reflect/Reflect_Prefix.pch -o /Users/Greg/Library/Developer/Xcode/DerivedData/Reflect-bliqehhvpcjjkbevedebyovpynnh/Build/PrecompiledHeaders/Reflect_Prefix-gjmfeslmwxdsbnejtxlenykhtzkb/Reflect_Prefix.pch.gch

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 Failed with exit code 255

有谁知道为什么会这样?我在编译模拟器时遇到这个错误,并且它是特定于项目的(我尝试了另一个项目并且它有效),所以我的项目设置可能有问题.谁知道到底是什么?

解决方法

解决了这个问题.我将架构改为标准(armv6 armv7),而不仅仅是armv6 armv7.
原文链接:https://www.f2er.com/iOS/328068.html

猜你在找的iOS相关文章