I just upgraded to v2.3.3.4 of OneSignal and am getting a crash on startup of the app. Specifically it’s a bad access inside the SDKBOX function that sets the OneSignal delegate. It seems to call some kind of “get superclass” function (I don’t have debuggable source for it) that causes a bad access. If I keep trying to run it over and over, sometimes it works, but more often than not it fails.
It looks like re-running sdkbox import onesignal helped fix the problem. I had only run sdkbox update and it looks like maybe something got out of sync?
I’ve upgrade to cocos v3.13.1 (from v3.10), cleaned my XCode build, redownloaded all dependencies, and re-imported all SDKBOX packages. The problem seems to be gone again now.
That’s strange… OneSignal.m is contained in OneSignal SDK so we can’t really access it. But if there is some way to constantly reproduce it we can work with OneSignal team to fix it.