Help us understand the problem. What is going on with this article?

cordovaでiosビルドの際の`AMDeviceInstallApplication failed: `エラー

More than 5 years have passed since last update.

ニッチな感じなメモ

CordovaでビルドするときにiOSが二台以上接続してあると起こるみたいでした。

$ cordova run --device ios
・
・省略
・

Signing Identity:     "iPhone Developer: 遼介 菅原 (MJ574N93F5)"
Provisioning Profile: "iOSTeam Provisioning Profile: *"
                      (3b975916-1a0b-4de1-b5ec-a6d6ab81e074)

    /usr/bin/codesign --force --sign 11F969E1C4C1901C60B0583248259278C1BFC7E2 --entitlements /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/hello2.build/Debug-iphoneos/hello2.build/hello2.app.xcent /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app
/Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app: replacing existing signature

** BUILD SUCCEEDED **

[....] Waiting for iOS device to be connected
[....] Using (null) ((null)).
------ Install phase ------
[  0%] Found (null) connected through (null), beginning install
[  5%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/_CodeSignature/CodeResources to device
[  6%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/config.xml to device
[  6%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Default-568h@2x~iphone.png to device
[  8%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Default-667h.png to device
[  9%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Default-736h.png to device
[ 11%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Default-Landscape-736h.png to device
[ 12%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Default-Landscape@2x~ipad.png to device
[ 15%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Default-Landscape~ipad.png to device
[ 17%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Default-Portrait@2x~ipad.png to device
[ 20%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Default-Portrait~ipad.png to device
[ 22%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Default@2x~iphone.png to device
[ 24%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Default~iphone.png to device
[ 24%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/embedded.mobileprovision to device
[ 25%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/hello2 to device
[ 30%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-40.png to device
[ 31%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-40@2x.png to device
[ 32%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-50.png to device
[ 32%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-50@2x.png to device
[ 33%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-60.png to device
[ 34%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-60@2x.png to device
[ 34%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-60@3x.png to device
[ 35%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-72.png to device
[ 36%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-72@2x.png to device
[ 37%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-76.png to device
[ 38%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-76@2x.png to device
[ 38%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-small.png to device
[ 39%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon-small@2x.png to device
[ 40%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon.png to device
[ 40%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/icon@2x.png to device
[ 41%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/Info.plist to device
[ 41%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/MainViewController.nib to device
[ 42%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/PkgInfo to device
[ 42%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/www/cordova.js to device
[ 44%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/www/cordova_plugins.js to device
[ 44%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/www/css/index.css to device
[ 45%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/www/img/logo.png to device
[ 47%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/www/index.html to device
[ 47%] Copying /Library/WebServer/Documents/node/_7santa/ios/hello2/platforms/ios/build/device/hello2.app/www/js/index.js to device
[ 50%] TakingInstallLock
[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 65%] PreflightingApplication
[ 70%] VerifyingApplication
AMDeviceInstallApplication failed: 0xE800007E: Unknown error.

参考

http://d.hatena.ne.jp/yoya/20140807/cordova

n0bisuke
プロトタイピング専門スクール「プロトアウトスタジオ」で教えたりしてます。 プロフ -> https://dotstud.io/members/n0bisuke
https://protoout.studio
dotstudio
全ての人がモノづくりを楽しむ世界を目指して活動しています。
https://dotstud.io
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away