godotengine / godot-ios-plugins

MIT License
126 stars 48 forks source link

APN for 3.3 #15

Closed Zarasan closed 3 years ago

Zarasan commented 3 years ago

Why is APN not built for version 3.3?

naithar commented 3 years ago

You can use master branch plugins with Godot 3.3. 3.3 branch is made to keep same API that was present in Godot 3.2 iOS modules.

Zarasan commented 3 years ago
Screenshot 2021-06-08 at 14 52 35 1

I used master branch with Godot 3.3.2 stable and get these errors when exporting. Tried exporting with both, armv7 only and arm64 only

naithar commented 3 years ago

Godot does not provide armv7 binaries for iOS. Which mode were you using when exporting the project - debug or release? And what device were you targeting when running the app?

naithar commented 3 years ago

Just tested with Godot 3.3.2 and 3.3.2 APN plugin. Everything builds and works fine - both release and debug export mode. You should provide minimal reproduction project if problem is not related to the incorrect plugin version.

naithar commented 3 years ago

Manually switching to the incorrect plugin binaries (debug plugin for release iOS template and release plugin for debug iOS template) resulted in the error you are having. I suggest double checking plugin version you are using and reexporting your project. You should probably use a different directory and run Product->Clean Build Folder as .xcframework caches it's build files, so you might be getting incorrect binaries from that.

Zarasan commented 3 years ago

Switching to build to phone and not simulated and changed build sdk to ios 13.5 everything worked and was able to send a notification to my app.