From 94c8fad0e7a67c731aa3c96b6d6ffb9977613622 Mon Sep 17 00:00:00 2001 From: Gabe Giosia Date: Tue, 10 Dec 2019 04:48:58 -0500 Subject: [PATCH 1/2] Remove node/npm from normal instructions in README We aren't abandoning node/npm yet... but with the odd issues in #415 it's prudent to not direct people toward node when we aren't really using it. --- README.md | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 859ea448..dd59a624 100644 --- a/README.md +++ b/README.md @@ -21,42 +21,20 @@ The 1.x branch has been archived (renamed for now), all development is to be on ## Installation -ios-deploy installation is made simple using the node.js package manager. If you use [Homebrew](https://brew.sh/), install [node.js](https://nodejs.org): +If you don't already have it installed, install [Homebrew](https://brew.sh/) and run: ``` -brew install node +brew install ios-deploy ``` -Now install ios-deploy with the [node.js](https://nodejs.org) package manager: - -``` -npm install -g ios-deploy -``` - -To build from source: - -``` -xcodebuild -``` - -This will build `ios-deploy` into the `build/Release` folder. - ## Testing Run: ``` -npm install && npm test +python -m py_compile src/scripts/*.py && xcodebuild -target ios-deploy-lib && xcodebuild test -scheme ios-deploy-tests ``` -### OS X 10.11 El Capitan or greater - -If you are *not* using a node version manager like [nvm](https://github.com/creationix/nvm) or [n](https://github.com/tj/n), you may have to do either of these three things below when under El Capitan: - -1. Add the `--unsafe-perm=true` flag when installing ios-deploy -2. Add the `--allow-root` flag when installing ios-deploy -3. Ensure the `nobody` user has write access to `/usr/local/lib/node_modules/ios-deploy/ios-deploy` - ## Usage Usage: ios-deploy [OPTION]... From 3714fc19f5b93e60e586b667363af1784cac0e50 Mon Sep 17 00:00:00 2001 From: Gabe Giosia Date: Tue, 10 Dec 2019 05:00:42 -0500 Subject: [PATCH 2/2] Add npm uninstall step --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dd59a624..2b0da43a 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,12 @@ The 1.x branch has been archived (renamed for now), all development is to be on ## Installation -If you don't already have it installed, install [Homebrew](https://brew.sh/) and run: +If you have previously installed ios-deploy via `npm`, uninstall it by running: +``` +sudo npm uninstall -g ios-deploy +``` + +Install ios-deploy via [Homebrew](https://brew.sh/) by running: ``` brew install ios-deploy