我正在使用使用多个第三方框架的iOS应用程序。项目在 High Sierra 上运行的 X-Code 9.3.1 上运行良好将我的macOS更新为 Mojave ,并将X-Code更新为版本10.0 ,编译器在链接库时开始引发以下错误:
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)
我已经尝试了所有与分段错误相关的问题的解决方案,但不幸的是它们都没有起作用。我尝试使用X-Code 9.3.1,该项目在High Sierra上编译时没有问题,但是得到了相同的结果Mojave上的错误。以下是来自X-Code的完整错误消息。
Ld /Users/raghavendra/Library/Developer/Xcode/DerivedData/Controller-befvgrmcpngvshariigzvmibtnhx/Build/Products/Debug-iphoneos/Controller-dbg.app/Controller-dbg normal arm64
cd /Users/raghavendra/Ava_Spark_Bit_bucket_copy
export IPHONEOS_DEPLOYMENT_TARGET=9.3
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"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -L/Users/raghavendra/Library/Developer/Xcode/DerivedData/Controller-befvgrmcpngvshariigzvmibtnhx/Build/Products/Debug-iphoneos -L/Users/raghavendra/Ava_Spark_Bit_bucket_copy/ThirdParty -F/Users/raghavendra/Library/Developer/Xcode/DerivedData/Controller-befvgrmcpngvshariigzvmibtnhx/Build/Products/Debug-iphoneos -F/Users/raghavendra/Ava_Spark_Bit_bucket_copy/ThirdParty -F/Users/raghavendra/Documents/JabberSDK -F/Users/raghavendra/Ava_Spark_Bit_bucket_copy/SPARK\ frameworks -filelist /Users/raghavendra/Library/Developer/Xcode/DerivedData/Controller-befvgrmcpngvshariigzvmibtnhx/Build/Intermediates.noindex/Controller.build/Debug-iphoneos/Controller.build/Objects-normal/arm64/Controller-dbg.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -map -Xlinker /Users/raghavendra/Library/Developer/Xcode/DerivedData/Controller-befvgrmcpngvshariigzvmibtnhx/Build/Intermediates.noindex/Controller.build/Debug-iphoneos/Controller.build/Controller-dbg-LinkMap-normal-arm64.txt -miphoneos-version-min=9.3 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/raghavendra/Library/Developer/Xcode/DerivedData/Controller-befvgrmcpngvshariigzvmibtnhx/Build/Intermediates.noindex/Controller.build/Debug-iphoneos/Controller.build/Objects-normal/arm64/Controller-dbg_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -fprofile-instr-generate -stdlib=libc++ -ObjC -framework Reveal -lModelObjects -framework Fabric -lBaseDataModelObject -framework Crashlytics -framework VSTheme -framework KeychainItemWrapper -framework MBProgressHUD -framework MessageUI -framework PullableView -framework UIKit -framework Foundation -framework MBProgressHUD -framework CoreGraphics -framework CocoaLumberjack -framework EventKit -framework WebSockets -framework QuartzCore -framework NetworkReachability -Xlinker -dependency_info -Xlinker /Users/raghavendra/Library/Developer/Xcode/DerivedData/Controller-befvgrmcpngvshariigzvmibtnhx/Build/Intermediates.noindex/Controller.build/Debug-iphoneos/Controller.build/Objects-normal/arm64/Controller-dbg_dependency_info.dat -o /Users/raghavendra/Library/Developer/Xcode/DerivedData/Controller-befvgrmcpngvshariigzvmibtnhx/Build/Products/Debug-iphoneos/Controller-dbg.app/Controller-dbg
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)
请帮助我解决此问题。我们非常感谢您的投入。