distriqt / ANE-Adverts-Mediation

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

[FAN] Crash on startup in iOS #45

Closed everseen83 closed 1 year ago

everseen83 commented 2 years ago

Hello, again.

The following crash occurs in the latest version of "FacebookAudience(version 6.11.0)" However, using an older version of the Frameworks folder does not crash.

Environment
Logs

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Description: DYLD, Library not loaded: @rpath/libswiftCore.dylib | Referenced from: /private/var/containers/Bundle/Application/E1E58B7A-4789-4C74-B35E-E6F92BB648E8/TheCat.app/Frameworks/FBAudienceNetwork.framework/FBAudienceNetwork | Reason: image not found

marchbold commented 2 years ago

What version of the swift dylibs are you including in your application? You need to include them to support < iOS 12.2

everseen83 commented 2 years ago

Could you please tell me where I can find the version for it?

Meanwhile, do I have to manually add swift dylibs?

marchbold commented 2 years ago

Yes, for iOS 12.2 or less. Personally we set that as the minimum for our apps now to avoid this requirement as it increases app size significantly.

Probably easiest to tell the version if you check where you got the libs from.

everseen83 commented 2 years ago

Thanks for your answer. So far, I have never manually added "swift dylibs" to my application. Any instructions on manually adding swift dylibs?

[Crashed on the version below] ANE-Adverts-Mediation-master [v6.4.0]

marchbold commented 1 year ago

You just basically have to add them to your frameworks directory along with the dynamic frameworks.

I'll see if I can get the required ones for you.

marchbold commented 1 year ago

Can you try adding this version, I believe these are all the ones you need. You need to add these files into your "Frameworks" folder.

https://drive.google.com/file/d/1lugqX2B_QigdWiiK7bsnz_eiS__--Dpf/view?usp=sharing

everseen83 commented 1 year ago

Okay :) Thanks for your support.