AppsFlyerSDK / appsflyer-unity-plugin

AppsFlyer Unity Plugin
MIT License
156 stars 64 forks source link

Apple silicon bundle, DllNotFoundException #214

Closed dreamcodestudio closed 1 year ago

dreamcodestudio commented 1 year ago

Issue log:

          DllNotFoundException: AppsFlyerBundle
          AppsFlyerSDK.AppsFlyeriOS.setIsDebug (System.Boolean isDebug) (at 
          /Users/dreamcode/Development/unity_projects/vampirem3/Assets/AppsFlyer/AppsFlyeriOS.cs:160)
         AppsFlyerSDK.AppsFlyer.setIsDebug (System.Boolean shouldEnable) (at 
         /Users/dreamcode/Development/unity_projects/vampirem3/Assets/AppsFlyer/AppsFlyer.cs:184)
         _Playflock.Scripts.Game.Analytics.Services.AppsFlyer.AppsFlyerAnalyticsService.Initialize ()

Relevant Code:

            var appsFlyerMono = UnityEngine.Object.FindObjectOfType<AppsFlyerListener>();
            if (ReferenceEquals(appsFlyerMono, null))
            {
                var listenerGo = new GameObject("AppsFlyerListener");
                appsFlyerMono = listenerGo.AddComponent<AppsFlyerListener>();
                UnityEngine.Object.DontDestroyOnLoad(listenerGo);
            }
            AppsFlyerSDK.AppsFlyer.setIsDebug(Debug.isDebugBuild);
            AppsFlyerSDK.AppsFlyer.initSDK(_devKey, _appleAppId, appsFlyerMono);
            AppsFlyerSDK.AppsFlyer.setCustomerUserId(playerId);
            AppsFlyerSDK.AppsFlyer.startSDK();
            AppsFlyerAdRevenue.start();
dreamcodestudio commented 1 year ago

I tried to change Unity Platform settings equals CPU=Any CPU for supporting Apple silicon architecture, but on runtime get EXC_BAD_ACCESS from com.appsflyer.serial (Thread 4)

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

dreamcodestudio commented 1 year ago

actual on latest 6.10.10 sdk

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

af-do commented 1 year ago

Hi @dreamcodestudio, Thank you for contacting us and sorry for the long delay, to resolve this issue I would ask you to please submit a ticket to our support team at support@appsflyer.com. When submitting the ticket, please specify:

✅ your AppsFlyer sign-up (account) email ✅ app ID ✅ production steps ✅ logs ✅ code snippets ✅ and any additional relevant information.