尝试构建Xcode 9应用程序时遇到问题。它显示了两个错误:
1: "_mptcp_go", referenced from:
___36-[ViewController tappedOnJailbreak:]_block_invoke in ViewController.old: symbol(s) not found for architecture arm64
2: clang: error: linker command failed with exit code 1 (use -v to see invocation)
我该如何解决? (顺便说一句,尝试运行工作区和.xcodeproj,但没有一个起作用)
这里是完整的错误代码:
Ld /Users/mac/Library/Developer/Xcode/DerivedData/Undecimus-alrztlqurpvdagfnhitjmaasoboy/Build/Products/Debug-iphoneos/Undecimus.app/Undecimus normal arm64
cd "/Users/mac/Desktop/SNIRL JB/Undecimus-master"
export IPHONEOS_DEPLOYMENT_TARGET=11.0
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.0.sdk -L/Users/mac/Library/Developer/Xcode/DerivedData/Undecimus-alrztlqurpvdagfnhitjmaasoboy/Build/Products/Debug-iphoneos -L/Users/mac/Desktop/SNIRL\ JB/Undecimus-master/Undecimus -F/Users/mac/Library/Developer/Xcode/DerivedData/Undecimus-alrztlqurpvdagfnhitjmaasoboy/Build/Products/Debug-iphoneos -F/Users/mac/Desktop/SNIRL\ JB/Undecimus-master/Undecimus -filelist /Users/mac/Library/Developer/Xcode/DerivedData/Undecimus-alrztlqurpvdagfnhitjmaasoboy/Build/Intermediates.noindex/Undecimus.build/Debug-iphoneos/Undecimus.build/Objects-normal/arm64/Undecimus.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=11.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/mac/Library/Developer/Xcode/DerivedData/Undecimus-alrztlqurpvdagfnhitjmaasoboy/Build/Intermediates.noindex/Undecimus.build/Debug-iphoneos/Undecimus.build/Objects-normal/arm64/Undecimus_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -framework IOKit -lMobileGestalt -ljb /Users/mac/Desktop/SNIRL\ JB/Undecimus-master/Undecimus/qilin.o -framework SpringBoardServices -lPods-Undecimus -Xlinker -dependency_info -Xlinker /Users/mac/Library/Developer/Xcode/DerivedData/Undecimus-alrztlqurpvdagfnhitjmaasoboy/Build/Intermediates.noindex/Undecimus.build/Debug-iphoneos/Undecimus.build/Objects-normal/arm64/Undecimus_dependency_info.dat -o /Users/mac/Library/Developer/Xcode/DerivedData/Undecimus-alrztlqurpvdagfnhitjmaasoboy/Build/Products/Debug-iphoneos/Undecimus.app/Undecimus
Undefined symbols for architecture arm64:
"_mptcp_go", referenced from:
___36-[ViewController tappedOnJailbreak:]_block_invoke in ViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
GitHub链接到项目-https://github.com/Horunu/stuffy