简体   繁体   中英

building for iOS Simulator, but linking in object file built for iOS, file '.../GoogleMaps' for architecture arm64

building for iOS Simulator, but linking in object file built for iOS, file '/Users/wahab/Documents/Github/ios-code/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/GoogleMaps' for architecture arm64

I found this error while compiling my swift code in macbook pro M1. Please help me on this regards Thanks

Please Follow These steps:

  1. Close Xcode
  2. Go to Finder 在此处输入图像描述
  3. Then Click Application
  4. Then Right-click on the "Xcode"
  5. Then You will see "Get Info"
  6. Then Check marked the "Open using Rosetta"

The Maps SDK for iOS does not yet contain the architecture necessary to run on the new Arm-based Mac Simulators. For now, if you are using the new Arm-based Macs, you will need to develop using a physical device.

I had the same issue in my Mac Book as well. I updated my Mac OS to latest version which is Monterey version 12.4. After updating my Mac OS, the first time when I opened my Xcode, a pop up to install the debugging tools appeared. After the installing the debugging tools in the Xcode, I was able to run the iOS application with google maps framework in my simulator. Hope it helps.

Note: I did try changing the architectures but it's of no use.

Build your app in iOS 13.0 Simulator.

For now, if you are using the new Arm-based Macs, you will need to develop >using a physical device.

I just got this error on a Mac M1, is this still the case?

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