
ld: too many personality routines for compact unwind to encode for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决:
在这里配置一下编译选项
Xcode Target → Build Settings → Other Linker Flags 增加:
-Wl,-no_compact_unwind