Command /Users/Shared/BQSobfuscator4/bin/clang failed with exit code 1

CompileC /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Intermediates.noindex/zhifuERP.build/Debug-iphoneos/zhifuERP.build/Objects-normal/arm64/MyBottomView.o zhifuERP/Home/Controller/FaceCer/View/MyBottomView.mm normal arm64 objective-c++ com.apple.compilers.llvm.obfuscator.1_0
    cd /Users/asiazhang/Desktop/智富ERP_1_29
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Users/Shared/BQSobfuscator4/bin/clang -x objective-c++ -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu++11 -stdlib=libc++ -fobjc-arc -fmodules -fmodules-cache-path=/Users/asiazhang/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/asiazhang/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -miphoneos-version-min=8.0 -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -iquote /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Intermediates.noindex/zhifuERP.build/Debug-iphoneos/zhifuERP.build/zhifuERP-generated-files.hmap -I/Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Intermediates.noindex/zhifuERP.build/Debug-iphoneos/zhifuERP.build/zhifuERP-own-target-headers.hmap -I/Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Intermediates.noindex/zhifuERP.build/Debug-iphoneos/zhifuERP.build/zhifuERP-all-non-framework-target-headers.hmap -ivfsoverlay /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Intermediates.noindex/zhifuERP.build/all-product-headers.yaml -iquote /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Intermediates.noindex/zhifuERP.build/Debug-iphoneos/zhifuERP.build/zhifuERP-project-headers.hmap -I/Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos/include -I/Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public -I/Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/AFNetworking -I/Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/MJRefresh -I/Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/SDWebImage -I/Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/SVProgressHUD -I/Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/ZYZAlertView -I/Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/Tools/HBRSAHandler/openssl/include -I/Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Intermediates.noindex/zhifuERP.build/Debug-iphoneos/zhifuERP.build/DerivedSources/arm64 -I/Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Intermediates.noindex/zhifuERP.build/Debug-iphoneos/zhifuERP.build/DerivedSources -F/Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos -F/Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/ThirdPartFrameWork -F/Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/Tools/UMSocial/UMSocialSDK -F/Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/Tools/UMSocial/UMSocialUI -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/AFNetworking -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/MJRefresh -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/SDWebImage -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/SVProgressHUD -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/ZYZAlertView -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/AFNetworking -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/MJRefresh -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/SDWebImage -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/SVProgressHUD -isystem /Users/asiazhang/Desktop/智富ERP_1_29/Pods/Headers/Public/ZYZAlertView -c /Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/Home/Controller/FaceCer/View/MyBottomView.mm -o /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Intermediates.noindex/zhifuERP.build/Debug-iphoneos/zhifuERP.build/Objects-normal/arm64/MyBottomView.o


While building module 'MGLivenessDetection' imported from /Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/Home/Controller/FaceCer/View/MyBottomView.h:9:
While building module 'AVFoundation' imported from /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos/MGLivenessDetection.framework/Headers/MGLiveDetectionManager.h:9:
While building module 'simd' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCameraCalibrationData.h:11:
In file included from :1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/usr/include/simd/vector.h:47:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/usr/include/simd/math.h:1403:10: fatal error: 'cmath' file not found
#include
         ^~~~~~~

While building module 'MGLivenessDetection' imported from /Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/Home/Controller/FaceCer/View/MyBottomView.h:9:
While building module 'AVFoundation' imported from /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos/MGLivenessDetection.framework/Headers/MGLiveDetectionManager.h:9:
In file included from :2:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:58:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVDepthData.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCameraCalibrationData.h:11:9: fatal error: could not build module 'simd'
#import
 ~~~~~~~^
While building module 'MGLivenessDetection' imported from /Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/Home/Controller/FaceCer/View/MyBottomView.h:9:
In file included from :1:
In file included from /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos/MGLivenessDetection.framework/Headers/MGLivenessDetection.h:9:
In file included from /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos/MGLivenessDetection.framework/Headers/MGLiveManager.h:10:
/Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos/MGLivenessDetection.framework/Headers/MGLiveDetectionManager.h:9:9: fatal error: could not build module 'AVFoundation'
#import
 ~~~~~~~^
While building module 'MGLivenessDetection' imported from /Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/Home/Controller/FaceCer/View/MyBottomView.h:9:
While building module 'MGBaseKit' imported from /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos/MGLivenessDetection.framework/Headers/LivenessDetector.h:15:
In file included from :1:
In file included from /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos/MGBaseKit.framework/Headers/MGBaseKit.h:14:
In file included from /Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos/MGBaseKit.framework/Headers/MGVideoManager.h:10:
/Users/asiazhang/Library/Developer/Xcode/DerivedData/zhifuERP-guqksfindybrsectbpzxphicaaox/Build/Products/Debug-iphoneos/MGBaseKit.framework/Headers/MGVideoDelegate.h:11:9: fatal error: could not build module 'AVFoundation'
#import
 ~~~~~~~^
In file included from /Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/Home/Controller/FaceCer/View/MyBottomView.mm:9:
/Users/asiazhang/Desktop/智富ERP_1_29/zhifuERP/Home/Controller/FaceCer/View/MyBottomView.h:9:9: fatal error: could not build module 'MGLivenessDetection'
#import
 ~~~~~~~^
5 errors generated.

Command /Users/Shared/BQSobfuscator4/bin/clang failed with exit code 1

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/usr/include/simd/math.h:1403:10: fatal error: 'cmath' file not found
#include

   ^~~~~~~

file无法找到,打开终端

find /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs -name cmath -print

 

 

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/4.2.1/cmath

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/4.2.1/tr1/cmath

将第一个路径添加 Targets -> Build Setting -> Header Search Paths. 

运行没问题

 

你可能感兴趣的:(iOS,iOS开发)