katzer / cordova-plugin-badge

Access and modify badge numbers
Apache License 2.0
408 stars 253 forks source link

Plugin doesn't support this project's apple-ios version #112

Closed fishsaidno closed 6 years ago

fishsaidno commented 6 years ago

Hi, I have a Meteor project and am wondering how to update a project's 'apple-ios' version?

I'm encountering this error: %% Plugin doesn't support this project's apple-ios version. apple-ios: 9.2.0, failed version requirement: >=10.0.0 %% Skipping 'cordova-plugin-badge' for ios

The deployment target is set to 10.0 in XCode, however the error occurs regardless. Nowhere in my project is an iOS version of 9.2 mentioned. However, the installed version of Xcode is 9.2 which leads me to believe this is where the issue is coming from.

Your plugin.xml file contains the following line <engine name="apple-ios" version=">=10.0.0" /> Should/could this be changed to <engine name="cordova-ios" version=">=x.x.x" />

Any insight?

fishsaidno commented 6 years ago

Seems I had an older version of Xcode (with a highest sdk of 9.2) installed in the Applications directory. With the latest Xcode (sdk 11.2) installed elsewhere.

The 9.2 confusion was just a coincidence.