一、更改makefile文件 最新有 arm64e 架构
加上 -arch arm64e
二、 xcode 路径问题 ,执行如下命令:
1、$: xcrun --sdk iphoneos --show-sdk-path
error:"unable to lookup item 'Path' in SDK 'iphoneos'"
2、$ xcode-select --print-path
/Library/Developer/CommandLineTools
3、$ xcodebuild -showsdks
error:tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
4、$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/
5、$ xcrun --sdk iphoneos --show-sdk-path (成功)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk