AS3 ANE添加GoogleMobileAds.framework時報錯:
Undefined symbols for architecture arm64:?
"___isOSVersionAtLeast", referenced from:?
l035 in GoogleMobileAds(GADAugmentedRealitySignalSource.o)?
ld: symbol(s) not found for architecture arm64?
Undefined symbols for architecture armv7:?
"___isOSVersionAtLeast", referenced from:?
l002 in GoogleMobileAds(GADAugmentedRealitySignalSource.o)?
ld: symbol(s) not found for architecture armv7?
Compilation failed while executing : ld64
解決方案:
1.Copy this file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/cl ang/9.1.0/lib/darwin/libclang_rt.ios.a ?to?[AIRSDK_PATH]/lib/aot/lib/libclang_rt.ios.a
2.Add this to your linkerOptions in platform.xml
<linkerOptions>
-lclang_rt.ios.a
</linkerOptions>