-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building/Testing on iOS #17
Comments
Successfully built static library The next part is exporting via Godot, which requires a few fields. These fields can be found in
Looks like iOS based GDNative libraries can be linked to a
|
Apple Team ID can be apparently found in Apple account which needs to be upgraded into Apple Developer account, by enrolling into Apple Developer Program and setting up two-factor authentication which actually requires registering an Apple trusted device.
TL;DR : No Apple trusted device, no Apple Team ID. Nice 😄 |
If that were the problem... An Apple Developer Account costs about 120 USD yearly. And even if you were able to export to an iOS app archive, you can only install it on an iOS device associated with this Apple ID, else you'd have to distribute it through the app store. I would say iOS CI is only useful coupled with CD in a real situation. |
Oh, and the Apple trusted device is IIRC not needed, you can get in contact with the support and they'll enable you to use SMS. At least I could. |
@Filius-Patris Ohh this is critical level information ! 👀
|
Updated issue summary to reflect recent results in 441b1a4 and encountered caveats. |
A couple caveats I ran into while building for iOS today.
I believe both of these errors are actually related to the Godot export tool, not godot-rust, but I suspect people google searching will find this issue first. At least if they are using rust like me. |
📣 UPDATE 1 (19/05/2020)
Actually successfully compiled Rust source and exported for iOS in 441b1a4, using a fake Apple Team ID
123456789
.Of course there are big caveats :
Output size : ~120MB (not sure if this is an expected file size)=> According to Godot docs, this looks fine.123456789
will be able to test the app, unless I decide to enroll for Apple Developer Program for (99 USD/yr, it apparently has a free tier, but it still requires to own a registered Apple trusted device) => Building/Testing on iOS #17 (comment)You get the idea, to be able to confirm the CI setup is OK "as is", only an Apple Developer Program subscriber will be able to help.
💬 Original issue
This will be the next targeted platform, and maybe the hardest one to support. Unfortunately, I don't have any iOS device to test the final product.
Following the conversation on godot-rust/gdnative#285, it seems like building a GDNative Rust based game for iOS is possible with these notable steps :
aarch64-apple-ios
andx86_64-apple-ios
armv7-apple-ios
andi386-apple-ios
llvm-config
(iOS build failing godot-rust/gdnative#285 (comment)).a
universal libraries withcargo-lipo
If by any chance you are an Apple Developer Program subscriber and are able to try building and exporting
sample-godot-rust-app
for iOS, please comment here if it worked / additional steps / encountered issues.The text was updated successfully, but these errors were encountered: