Running Ionic 3 app on iPhone throws error: 2 duplicate symbols for architecture arm64

后端 未结 5 2303
太阳男子
太阳男子 2020-12-15 19:22

I am opening .xcworkspace of my Ionic 3 project and trying to run it on my device but I suddenly get the following error in Xcode:

Ld /Users/man         


        
5条回答
  •  忘掉有多难
    2020-12-15 19:38

    The problem here is cordova-ios@latest.

    And we could fixed this issues with:

    • Uninstall cordova-ios first, with npm uninstall cordova-ios
    • Install cordova-ios with npm install cordova-ios@4.4.0
    • After that we should add platform with ionic cordova platform add ios@4.4.0
    • The last one, run ionic cordova build ios, that open with xcode and build with your settings.

提交回复
热议问题