-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New iOS examples and fix dated iOS examples #7678
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
Comments
what about simulator support? it would facilitate a refactor of the examples. in #6966 (comment) @danoli3 says "Designed for iPad works" but on M1 (13.4) I get this error (both with 0.12 and git-master): [edit to change image // copy-paste mistake sorry -- previously pasted the simulator error] |
Oh yes - @artificiel that's a separate known issue. I think will get fixed with @danoli3's changes. This issue was just for updating the examples. |
ah yes sorry for not being clearer — I meant that having the simulator working would facilite this task, suggesting a form of priority, and reported that the work-around does not seem to be working. NB I get the same error with a simulator build through rosetta on M1, launched with:
|
@artificiel Rosetta would just mean x86_64 which you can see at the top in the menu bar, so I think that is what he meant. |
@ofTheo yes, I just wanted to state the Xcode GUI behaviour I have is not the same — in @danoli3 's screenshot the entries are marked Rosetta, which makes them clear to choose from. Here my entries are not marked, which makes it a trial-and-error thing to somehow "discover" there are rosetta ones. so someone trying to use the simulator might not get @danoli3's described behaviour, and I wonder why the behaviour is different. but maybe it's moot as the proper simulator will soon be fixed? |
You can find rosetta from Product > Destination > Destination Architectures > Show Rosetta Destinations |
@ofTheo
![]() |
I'm currently trying to use iOS examples, but some of them are not working. I will also make modifications to other iOS examples as much as I can. |
Amazing @azuremous !! I would say all the iOS examples are completely open to being changed / rewritten to be brought up to date. Happy if you want to do per example Pull Requests or larger PRs for multiple examples, whatever works best for you. Thanks so much! |
status report as of 20250301: most examples works! low hanging fruit:
unsure:
also some observations, none dealbreaker but maybe while the project/template or build system is being tweaked:
also: I'm still not able to get something running in the simulator:
|
@artificiel thanks for diving into these. Def would be good to fix the iosExternalDisplayExample that's a handy one! :) I added most of the issues you mentioned to #7588 |
Some of the old native UI examples didn't work anymore so they were removed for 0.12.0
It would be great to do an audit of current examples and see what works, what doesn't and what is missing.
Needed:
The text was updated successfully, but these errors were encountered: