Move to use local authorize-ios
MODIFY
docs/en/contributing-to-appium/appium-from-source.md
docs/en/contributing-to-appium/appium-from-source.md
@@ -76,8 +76,7 @@ have to modify your `/etc/authorization` file in one of two ways:
`/etc/authorization` file for you:
```
- npm install -g authorize-ios
- sudo authorize-ios
+ sudo npm run authorize-ios
```
At this point, run:

MODIFY
docs/en/drivers/ios-uiautomation.md
docs/en/drivers/ios-uiautomation.md
@@ -60,7 +60,6 @@ support, you will need to upgrade to the [XCUITest driver](ios-xcuitest.md)).
way to do this by installing and running an authorization script:
```
- npm install -g authorize-ios
sudo authorize-ios
```

MODIFY
package.json
package.json
},
"main": "./build/lib/main.js",
"bin": {
- "appium": "./build/lib/main.js"
+ "appium": "./build/lib/main.js",
+ "authorize-ios": "./node_modules/.bin/authorize-ios"
},
"directories": {
"lib": "./lib",
"shrinkwrap:prod": "rimraf package-lock.json && rimraf node_modules && npm install --production && npm shrinkwrap && node ./check-npm-pack-files && npm install --no-shrinkwrap",
"zip": "zip -qr appium.zip .",
"upload": "gulp github-upload",
- "zip-and-upload": "npm run zip && npm run upload"
+ "zip-and-upload": "npm run zip && npm run upload",
+ "authorize-ios": "authorize-ios"
},
"pre-commit": [
"precommit-msg",

MODIFY
packweb.json
packweb.json
"appium-uiautomator2-server",
"appium-xcode",
"appium-xcuitest-driver",
- "authorize-ios",
"eslint-config-appium",
"io.appium.settings",
"node-idevice",

Move to use local authorize-ios (#12015)