Skip to content
Closed
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
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '22'

- name: Build
run: yarn install --frozen-lockfile

- name: Archive pre-built bindings
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binding
path: binding/**
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '22'
registry-url: 'https://registry.npmjs.org'

- name: Build
run: yarn install --frozen-lockfile

- name: Archive pre-built bindings
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binding
path: binding/**
Expand Down
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,11 @@ Queries connected iOS devices, installs apps, and relays log output.
node-ios-device is currently compatible with the following versions:

* Node.js
* 10.x (module API v64)
* 11.x (module API v67)
* 12.x (module API v72)
* 13.x (module API v79)
* 14.x (module API v83)
* 15.x (module API v88)
* 16.x (module API v93)
* 17.x (module API v102)
* 18.x - 23.x (check package.json - targets section)

Only macOS (darwin) is supported. You should make this module an optional
dependency of your application and it will only be downloaded on macOS.

> Note: node-ios-device@2.0.0 will only support Node.js 4 and newer.

> Note: Support for Node.js 0.12 and io.js <3.x has been dropped because they fail to compile with
> Xcode 8.3 due to an issue with V8. Interestingly, older versions of clang didn't have a problem.
> Apple claims they cannot reproduce the issue and that the version of clang that ships with Xcode
> 8.3 is working as expected. If you still need to support Node.js 0.12 and io.js <3.x, then
> best to stick with node-ios-device@1.2.x.

## Installation

From NPM:
Expand Down
19 changes: 6 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
"gypfile": true,
"main": "./ios-device",
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.10",
"@mapbox/node-pre-gyp": "^2.0.0",
"debug": "^4.3.4",
"nan": "^2.20.0",
"node-pre-gyp-init": "^1.2.1",
"patch-package": "^6.5.1"
"patch-package": "^8.0.0"
},
"devDependencies": {
"@octokit/rest": "^18.12.0"
"@octokit/rest": "^21.1.1"
},
"scripts": {
"install": "node ./bin/run.js node-pre-gyp install --fallback-to-build",
Expand All @@ -48,21 +48,14 @@
"remote_path": "./tidev/{name}/releases/download/v{version}",
"host": "https://github.com",
"targets": {
"10.24.1": 64,
"11.15.0": 67,
"12.22.11": 72,
"13.14.0": 79,
"14.19.1": 83,
"15.14.0": 88,
"16.14.2": 93,
"17.7.2": 102,
"18.13.0": 108,
"19.4.0": 111,
"20.0.0": 115,
"22.0.0": 127
"22.0.0": 127,
"23.0.0": 131
}
},
"engines": {
"node": ">=10.13"
"node": ">=18"
}
}
Loading