命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang在iPhone中失败,退出代码为1

命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang在iPhone中失败,退出代码为1,iphone,objective-c,facebook,ios5,exit-code,Iphone,Objective C,Facebook,Ios5,Exit Code,我正在尝试将Facebook集成到我的应用程序中。将FBconnect文件复制到我的应用程序并运行它时,我的应用程序会显示上述错误。如果删除FBconnet文件,则应用程序没有错误。有什么问题 上面显示的错误是: ProcessPCH /Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/PrecompiledHeaders/fExample

我正在尝试将Facebook集成到我的应用程序中。将FBconnect文件复制到我的应用程序并运行它时,我的应用程序会显示上述错误。如果删除FBconnet文件,则应用程序没有错误。有什么问题

上面显示的错误是:

ProcessPCH /Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/PrecompiledHeaders/fExample2-Prefix-dgpfiszavygwrjgnbbtfhrwetzpp/fExample2-Prefix.pch.pth fExample2/fExample2-Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/patrontechnosoft/Desktop/fExample2
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/clang -x objective-c-header -arch i386 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wmissing-prototypes -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -DDEBUG=1 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -D__IPHONE_OS_VERSION_MIN_REQUIRED=30200 -iquote /Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/Intermediates/fExample2.build/Debug-iphonesimulator/fExample2.build/fExample2-generated-files.hmap -I/Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/Intermediates/fExample2.build/Debug-iphonesimulator/fExample2.build/fExample2-own-target-headers.hmap -I/Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/Intermediates/fExample2.build/Debug-iphonesimulator/fExample2.build/fExample2-all-target-headers.hmap -iquote /Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/Intermediates/fExample2.build/Debug-iphonesimulator/fExample2.build/fExample2-project-headers.hmap -I/Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/Products/Debug-iphonesimulator/include -I/Users/patrontechnosoft/Desktop/New -IGMAT -I- -IPractice/facebook-iphone-sdk/src -I/Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/Intermediates/fExample2.build/Debug-iphonesimulator/fExample2.build/DerivedSources/i386 -I/Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/Intermediates/fExample2.build/Debug-iphonesimulator/fExample2.build/DerivedSources -F/Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/Products/Debug-iphonesimulator -c /Users/patrontechnosoft/Desktop/fExample2/fExample2/fExample2-Prefix.pch -o /Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/PrecompiledHeaders/fExample2-Prefix-dgpfiszavygwrjgnbbtfhrwetzpp/fExample2-Prefix.pch.pth -MMD -MT dependencies -MF /Users/patrontechnosoft/Library/Developer/Xcode/DerivedData/fExample2-hazidfxqkfibktcxoeovnngtzsxo/Build/PrecompiledHeaders/fExample2-Prefix-dgpfiszavygwrjgnbbtfhrwetzpp/fExample2-Prefix.pch.d
叮当声:错误:'-I-'不受支持,请改用-iNote
Command/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang失败,退出代码为1

,没有看到确切的错误消息(显示在上面),可能还有相关代码,无法知道。您可能希望升级到新版本的Xcode。再多一点信息也不会有什么坏处…@Mat@Stephen Darlington请现在检查错误…这可能会有帮助(通过简单的谷歌搜索找到),但我的应用程序仍然显示相同的错误