The AppendAppleLog is my own way of logging for ios on my ubuntu vps, you can imagine it as Debug.Log
For android it works perfectly. On IOS it didnt work, all I could get was to "reached 4" and then nothing, the try catch blocks don't continue, i get no errors. I realised that in xCode project the Push notifications in signing and capabilities wasn't added. After adding it and testing the game through testflight, the game crashes either immediately on launch or after pressing allow for push notifications.
On unity cloud the project seems to be setup correctly with apple keys added and sandbox turned on.
I could reproduce this on Iphone X and iphone XS.
Unity version : 2022.3.10f1
push notifications package version : 3.0.1-pre.1
Xcode version : 15.3
For android I had this script setup for mobile push notifications :
The AppendAppleLog is my own way of logging for ios on my ubuntu vps, you can imagine it as Debug.Log
For android it works perfectly. On IOS it didnt work, all I could get was to "reached 4" and then nothing, the try catch blocks don't continue, i get no errors. I realised that in xCode project the Push notifications in signing and capabilities wasn't added. After adding it and testing the game through testflight, the game crashes either immediately on launch or after pressing allow for push notifications.
On unity cloud the project seems to be setup correctly with apple keys added and sandbox turned on.
I could reproduce this on Iphone X and iphone XS. Unity version : 2022.3.10f1 push notifications package version : 3.0.1-pre.1 Xcode version : 15.3
Here is the crash log:
In xcode viewing the stack trace, this is the last place i can view :