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

M1 Support? #118

Closed
hedlynogan opened this issue Feb 10, 2021 · 5 comments
Closed

M1 Support? #118

hedlynogan opened this issue Feb 10, 2021 · 5 comments

Comments

@hedlynogan
Copy link

Hi Paul,
I am a huge fan and based on your review I went and bought a M1 Mac Mini. However, I guess you have not tried to build this on your M1 or you would notice it would fail with the following errors.

/Users/nedh/Develop/PaulHudson/ControlRoom/ControlRoom/Simulator UI/ControlScreens/LocationView.swift:41:17: error: cannot find 'Map' in scope
Map(coordinateRegion: $currentLocation, annotationItems: annotations) { location in
^~~
/Users/nedh/Develop/PaulHudson/ControlRoom/ControlRoom/Simulator UI/ControlScreens/LocationView.swift:42:21: error: cannot find 'MapPin' in scope
MapPin(coordinate: CLLocationCoordinate2D(latitude: location.latitude, longitude: location.longitude), tint: .red)

It builds without issues on my i9.
I am running Xcode 12.4 and Big Sur 11.3 Beta.

Any idea when you will support M1? I don't see any claim in the README?

@hedlynogan
Copy link
Author

hedlynogan commented Feb 11, 2021

Paul said: "That's odd – I don't think that's an M1 issue. Others have reported it building just fine with M1."

I moved this to it's own issue and copied your response Paul.

I tried removing and a fresh clone, toggling Mac | or Rosetta, remove deriviedData, doesn't make a difference, won't build on my M1, noticing other odd behavior in system preferences and app file dialogs hanging, caused real concern.

However, I took a async/await preview class and I forgot to uncheck the Swift Development Snapshot, went back to Xcode 12.4 Toolchain and it worked. My bad, sorry.

@nashysolutions
Copy link
Contributor

Runs fine for me

See bottom of this ticket

#103

@nashysolutions
Copy link
Contributor

@Harry-KNIGHT
Copy link
Contributor

Works fine on my MacBook Air M1 and my MacBook M1 Pro.

I think this issue can be closed.

@twostraws
Copy link
Owner

Thank you!

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

4 participants