简体   繁体   中英

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!

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.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM