migueldeicaza / SwiftGodotKit

Embed Godot into Swift apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile for iOS

BadChoice opened this issue · comments

Hello!
Thank you so much for this package, I've been able to launch the sample demo on mac and start doing my own swift game with godot engine!

However, if I try to compile it for iOS it gives the error

While building for iOS Simulator, no library for this platform was found in 
'/Users/crypto/Library/Developer/Xcode/DerivedData/godotest2-gpffnlaboxbwjxfsoygydhlmxanz/SourcePackages/artifacts/swiftgodotkit/libgodot/libgodot.xcframework:1:1 While building for iOS Simulator, no library for this platform was found in '/Users/crypto/Library/Developer/Xcode/DerivedData/godotest2-gpffnlaboxbwjxfsoygydhlmxanz/SourcePackages/artifacts/swiftgodotkit/libgodot/libgodot.xcframework'.

I'm really new to this so I have no idea on how to fix that

And if I'm not wrong, will it be possible to export my game to windows/android as well even if I code with swift?

Thanks!

Godot support for the iOS simulator is currently not working. It is being tracked on Godot, so I didn’t want to waste time bundling the payload if it wouldn’t work.

I don’t anticipate issues with android, but have not tested myself. Windows works, but the macros don’t currently work - they are being worked on by the swift team

Thank you! I guess it works on a real device, I’ll check it later

Just another question, I’ve developed terminal madness adventure game https://codepassion.io in spritekit so now I think it is time to port it to godot :) is this runtime lib production ready?

And finally, to change project properties such as splash screen, window title.. i tried in the run_godo callback but it is not called, is that the right place?

let me know if this is the right tool for this or if you want me to create different issues