无法使用Appium安装.ipa文件

时间:2016-09-15 08:12:58

标签: java ios xcode appium

我正在使用iOS版本10和Xcode 8。

当我使用Appium在手机上安装{ "name": "aspnetcoreangular2webpackstarter", "version": "0.0.0", "license": "MIT", "scripts": { "start": "tsc && npm install && concurrently \"tsc -w\" \"dotnet run\" \"npm run startWebpackDevServer\" ", "startWebpackDevServer": "webpack-dev-server --inline --progress --port 8080", "build": "SET NODE_ENV=development && webpack -d --color && dotnet run", "buildProduction": "SET NODE_ENV=production && webpack -d --color", "lint": "tslint ./app/**/*.ts -t verbose", "postinstall": "typings install", "tsc": "tsc", "tsc:w": "tsc -w", "typings": "typings" }, "keywords": [], "author": "Fabian Gosebrink", "dependencies": { "@angular/common": "2.0.0-rc.7", "@angular/compiler": "2.0.0-rc.7", "@angular/compiler-cli": "0.6.1", "@angular/core": "2.0.0-rc.7", "@angular/forms": "2.0.0-rc.7", "@angular/http": "2.0.0-rc.7", "@angular/platform-browser": "2.0.0-rc.7", "@angular/platform-browser-dynamic": "2.0.0-rc.7", "@angular/router": "3.0.0-rc.3", "@angular/upgrade": "2.0.0-rc.7", "core-js": "^2.4.1", "reflect-metadata": "^0.1.3", "rxjs": "5.0.0-beta.12", "systemjs": "0.19.27", "zone.js": "^0.6.21", "bootstrap": "^3.3.6", "jquery": "2.2.4" }, "devDependencies": { "tslint": "^3.7.4", "lodash": "^4.11.1", "rimraf": "^2.5.2", "ts-loader": "^0.8.1", "extract-text-webpack-plugin": "^1.0.1", "file-loader": "^0.8.5", "webpack": "^1.12.14", "webpack-dev-server": "^1.14.1", "webpack-merge": "^0.9.0", "webpack-stream": "^3.2.0", "html-loader": "^0.4.3", "html-webpack-plugin": "^2.15.0", "clean-webpack-plugin": "0.1.10", "style-loader": "0.13.1", "css-loader": "^0.23.1", "raw-loader": "^0.5.1", "sass-loader": "^3.1.2", "node-sass": "3.8.0", "concurrently": "^2.2.0", "lite-server": "^2.2.2", "typescript": "^1.8.10", "typings": "^1.3.2" } 文件时出现错误:

  

[MJSONWP]遇到内部错误运行命令:错误:   安装   /var/folders/38/_j5rw9g93tn2mk_ypg0b12gc0000gn/T/2016815-20850-vgqq3k/Payload/MPM.app   失败

知道如何解决这个问题吗?

1 个答案:

答案 0 :(得分:2)

尝试此命令

sudo chmod -R 777 /var/db/lockdown/

我遇到了同样的问题,但它得到了解决。这与ideviceinstaller

有关