iOS Build Environment Help Center

Mobile Notification Service build error

append delete beefribs

Windows Version: 10
Builder Version: 3.64
iOS SDK version: 13.0
Build logs: https://pmbaty.com/paste/?1dad91c50f74f10c#CGMvV9aGWrFnUUqbqnpzQsAGYiihSccMPGgqkEHL65FD

Hello! Hope you're well.

I'm trying to get push notifications working on my game using Unity's Mobile Notifications package, but it's not letting me build it.

I thought maybe I needed to pick the right file in the "Entitlements from .plist file" checkbox, so I tried using the .plist file in the folder:

C:\Users\Beef\Desktop\LunarKnightIOSBuilds\notificationservice\

But when I do that, the cmd program closes automatically so I can't show you the build logs for that.

Please help!
Thank you

Reply RSS

Replies

append delete #1. billygunn

I am running into a similar issue where the build process crashes but it is for the Unity Push Notifications package (which pulls in the Mobile Notifications package as a dependency). Will be amazing if you can post the solution if you find it.

append delete #2. beefribs

Hey billygunn, I haven't been able to get it working, so I've been trying to get notifications through Firebase. I noticed in another post you said you were trying to convert from Firebase. Did you manage to get a build working with Firebase? If so, please let me know how because I can't figure it out. Thanks!

append delete #3. billygunn

I used this version of Firebase - 1.8.0 from the Google developers archive - https://developers.google.com/unity/archive

It works fine when used along with the Cocapods tool in most of the iOS devices. However, it crashes on older iOS devices like the iPhone 5S which I found really hard to debug and so I decided to temporarily remove the package and to find alternative solutions.

Hope this helps.

append delete #4. Pierre-Marie Baty

Hello Beefribs and billygunn,

I thought maybe I needed to pick the right file in the "Entitlements from .plist file" checkbox, so I tried using the .plist file in the folder:

C:\Users\Beef\Desktop\LunarKnightIOSBuilds\notificationservice\

But when I do that, the cmd program closes automatically so I can't show you the build logs for that.

Debugging such errors is a nightmare and is 100% my fault : I should have stopped using Batch scripting for the master build script a long time ago (but there was always something more urgent to do).

Things that might make you able to work around the issue :
- Relocate (i.e. copy) the .plist file that you cannot include right at the root of your Xcode project
- Open it and verify that it doesn't contain shell variables, or Windows-specific absolute paths that would contain spaces or other problematic characters; resolve the variables and fix the paths as needed
- Make sure this is a .plist for *entitlements* and not a .plist for some other purpose

Hope this helps

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty