Skip to content
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

Add iOS build support. #353

Merged
merged 1 commit into from
Jan 30, 2020
Merged

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Nov 26, 2019

Adds ability to compile godot-cpp for the iOS devices (armv7, armv8) and simulator (x86_64).

Currently, Godot export seems to ignore gdnative libs for the iOS, but adding appropriate static libs to the exported xcode project manually works OK (at least in the simulator).

Following Scons options have been added:

  • ios_arch = arm64(default), armv7, x86_64 target architecture
  • IPHONEPATH = toolchain path (default value should work for normal xcode installation), SDK path is detected via xcrun utility.

gdtl gdnative demo project running in simulator:
Screenshot 2019-11-26 at 21 22 19

@piiertho
Copy link
Contributor

May I add iOS CI ? Great job !

@BastiaanOlij BastiaanOlij merged commit 45e6801 into godotengine:master Jan 30, 2020
@BastiaanOlij BastiaanOlij added the enhancement This is an enhancement on the current functionality label Jan 30, 2020
@bruvzg bruvzg deleted the ios_support branch January 30, 2020 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement on the current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants