Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaking: ios requirement bump #80

Merged
merged 1 commit into from
Jan 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,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 |
| 2.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 +200,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 +211,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