Defold 1.2.185 BETA

@totebo reported an issue for DefVideoADS about crash on some iOS devices.

I investigated this issue and found that crash is happening when I build DefVideoADS or AdMob using build-stage.defold.com (I tried it using both 1.2.184 and 1.2.185) and then run build on older iOS version. @totebo tested it on iOS 14.4.2, I tested on iOS 12.5.2. I assume it’s for all iOS lower than 14.5 but I’m not sure.

Log:

(lldb)     run
success
dyld: Library not loaded: /System/Library/Frameworks/AVFAudio.framework/AVFAudio
  Referenced from: /var/containers/Bundle/Application/88543E5B-2554-4E45-AA65-9975913BCCCE/AdMob.app/AdMob
  Reason: image not found
Process 337 stopped
* thread #1, stop reason = signal SIGABRT
    frame #0: 0x0000000101912418 dyld`__abort_with_payload + 8
dyld`__abort_with_payload:
->  0x101912418 <+8>:  b.lo   0x101912430               ; <+32>
    0x10191241c <+12>: stp    x29, x30, [sp, #-0x10]!
    0x101912420 <+16>: mov    x29, sp
    0x101912424 <+20>: bl     0x101911850               ; cerror_nocancel
Target 0: (AdMob) stopped.
(lldb)

I tested 12.5.4 on iPhone 6 Plus and AdMob crashes.

1 Like

Thanks for the report, I’m looking into it.

Not sure where the AVFAudio dependency comes from though.

1 Like

Sorry, it was a false alarm.
AVFAudio should be added as weakFrameworks in ext.manifest and than it works fine.

Now we need to fix it for DefVideoADS and AdMob not sure if some other extensions affected.

5 Likes