问题
duplicate symbol _ALISECX_LOGGER_PATH in:
/Users/xx/Library/Developer/Xcode/DerivedData/xx-edtkccjdavrqvrhfojgqbxzqyupw/Build/Products/Debug-iphoneos/libAlipayModule.a(AlipaySDK)
...
duplicate symbol _x509parse_verify in:
/Users/xx/Library/Developer/Xcode/DerivedData/xx-edtkccjdavrqvrhfojgqbxzqyupw/Build/Products/Debug-iphoneos/libAlipayModule.a(AlipaySDK)
ld: 635 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决
不使用New Build System:
- File
- Project/Workspace Settings
- Share Project/Workspace Settings
- build system
- 将
New Build System(Default)
切换成Legacy build system
。