1

我正在尝试将 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

clang:错误:不支持'-I-',请改用-iquote 命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang 失败,退出代码为 1

4

0 回答 0