Xcode 8 build problem after updating Ionic CLI and Cordova

I updated both Ionic CLI and Cordova and the project I created after is giving me the following error:

dyld: Symbol not found: ___NSDictionary0__
  Referenced from: /private/var/mobile/Containers/Bundle/Application/D8F1365B-6D9B-4C77-AD04-3A1A67D23F1B/MyApp.app/MyApp
  Expected in: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 in /private/var/mobile/Containers/Bundle/Application/D8F1365B-6D9B-4C77-AD04-3A1A67D23F1B/MyApp.app/MyApp

this project is just the tabs template with nothing else.
I’m running on an iPhone 5s IOS 8.4 and the deployment target in Xcode is 8.0

here’s my system info:
global packages:

@ionic/cli-utils : 1.3.0
Cordova CLI      : 7.0.1 
Ionic CLI        : 3.3.0

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.3.0
@ionic/cli-plugin-ionic-angular : 1.3.0
Cordova Platforms               : ios 4.4.0
Ionic Framework                 : ionic-angular 3.3.0

System:

Node       : v6.5.0
OS         : OS X El Capitan
Xcode      : Xcode 8.1 Build version 8B62 
ios-deploy : 1.9.1 
ios-sim    : 5.0.13 

any help will be very much appreciated!

I’ve just tested on IOS 9.3.5 and the app runs perfectly! It is a problem with IOS 8 does anyone know what could it be?

2 Likes

Just in case someone runs into the same problem: I removed the Cordova IOS 4.4.0 and downgraded to 4.3.1! Cordova IOS 4.4.0 Removed iOS 8 Support (only iOS 9 and greater supported now). https://cordova.apache.org/announcements/2017/04/26/ios-release.html
Downgrading the platform solved my problem!

4 Likes

You just saved my work presentation :smile: Thank you.

Yeah, this seems missing from the Cordova documentation. I created two issues:

https://issues.apache.org/jira/browse/CB-13150
https://issues.apache.org/jira/browse/CB-13151

1 Like