distriqt / ANE-Adverts-Mediation

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

AppLovin SDK not found on IOS build #67

Closed Kelsonk closed 3 weeks ago

Kelsonk commented 1 month ago

Getting this crash log on my iOS build. Unfortunately I can't test any fixes due to a lot of technical issues and my app is crashing live so it would be nice to get it fixed quickly. All ANE's should be updated. I might just pull AppLovin off the app if I can't fix it quickly.

I am performing this build on Windows, I have a Mac with Big Sur (which can't be upgraded) but not sure if a Mac build would fix this issue.

{"app_name":"CastleClicker","timestamp":"2024-05-15 04:30:37.00 -0300","app_version":"4.6.960","slice_uuid":"4c4c44ba-5555-3144-a19d-16b8af86aa04","adam_id":"1426921778","build_version":"4.6.960","platform":0,"bundleID":"com.autotelic.castleclicker","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"iPhone OS 17.5 (21F79)","roots_installed":0,"name":"CastleClicker","incident_id":"2983036C-96FF-4FAE-81E7-13AA07178E53"}
{
  "uptime" : 4700,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "iPad13,16",
  "coalitionID" : 989,
  "osVersion" : {
    "isEmbedded" : true,
    "train" : "iPhone OS 17.5",
    "releaseType" : "User",
    "build" : "21F79"
  },
  "captureTime" : "2024-05-15 04:30:37.7300 -0300",
  "codeSigningMonitor" : 1,
  "incident" : "2983036C-96FF-4FAE-81E7-13AA07178E53",
  "pid" : 934,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-05-15 04:30:37.7201 -0300",
  "procStartAbsTime" : 114468520315,
  "procExitAbsTime" : 114468751724,
  "procName" : "CastleClicker",
  "procPath" : "\/private\/var\/containers\/Bundle\/Application\/BEA7FBDB-D570-4930-A7C3-CEDAD8CEE2E0\/CastleClicker.app\/CastleClicker",
  "bundleInfo" : {"CFBundleShortVersionString":"4.6.960","CFBundleVersion":"4.6.960","CFBundleIdentifier":"com.autotelic.castleclicker","DTAppStoreToolsBuild":"15F31c"},
  "storeInfo" : {"itemID":"1426921778","deviceIdentifierForVendor":"99EBDA17-3534-4F31-BEB6-44E1B5EFA780","thirdParty":true,"softwareVersionExternalIdentifier":"865934412"},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.autotelic.castleclicker",
  "crashReporterKey" : "d9a7815f228c91826cc484046b41b0749a31a41a",
  "wasUnlockedSinceBoot" : 1,
  "isLocked" : 0,
  "codeSigningID" : "com.autotelic.castleclicker",
  "codeSigningTeamID" : "8GML6J39M4",
  "codeSigningFlags" : 570450689,
  "codeSigningValidationCategory" : 4,
  "codeSigningTrustLevel" : 7,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: @rpath\/AppLovinSDK.framework\/AppLovinSDK","Referenced from: <4C4C44BA-5555-3144-A19D-16B8AF86AA04> \/Volumes\/VOLUME\/*\/CastleClicker.app\/CastleClicker","Reason: tried: '\/usr\/lib\/swift\/AppLovinSDK.framework\/AppLovinSDK' (no such file, not in dyld cache), '\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/swift\/AppLovinSDK.framework\/AppLovinSDK' (no such file), '\/usr\/lib\/swift\/AppLovinSDK.framework\/AppLovinSDK' (no such file, not in dyld cache), '\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/swift\/AppLovinSDK.framework\/AppLovinSDK' (no such file), '\/usr\/lib\/swift\/AppLovinSDK.framework\/AppLovinSDK' (no such file, not in dyld cache), '\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/swift\/AppLovinSDK.framework\/AppLovinSDK' (no such file), '\/usr\/lib\/swift\/AppLovinSDK.framework\/AppLovinSDK' (no such file, not in dyld cache), '\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/swift\/AppLovinSDK.framework\/AppLovinSDK' (no such file)"]},
  "sharedCache" : {
  "base" : 6911377408,
  "size" : 3659661312,
  "uuid" : "bab34706-7189-3248-bfab-fae7555663a5"
},
  "legacyInfo" : {
  "threadHighlighted" : 0
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "63f9578e238e7b23a1f3030a",
      "factorPackIds" : {

      },
      "deploymentId" : 240000005
    },
    {
      "rolloutId" : "6112d17137f5d11121dcd4e2",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_ASR_HAMMER" : "663c1640c562464af4d55255"
      },
      "deploymentId" : 240000550
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "98d32dd4-1965-4e2c-b376-2abf84c685b0",
      "experimentId" : "65ae8e5fa0caa8078a085473",
      "deploymentId" : 400000005
    },
    {
      "treatmentId" : "6355f564-39d1-49c5-9c83-39960f62d745",
      "experimentId" : "63d2fb7d7a5f3575ceb2abf7",
      "deploymentId" : 400000033
    }
  ]
},
  "reportNotes" : [
  "_dyld_process_info_create failed with 1",
  "Corpse is incomplete (_dyld_process_info_create failed with 1)",
  "Backtraces may be be unvailable or truncated to only leaf frames, and the binary image list may not be available",
  "thread_get_state(PAGEIN) returned 0x10000003: (ipc\/send) invalid destination port",
  "thread_get_state(EXCEPTION) returned 0x10000003: (ipc\/send) invalid destination port",
  "thread_get_state(FLAVOR) returned 0x10000003: (ipc\/send) invalid destination port"
]
}
marchbold commented 1 month ago

We are having some issues integrating the new AppLovin SDK, appears there are some features of dynamic frameworks they are using that AIR can't handle just yet. I have reported to Harman and they are looking into it.

In the meantime I suggest removing AppLovin until we can resolve this.

Kelsonk commented 1 month ago

Thanks

On Thu, May 16, 2024, 1:03 AM Michael @.***> wrote:

We are having some issues integrating the new AppLovin SDK, appears there are some features of dynamic frameworks they are using that AIR can't handle just yet. I have reported to Harman and they are looking into it.

In the meantime I suggest removing AppLovin until we can resolve this.

— Reply to this email directly, view it on GitHub https://github.com/distriqt/ANE-Adverts-Mediation/issues/67#issuecomment-2113621556, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQYEYVQXMLZ6Z5YMMIJZ53ZCPSUDAVCNFSM6AAAAABHYO7TP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTGYZDCNJVGY . You are receiving this because you authored the thread.Message ID: @.***>

cleverbeapps commented 3 weeks ago

Does the new AIR 51.0.1.3 fix the problem?

marchbold commented 3 weeks ago

@cleverbeapps Yes Harman have rolled the fix for this into the latest release. I'll get the final updates to this mediator done and pushed out later today.

cleverbeapps commented 3 weeks ago

Hi @marchbold I am still getting crash at the startup

"version": "12.5.1", "id": "com.distriqt.admob.AppLovin"

AIR SDK: 51.0.1.3 iOS: 16.2 Crash log from Console:

ASI found [dyld] (sensitive) 'Library not loaded: @rpath/AppLovinSDK.framework/AppLovinSDK Referenced from: <6C6E6953-D300-3490-B5AD-BF22307A6766> /private/var/containers/Bundle/Application/C67CA70C-3B98-4379-B6C9-49232E8DBA38/MySuperGame.app/MySuperGame Reason: tried: '/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (errno=2), '/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (errno=2), '/private/var/containers/Bundle/Application/C67CA70C-3B98-4379-B6C9-49232E8DBA38/MySuperGame.app/Frameworks/AppLovinSDK.framework/AppLovinSDK' (errno=2), '/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (errno=2), '/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (e<…>'

marchbold commented 3 weeks ago

You are missing the dynamic framework from your build: https://docs.airnativeextensions.com/docs/adverts/mediation/applovin#dynamic-frameworks

cleverbeapps commented 3 weeks ago

Thank you, now the crash in gone.