簡體   English   中英

蘋果llvm 5.1錯誤

[英]apple llvm 5.1 error clang

在構建我的應用程序時,它給我APPLE LLVM 5.1錯誤錯誤的描述如下,

    ProcessPCH /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/PrecompiledHeaders/GoogleAPIParsing-Prefix-gwcwubtrxmgndfbvpagazcbdlfnr/GoogleAPIParsing-Prefix.pch.pch GoogleAPIParsing/GoogleAPIParsing-Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/ankit/Desktop/Projects/GoogleAPIParsing
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/ankit/Library/Developer/Xcode/DerivedData/ModuleCache -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=7.1 -iquote /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/GoogleAPIParsing-generated-files.hmap -I/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/GoogleAPIParsing-own-target-headers.hmap -I/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/GoogleAPIParsing-all-target-headers.hmap -iquote /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/GoogleAPIParsing-project-headers.hmap -I/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/DerivedSources/i386 -I/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/DerivedSources -F/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Products/Debug-iphonesimulator -F/Users/ankit/Documents/FacebookSDK --serialize-diagnostics /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/PrecompiledHeaders/GoogleAPIParsing-Prefix-gwcwubtrxmgndfbvpagazcbdlfnr/GoogleAPIParsing-Prefix.pch.dia -MMD -MT dependencies -MF /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/PrecompiledHeaders/GoogleAPIParsing-Prefix-gwcwubtrxmgndfbvpagazcbdlfnr/GoogleAPIParsing-Prefix.pch.d -c /Users/ankit/Desktop/Projects/GoogleAPIParsing/GoogleAPIParsing/GoogleAPIParsing-Prefix.pch -o /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/PrecompiledHeaders/GoogleAPIParsing-Prefix-gwcwubtrxmgndfbvpagazcbdlfnr/GoogleAPIParsing-Prefix.pch.pch

    GoogleAPIParsing/GoogleAPIParsing-Prefix.pch'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

請幫忙。 提前致謝

我發現我的錯誤,

我不小心刪除了.pch和.plist文件,當我手動添加它時,xcode向我顯示了此錯誤,因此我不得不在我的項目中手動添加這些文件。

在您的項目中可能有“發布”或“保留”,我想您在Xcode項目中使用的是ARC(自動引用計數),但您沒有更改標志。

我也建議您檢查此鏈接; http://blog.evanmulawski.com/?p=36 在此處輸入圖片說明

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM