'Google Places, Swift Package Manager & M1 Mac issues

I have students using Google Places AutoComplete with iOS UIKit and Swift. Students with M1 Macs still seem to not be able to use the simulator with this SDK and need to run on their devices (this is a problem because some students don’t have a decide and only develop on a Mac). Also, it seems the SDK doesn’t yet work with Swift Package Manager. Are there any solutions to these issues? This would definitely solve many student frustrations. Thanks so much!



Solution 1:[1]

There is a workaround for M1 Macs, which is to open Xcode with Rosetta enabled.

Find the Xcode app in Finder, and right-click it, then "Get Info", then tick "Open using Rosetta", then reopen Xcode.

It should not be too hard for students to set up. It can be setup just once and reused afterwards.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 atineoSE