Skip to content

Commit

Permalink
breaking: ios requirement bump
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Jan 22, 2021
1 parent a2c9244 commit 986bea2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

| Plugin version | Cordova CLI | Cordova Android | Cordova iOS | CocoaPods |
| -------------- | ----------- | --------------- | ----------- | --------- |
| 1.0.0 | 10.0.0 | 8.0.0 | 5.1.1 | 1.8.0 |
| 1.0.0 | 10.0.0 | 8.0.0 | 6.0.0 | 1.8.0 |

To install from the command line:

Expand Down Expand Up @@ -199,8 +199,8 @@ Firefox 46+

**Cordova:**

- `cordova-cli`: `9.0.0` or greater. Preferably `10.x`
- `cordova-ios`: `5.1.1` or greater. Preferably `6.1.x`
- `cordova-cli`: `10.0.0` or greater.
- `cordova-ios`: `6.0.0` or greater. Preferably `6.1.x`

### Bitcode

Expand All @@ -210,11 +210,11 @@ If you are running into a problem where the linker is complaining about bit code
ld: '<file.o>' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

You have two options. The first is to [disable bitcode as per this StackOverflow answer](http://stackoverflow.com/a/32466484/41679) or [upgrade to cordova-ios 5.1.1 or greater](https://cordova.apache.org/announcements/2019/12/02/cordova-ios-release-5.1.1.html).
You have two options. The first is to [disable bitcode as per this StackOverflow answer](http://stackoverflow.com/a/32466484/41679) or [upgrade to cordova-ios 6.0.0 or greater](https://cordova.apache.org/announcements/2020/06/01/cordova-ios-release-6.0.0.html).

```bash
cordova platform rm ios
cordova platform add ios@5.1.1
cordova platform add ios@6.0.0
```

### CocoaPods
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
},
"engines": {
"cordovaDependencies": {
"2.0.0": {
"cordova": ">=10.0.0",
"cordova-android": ">=8.0.0",
"cordova-ios": ">=6.0.0"
},
"1.0.0": {
"cordova": ">=10.0.0",
"cordova-android": ">=8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<engines>
<engine name="cordova" version=">=10.0.0"/>
<engine name="cordova-android" version=">=8.0.0"/>
<engine name="cordova-ios" version=">=5.1.1"/>
<engine name="cordova-ios" version=">=6.0.0"/>
</engines>

<platform name="android">
Expand Down

0 comments on commit 986bea2

Please sign in to comment.