項目更新了一下洒擦,運行ios的時候發(fā)現(xiàn)報錯如下:
Undefined symbols for architecture arm64:
"_dns_parse_resource_record", referenced from:
-[JPUSHSRVResolver processRecord:length:] in jpush-[iOS](http://lib.csdn.net/base/ios)-2.2.0.a(JPUSHSRVResolver.o)
"_dns_free_resource_record", referenced from:
-[JPUSHSRVResolver processRecord:length:] in jpush-ios-2.2.0.a(JPUSHSRVResolver.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
找了半天谎倔,一直在查找極光推送的異常亮曹,搞半天最后才發(fā)現(xiàn)是有個靜態(tài)庫沒添加進來茅糜。添加如下庫進來就可以了七芭。