4 ms·
I'd love to try and see if it's possible to simply build for iOS. Say Unity, React Native, etc. This could be pretty awesome in terms of freedom, even if the b
by xandrius 2y ago
I'd love to try and see if it's possible to simply build for iOS. Say Unity, React Native, etc.
This could be pretty awesome in terms of freedom, even if the build takes 5x more.
- arcanemachiner 2y agoI did this. I had to share my USB port over Docker somehow (black magic I guess, instructions in the repo) and I was able to build iOS apps and run them on an iPhone.
- flawn 2y agoWhat was the speed like?
- arcanemachiner 2y agoFor a basic Flutter app: tolerable
- ProfessorZoom 2y agoThat would impressive if you could build for React Native iOS (with native Swift modules) and run it on a simulator in this on a Windows machine
- shepherdjerred 2y agoCross-compiling is likely a better approach: https://github.com/tpoechtrager/osxcross https://github.com/tpoechtrager/osxcross This is how Godot targets iOS: https://github.com/godotengine/build-containers/blob/main/Dockerfile.ios https://github.com/godotengine/build-containers/blob/main/Do... Here's a Docker image with the tools preinstalled, though you'll need some tweaks to target iOS: https://github.com/shepherdjerred/macos-cross-compiler https://github.com/shepherdjerred/macos-cross-compiler While at RStudio (now called Posit), I worked on cross-compiling C/C++/Fortran/Rust on a Linux host targeting x86_64/aarch64 macOS. If you download an R package with native code from Posit Package Manager (https://p3m.dev/client/ https://p3m.dev/client/), it was cross-compiled using this approach :)