distriqt / ANE-Adverts-Mediation

Mediation adapters for the Adverts ANE
https://airnativeextensions.com/extension/com.distriqt.Adverts
12 stars 0 forks source link

Compilation failed on iOS with Pangle #53

Closed megajogos closed 7 months ago

megajogos commented 2 years ago

Logs:

ld: in /var/folders/ks/fsng9hxn5776jq_jmkfhk46w0000gp/T/149abd7b-8478-4df6-b167-4170f08955df/BUAdSDK.framework/BUAdSDK(BUAdSDKManager.o), could not parse object file /var/folders/ks/fsng9hxn5776jq_jmkfhk46w0000gp/T/149abd7b-8478-4df6-b167-4170f08955df/BUAdSDK.framework/BUAdSDK(BUAdSDKManager.o): 'Invalid bitcode version (Producer: '1300.0.29.3.0_0' Reader: '1200.0.32.29_0')', using libLTO version 'LLVM version 12.0.0, (clang-1200.0.32.29)' file '/var/folders/ks/fsng9hxn5776jq_jmkfhk46w0000gp/T/149abd7b-8478-4df6-b167-4170f08955df/BUAdSDK.framework/BUAdSDK' for architecture arm64

Compilation failed while executing : ld64
Environment
marchbold commented 2 years ago

What version of Xcode etc do you have installed on your machine? Are you using native signing or the builtin AIR signing?

megajogos commented 2 years ago

We are using Xcode 12.4 on a MacOS X 10.15.7 and we are not using native signing.

marchbold commented 2 years ago

Can you try updating Xcode?

megajogos commented 1 year ago

We are using the latest version of Xcode available for MacOS X 10.15.

Is there another way?

marchbold commented 1 year ago

Try enabling native signing if you have the latest xcode build tools installed.

megajogos commented 1 year ago

Could you send me any documentation or tutorial that explain how to do that?

marchbold commented 1 year ago

Native signing? Just enable the "UseNativeCodesign" flag in your adt.cfg file.

With 50 you can edit the user version at ~/.airsdk/adt.cfg or use the new AIRSDKManager to enable it.