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

Missing Simulator Architectures for WatchOS 6 and later #1736

Closed
L6Echo opened this issue Aug 3, 2021 · 3 comments
Closed

Missing Simulator Architectures for WatchOS 6 and later #1736

L6Echo opened this issue Aug 3, 2021 · 3 comments

Comments

@L6Echo
Copy link
Contributor

L6Echo commented Aug 3, 2021

For WatchOS 6 and later the Architecture x86_64 for Intel and arm64 for M1 is required. Currently only the Architecture i386, which was used for WatchOS 5 and earlier, is included in J2Objc watch lib.

@L6Echo L6Echo changed the title WatchOS 6 missing Simulator Architectures Missing Simulator Architectures for WatchOS 6 and later Aug 3, 2021
@tomball
Copy link
Collaborator

tomball commented Aug 3, 2021

This should have been fixed in 821ff4e. Since this pull request was merged after the last release, you'll need to build from source. "Real" developers should normally be doing that anyway, since the releases are really just for people who want to experiment with this project before seriously using it.

@tomball tomball closed this as completed Aug 3, 2021
@tomball
Copy link
Collaborator

tomball commented Aug 3, 2021

Please note: our team doesn't have any M1 hardware, since it's scarce and other Google iOS teams (with shipping apps) have higher priority. If architectural slices are missing from j2objc's build, we're therefore relying on pull requests from external developers to add that support, like 821ff4e was.

@L6Echo
Copy link
Contributor Author

L6Echo commented Aug 3, 2021

The mentioned commit adds "only" the arm64 for iPhone Simulator.

For watchOS Simulator only the architecture i386 can be build from source. i386 is only compatible for WatchOS 5 and earlier. When addressing watchOS 6 and later it is not possible right now to build for the Simulator (neither M1 nor Intel) neither with the release builds nor when compiling the source code.

I am not too deep into how the build scripts work, but I will try to add it and create a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants