'Cordova/NSArray+Comparisons.h' file not found after upgrade to on 1.3.2.4


#1

I’ve tried an update to 1.3.2.4 in an iOS app and a previously successful build stops in this error:

.meteor/local/cordova-build/platforms/ios/App/Plugins/com.cordova.plugins.sms/Sms.m:2:9: 'Cordova/NSArray+Comparisons.h' file not found

Anyone has any idea on how to proceed?

I’m temporarily not upgrading.

Related? https://issues.apache.org/jira/browse/CB-9785

PS: I’ve upgraded my cordova CLI from 6.0.0 to 6.1.1 and no improvements


#2

I assume you mean an upgrade from Meteor 1.2 to 1.3? This error is probably a result of the plugin not being compatible with Cordova iOS 4.0. Are you sure you are using the most recent version of the plugin (0.1.10)?

The Cordova CLI installed on your system is not used by Meteor, so upgrading that won’t make a difference (it doesn’t even have to be installed).


#3

Good point. Interestingly I’ve never asked to get installed that sms plugin, it must be something that is getting in, in some kind of default?

Here is what my cordova-plugins file contents was:

cordova-plugin-nativeaudio@https://github.com/pmwisdom/cordova-plugin-nativeaudio.git#262e9cb8a797d7243f59872518f7f95522a5dd4c cordova-plugin-transport-security@0.1.0

Now testing for iOS 8.0 and the latest sms plugin version:

cordova-plugin-transport-security@0.1.0
cordova-sms-plugin@0.1.10

Unfortunately same output


#4

@martijnwalraven I’ve saw this:
https://issues.apache.org/jira/browse/CB-9785

Then I’ve tried with upgrading to 4.1.1

.meteor/local/cordova-build/platforms/ios: cordova platform check Error: {"errno":-2,"code":"ENOENT","syscall":"open","path":"/Users/sebastian/git/apito/.meteor/local/cordova-build/platforms/ios/Apito.xcodeproj/project.pbxproj"} ios @ 4.1.0 could be updated to: 4.1.1

The result isn’t great

cc/ @captainn