Apple push notifications in Xojo iOS app

I can update the project this weekend if needed, but please do as Jeremie said above:

  1. Download iOSKit and open it
  2. Copy the Modules folder from iOSKit
  3. Delete the “Foundation” module from the improvedIOSApplication example project
  4. Paste the modules folder
  5. Click run - it will now work :slight_smile:

@Jason King : The app now runs, but I get an error "no valid “aps-environment” entitlement string found for application.

I do have an info.plist with the key:

aps-environment : development (also tried production, but the same result)

but when I push the Register for remote Notifications button, I still only get this error.
I would greatly appreciate your assistance.

Thanks to Jason King suggesting that I’d have a look at what Xcode generates, I found out it’s easy to fix the “no valid aps-environment string found” error when registering for remote push notifications;
copy the appname.entitlements file generated by Xcode (after enabling Push Notifications in Xcode and building) and rename that to the name of your app. Then in the Xojo GUI, in the IOS section, select the yourappname.entitlements file you created in the entitlements field and build it from Xojo. (oh and don’t forget to enable Notifications in the IOS section in Xojo too)