A new better way of using Xcode under Rosetta

  Рет қаралды 4,250

Mike Mikina

Mike Mikina

Күн бұрын

Пікірлер: 13
@srengregersen620
@srengregersen620 Жыл бұрын
Thanks for sharing! I guess this is going to make it much easier for us to set up the new Apple Silicon-based CI 🎉
@mikemikina
@mikemikina Жыл бұрын
Yes! This is so useful! I wish we had it from day one of the Apple Silicon 😄
@Somnath-lk9dy
@Somnath-lk9dy Жыл бұрын
Thank you Mike... You saved the day.
@mikemikina
@mikemikina Жыл бұрын
Glad to hear it! 😊
@rahuljamba5846
@rahuljamba5846 Жыл бұрын
Thanks for sharing
@RaphaelSaclé
@RaphaelSaclé Жыл бұрын
how did you update google maps and other compiled on intel to work without rosetta ?
@mikemikina
@mikemikina Жыл бұрын
I’m not sure if I got it, you would like to update Google maps to work without Rosetta? Google has recently released Apple Silicon version of Maps sdk, so you can use it. If you have other 3rd party dependencies that you can’t compile yourself, I made a video some time ago how you can make a workaround. But this is just a hack which doesn’t work that well. New destination architectures is much better solution 👍
@Userdiediedie
@Userdiediedie Жыл бұрын
awesome!
@HarshaVardhan-wh3gj
@HarshaVardhan-wh3gj Жыл бұрын
Hi thanks for sharing, but can i know how to run this using CLI command npx react-native run-ios --simulator="iPhone 14 Pro (Rosetta)" this is not working. so can you please tell me how to run in CLI
@mikemikina
@mikemikina Жыл бұрын
Unfortunately, I don't use react native so I can't help with this one. I have just checked if those Rosetta simulators will show up in terminal, but when listing them: "xcrun simctl list" there are only the regular ones.
@HarshaVardhan-wh3gj
@HarshaVardhan-wh3gj Жыл бұрын
​@@mikemikina thanks a lot man, It is working with CLI also, by adding these lines in PodFile installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" end end
@jayantht5654
@jayantht5654 Жыл бұрын
​@@HarshaVardhan-wh3gj hi bro need help for command line running xcode in Rosetta can u please how to do that
@HarshaVardhan-wh3gj
@HarshaVardhan-wh3gj Жыл бұрын
Hi @@jayantht5654 bro Which error are you facing ? to run the app using command line for devices you need to add this on pod file installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" end end and then you need to update Destination Architectures on xcode so to do that open xcode naviagate to Product where you can find on top bar, Product -> Destination -> Destination Architectures -> show both Now you select the simulator with rosetta then you run CLI command on terminal you can able to run it.
Why Rosetta 2 Will Eventually Die
10:19
Andrew Tsai
Рет қаралды 46 М.
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 7 МЛН
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 7 МЛН
NVIDIA’s New AI: Stunning Voice Generator!
6:21
Two Minute Papers
Рет қаралды 100 М.
React-Native IOS-Setup in MAC OS | Xcode | Simulator
13:36
Coding Gyaan
Рет қаралды 12 М.
Xcode templates, projects, targets, schemes and workspaces
24:42
Stewart Lynch
Рет қаралды 4,9 М.
React Native Environment Setup for MacOS (M1 and Intel)
13:36
notJust․dev
Рет қаралды 139 М.
Xcode: Convert project to workspace
8:16
Mike Mikina
Рет қаралды 4,1 М.
Why is Python 150X slower than C?
10:45
Mehul - Codedamn
Рет қаралды 27 М.
How To Install Rosetta 2 On M1 / M2 Macs & MacBooks
2:41
WebPro Education
Рет қаралды 73 М.
Xcode Build Settings Demystified (Resource) 2023 - iOS
3:52
iOS Academy
Рет қаралды 7 М.
SwiftUI: New Observation Framework
8:25
Mike Mikina
Рет қаралды 2,1 М.
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 7 МЛН