-
Notifications
You must be signed in to change notification settings - Fork 241
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
Support arm64 simulator on Apple Silicon hardware #751
Comments
Thank you for picking this up last week @misl6. I had an opportunity to pose a question regarding what controls this format in Apple's Q&A Slack space today, and this was the response from their engineer:
I hope that helps identify and isolate the issue! |
I've had the same issue. Thanks for picking it up @misl6! |
This issue should now be defunct, kivy-ios runs in native mode on Apple silicon. It runs on emulators too without any issue thanks to all the work by @misl6 |
Thanks for the update @akshayaurora. Can you point to the commit(s) that accomplished the change? I would love to understand what changed so I can learn more about how kivy evolves under the covers? |
@misl6 and @akshayaurora - it looks like Xcode 14.3 will deprecate Rosetta support, so it would be great to get confirmation that there's a code change in this repo that supports this change. The expected change to bump up the minimum version of iOS from 9 to something newer doesn't appear to be present in the main branch, unless I'm missing something. |
Hi @dlewandaDK ! We support builds on Apple Silicon hardware, without the aid of Rosetta since tag 1.3.0 (PR: #660). But, we still build for the You're right, but AFAIK XCode doesn't need to be executed with Rosetta in order to have x86_64 Simulator support. The good news is that I'm currently working on Python 3.10 support. |
Hi @misl6, thanks for responding and reopening this issue. We agree that we can build on Apple Silicon just fine, but the only limitation is not being able to run on the arm64 simulator when running outside Rosetta mode. The irony is now that it lets you build for |
Hi @dlewandaDK ! I've just opened a PR which is targeting this issue (#778). (Feel free to ping me on Discord) |
Hi @misl6, thanks so much for the update. We are currently in the throes of a big deliverable on our side such that I can't promise exactly when, but I'll try to get someone on our side looking at your changes ASAP. Looking forward to seeing it through! |
@misl6 we launched our new app (that is depending on kivy-ios!) and now finally have time to jump in and try the branch from the PR you posted last month. Anything we should know as we jump in and pull your branch from your fork? Anything we can focus on? |
Thank you @misl6 for your hard work and dedication here! We look forward to trying out the latest changes ASAP. We had issues with moving our Python code from 3.9 to 3.10, but we've recently solved that and should be able to update to the latest Kivy very soon 🙌 🎉 |
Is your feature request related to a problem? Please describe.
I am trying to build my app on Xcode 14.1 but I am required to run Xcode in Rosetta mode due to my
kivy-ios
-generated static library (.a file) not being able to link against an arm64 simulator SDK. I have confirmed that the issue is that the library's contents are of an older style as described in this post usingotool -l -arch arm64
. The output contains a fieldLC_VERSION_MIN_IPHONEOS
, but according to that link it should beLC_BUILD_VERSION
with an explicit platform field. The specific error is "building for iOS simulator, but linking in object file built for iOS"I am unable to figure out how to modify it accordingly to use the new version.
Describe the solution you'd like
I'd like my static libraries generated by Kivy to follow this new format so that I can get out of Rosetta mode when running on my Apple Silicon hardware to get the maximum performance and modern system support.
Describe alternatives you've considered
We currently run in Rosetta mode, but as Apple is moving fast away from Intel machines, it's not clear how long Rosetta 2 support will extend.
Additional context
This is similar to #740.
The text was updated successfully, but these errors were encountered: