使用极光推送在编译的时候出现冲突报错
duplicate symbol __sisHostDomains in:
../Jpush/Lib/jpush-extension-ios-1.1.1.a(JPushExtensionSession.o)
../Jpush/Lib/jcore-ios-1.2.1.a(JPUSHAddressController.o)
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
最后发现问题是Build Settings 中 Other Linker Flags 设置了 -ObjC ,删掉即可
网友评论