-
Notifications
You must be signed in to change notification settings - Fork 34
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
Project setup for iOS #27
Comments
Same request here |
Yeah that would be great. I recently got an iPhone so can test now. I am not sure how building for iOs works. There's some bits in here: Or could use this for both Android & iOs though the Android setup was hard with JNI last time I tried: Or maybe this though it seems deprecated If someone has more iOs dev experience it'd be really appreciated :) |
I tried to add ios-support based on the efreme_template in this commit. However, there seems some issue with The error looks like below:
|
Hey, thanks for looking into this! And ah yeah RFD doesn't work on iOs :/ Android had this problem too, I implemented a wrapper for android in the rrfd crate. You'll need to add a dummy wrapper for iOs there. That should get things going at least, can still use a URL to stream in data. Then at some point need to figure out how to pick files on iOs from rust.... that'll be some more work :) |
Just added the wrapper for ios in the rrfd crate in this commit. But still have some other compilation errors. Will report here if there's any other progress.
|
I just created this PR. There's no compilation error but it still has linking errors. Below is the full error log. The command I ran is
|
That's awesome! WIll do a full review once you've got it running. For that error specifically, I noticed you're trying to set xcrun as your linker in the build flags whereas the eframe template doesn't do that. Xcrun is now getting some linker arguments which it can't deal with, so the build fails. In theory linking for iOs just happens with LD so this option doesn't need to be set? I don't know though! Good luck and again hopefully can try it out & help get it running soon. |
Get stuck on this PR. It succeeded in building all the crates but unable to pack them into the ipa file. Would be nice if someone take a look and help. |
It would be great to have a basic project setup for compiling on iOS/iPadOS with Xcode.
The text was updated successfully, but these errors were encountered: