Reputation: 159
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
Upvotes: 3
Views: 2591
Reputation: 1
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.
Upvotes: 0
Reputation: 581
Please Follow These steps:
Upvotes: 2
Reputation: 41
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.
Upvotes: 1