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

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


To solve the problem please have a look over this blog post from Cordova iOS 4.5.http://cordova.apache.org/announcements/2017/09/08/ios-release.html

You need to remove plugin "cordova-plugin-console" that is installed by default when generating a new Ionic project. Now this is in core part of cordova for iOS.


Since duplicate symbols are there, just removed "-ObjC" from both Targets and Project:

Build Settings -> Linking -> Other linker flags.

also try to remove any unwanted libraries from

Targets -> Build Phases -> Link Binary with Libraries


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.