我在嘗試構建我的OCLint聚合時收到下面的錯誤。 我們在工作區內使用了預編譯頭文件,儘管它們在主目標和OCLint聚合中被引用爲 ,但出於某種原因, OCLint聚合無法發現該pch。 這就是爲什麼找不到「CocoaLumberjack/CocoaLumberjack.h」依賴項。OCLint無法發現預編譯的工作區/項目標題
我在OXS 10.11.1下運行XCode 7.1.1 任何建議,非常感謝。
* ===構建目標[目標]的項目[項目]通過對配置進行調試=== 檢查相關 ProcessPCH /var/folders/nv/y04q5c5s30567pk7w8lts7zr0000gn/C/com.apple.DeveloperTools/7.1.1- 7B1005/Xcode/7.1.1-7B1005/Xcode/SharedPrecompiledHeaders/[Project] -Prefix-canqfypuftycqgglhiqfotrflhkv/[Project] -Prefix.pch.pch [Project]/[Project] -Prefix.pch normal armv7 objective-c com.apple .compilers.llvm.clang.1_0.compiler CD /Users/.../Dev/Applications/[Project] 出口LANG = en_US.US-ASCII 出口
PATH =「/應用/ Xcode.app /Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applica蒸發散/ Xcode.app /內容/開發人員的/ usr/bin中:/用戶/.../ StaticCodeAnalysis/OBJ-C/OCLint/oclint-0.8.1/bin中:/Applications/Xcode.app/Contents/Developer/Toolchains/ XcodeDefault.xctoolchain在/ usr/bin中:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/斌:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/應用程序/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local /bin:/Applications/Xcode.app/Contents/Developer/Tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin「
: : /Users/.../Dev/Applications/[Project]/[Project]/[Project]-Prefix.pch:16:9:fatal error:'CocoaLumberjack/CocoaLumberjack.h'file not found [#:進口]
^
生成1個錯誤。 **建立失效** [項目]
以下製作命令失敗: ProcessPCH /var/folders/nv/y04q5c5s30567pk7w8lts7zr0000gn/C/com.apple.DeveloperTools/7.1.1-7B1005/Xcode/7.1。 1-7B1005/Xcode/SharedPrecompiledHeaders/[Project] -Prefix-canqfypuftycqgglhiqfotrflhkv/[Project] -Prefix.pch.pch [Project]/[Project] -Prefix.pch normal armv7 objective-c com.apple.compilers.llvm.clang .1_0.compiler (1次失敗)*