unity3d - IL2CPP : linking error for iOS build NeatPlug - Flurry Analytics plugin (universal) -
we using neatplug's flurry analytics plugin our unity game. going fine till updated unity version 5.1.1p1. doing made ios build (linking) fail in xcode (using il2cpp scripting backend, universal architecture targeted). here error :
ld: warning: ignoring file /.../libraries/plugins/ios/libflurry-analytics-plugin-simulator.a, missing required architecture arm64 in file /.../libraries/plugins/ios/libflurry-analytics-plugin-simulator.a (2 slices) ld: warning: ignoring file /.../libraries/plugins/ios/libsmart-iap-plugin-simulator.a, missing required architecture arm64 in file /.../libraries/plugins/ios/libsmart-iap-plugin-simulator.a (2 slices)
undefined symbols architecture arm64: "_secitemupdate", referenced from: -[flurrykeychainwrapper updatevaluedata:forkey:] in libflurry.a(libflurry.a-arm64-master.o) "_ksecvaluedata", referenced from: -[flurrykeychainwrapper setdata:forkey:] in libflurry.a(libflurry.a-arm64-master.o) -[flurrykeychainwrapper updatevaluedata:forkey:] in libflurry.a(libflurry.a-arm64-master.o)
"_ksecattraccessiblewhenunlocked", referenced from: -[flurrykeychainwrapper setdata:forkey:] in libflurry.a(libflurry.a-arm64-master.o) "_ksecattraccessible", referenced from: -[flurrykeychainwrapper setdata:forkey:] in libflurry.a(libflurry.a-arm64-master.o) "_secitemdelete", referenced from: -[flurrykeychainwrapper removeobjectforkey:] in libflurry.a(libflurry.a-arm64-master.o) "_secitemadd", referenced from: -[flurrykeychainwrapper setdata:forkey:] in libflurry.a(libflurry.a-arm64-master.o) "_ksecmatchlimitone", referenced from: -[flurrykeychainwrapper dataforkey:] in libflurry.a(libflurry.a-arm64-master.o)
"_objc_class_$_skproductsrequest", referenced from: objc-class-ref in libsmart-iap-plugin.a(smartiap.o) "_secitemcopymatching", referenced from: -[flurrykeychainwrapper dataforkey:] in libflurry.a(libflurry.a-arm64-master.o) "_ksecclass", referenced from: -[flurrykeychainwrapper setupsearchforkey:] in libflurry.a(libflurry.a-arm64-master.o) "_ksecattrservice", referenced from: -[flurrykeychainwrapper setupsearchforkey:] in libflurry.a(libflurry.a-arm64-master.o)
"_objc_class_$_skmutablepayment", referenced from: objc-class-ref in libsmart-iap-plugin.a(smartiap.o) "_ksecclassgenericpassword", referenced from: -[flurrykeychainwrapper setupsearchforkey:] in libflurry.a(libflurry.a-arm64-master.o) "_ksecattraccount", referenced from: -[flurrykeychainwrapper setupsearchforkey:] in libflurry.a(libflurry.a-arm64-master.o) "_ksecattrgeneric", referenced from: -[flurrykeychainwrapper setupsearchforkey:] in libflurry.a(libflurry.a-arm64-master.o) "_ksecmatchlimit", referenced from: -[flurrykeychainwrapper dataforkey:] in libflurry.a(libflurry.a-arm64-master.o) "_ksecreturndata", referenced from: -[flurrykeychainwrapper dataforkey:] in libflurry.a(libflurry.a-arm64-master.o)
"_objc_class_$_skpaymentqueue", referenced from: objc-class-ref in libsmart-iap-plugin.a(smartiap.o) ld: symbol(s) not found architecture arm64 clang: error: linker command failed exit code 1 (use -v see invocation)
we sent neatplug's support had no answer. thank help
i suspect plugin missing arm64 slice in native binary. can confirm changing architecture option in unity editor player settings armv7. build using il2cpp scripting backend armv7 only. if project links in xcode, problem missing arm64 binary library.
Comments
Post a Comment