Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.

Xcode IOS Simulator Linker Error on M1 Chip #472

@vlknbl

Description

@vlknbl

Hi get an error when I build my Ionic App on MacBook Pro (M1 chip). Here is the error:

ld: in MyApp/Plugins/cordova-admob-sdk/GoogleMobileAds.framework/GoogleMobileAds(GADGestureIdUtil.o), building for iOS Simulator, but linking in object file built for iOS, file 'MyApp/Plugins/cordova-admob-sdk/GoogleMobileAds.framework/GoogleMobileAds' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Has anyone ever seen this before? Anything you can recommend?

Here is my envrionment:

Ionic:

Ionic CLI : 6.12.4 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.5.2
@angular-devkit/build-angular : 0.1002.1
@angular-devkit/schematics : 10.2.1
@angular/cli : 10.2.1
@ionic/angular-toolkit : 2.3.3

Cordova:

Cordova CLI : 10.0.0
Cordova Platforms : android 9.0.0, ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 10 other plugins)

Utility:

cordova-res : not installed
native-run : not installed

System:

ios-sim : 8.0.2
NodeJS : v15.5.1 (/usr/local/bin/node)
npm : 7.3.0
OS : macOS Big Sur
Xcode : Xcode 12.4 Build version 12D4e

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions