Couldn't able to run the application in ios device

Hi, Could not able to run the application in ios device. Please find the log below:

Last login: Mon Oct 15 11:53:18 on ttys000
Bobs-MacBook-Pro:~ bobtate$ adb devices
List of devices attached
988a1643484534495a device

Bobs-MacBook-Pro:~ bobtate$ clear

Bobs-MacBook-Pro:~ bobtate$ adb shell am start -n com com.aa.dev.AmericanAirlines.MainActivity

Exception occurred while executing:
java.lang.IllegalArgumentException: Bad component name: com
at android.content.Intent.parseCommandArgs(Intent.java:7076)
at com.android.server.am.ActivityManagerShellCommand.makeIntent(ActivityManagerShellCommand.java:277)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:325)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:142)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:18771)
at android.os.Binder.shellCommand(Binder.java:581)
at android.os.Binder.onTransact(Binder.java:481)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4775)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3844)
at android.os.Binder.execTransact(Binder.java:682)
Bobs-MacBook-Pro:~ bobtate$ adb shell am start -n com.aa.dev.AmericanAirlines.MainActivity

Exception occurred while executing:
java.lang.IllegalArgumentException: Bad component name: com.aa.dev.AmericanAirlines.MainActivity
at android.content.Intent.parseCommandArgs(Intent.java:7076)
at com.android.server.am.ActivityManagerShellCommand.makeIntent(ActivityManagerShellCommand.java:277)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:325)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:142)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:18771)
at android.os.Binder.shellCommand(Binder.java:581)
at android.os.Binder.onTransact(Binder.java:481)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4775)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3844)
at android.os.Binder.execTransact(Binder.java:682)
Bobs-MacBook-Pro:~ bobtate$
Bobs-MacBook-Pro:~ bobtate$ clear

Bobs-MacBook-Pro:~ bobtate$ cd /Users/bobtate/Library/Android/sdk/platform-tools/
Bobs-MacBook-Pro:platform-tools bobtate$ adb -P 5037 -s 988a1643484534495a shell pm list packages com.aa.dev.AmericanAirlines’

Bobs-MacBook-Pro:platform-tools bobtate$ adb devices
List of devices attached
988a1643484534495a device

Bobs-MacBook-Pro:platform-tools bobtate$ clear

Bobs-MacBook-Pro:platform-tools bobtate$ adb shell am start -n

Exception occurred while executing:
java.lang.IllegalArgumentException: Argument expected after “-n”
at android.os.ShellCommand.getNextArgRequired(ShellCommand.java:276)
at android.content.Intent.parseCommandArgs(Intent.java:7073)
at com.android.server.am.ActivityManagerShellCommand.makeIntent(ActivityManagerShellCommand.java:277)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:325)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:142)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:18771)
at android.os.Binder.shellCommand(Binder.java:581)
at android.os.Binder.onTransact(Binder.java:481)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4775)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3844)
at android.os.Binder.execTransact(Binder.java:682)
Bobs-MacBook-Pro:platform-tools bobtate$ clear

Bobs-MacBook-Pro:platform-tools bobtate$ which appium
/usr/local/bin/appium
Bobs-MacBook-Pro:platform-tools bobtate$ cd…
-bash: cd…: command not found
Bobs-MacBook-Pro:platform-tools bobtate$ cd…
-bash: cd…: command not found
Bobs-MacBook-Pro:platform-tools bobtate$ cd\

Bobs-MacBook-Pro:~ bobtate$ clear

Bobs-MacBook-Pro:~ bobtate$ cd /path/where/installed/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
-bash: cd: /path/where/installed/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent: No such file or directory
Bobs-MacBook-Pro:~ bobtate$ cd /path/where/installed/lib/node_modules/appium/node_modules/appium-xcuitest-driver
-bash: cd: /path/where/installed/lib/node_modules/appium/node_modules/appium-xcuitest-driver: No such file or directory
Bobs-MacBook-Pro:~ bobtate$ which appium
/usr/local/bin/appium
Bobs-MacBook-Pro:~ bobtate$ cd ur
-bash: cd: ur: No such file or directory
Bobs-MacBook-Pro:~ bobtate$ cd usr
-bash: cd: usr: No such file or directory
Bobs-MacBook-Pro:~ bobtate$ cd /usr
Bobs-MacBook-Pro:usr bobtate$ clear

Bobs-MacBook-Pro:usr bobtate$ which appium
/usr/local/bin/appium
Bobs-MacBook-Pro:usr bobtate$ cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver
Bobs-MacBook-Pro:appium-xcuitest-driver bobtate$ cd WebDriverAgent/
Bobs-MacBook-Pro:WebDriverAgent bobtate$ clear

Bobs-MacBook-Pro:WebDriverAgent bobtate$ mkdir -p Resources/WebDriverAgent.bundle
Bobs-MacBook-Pro:WebDriverAgent bobtate$ ./Scripts/bootstrap.sh -d
Fetching dependencies
Please make sure that you have Carthage installed (GitHub - Carthage/Carthage: A simple, decentralized dependency manager for Cocoa)
Note: We are expecting that carthage installed in /usr/local/bin/
Bobs-MacBook-Pro:WebDriverAgent bobtate$ mkdir -p Resources/WebDriverAgent.module
Bobs-MacBook-Pro:WebDriverAgent bobtate$ sh ./Scripts/bootstrap.sh -d
-e Fetching dependencies
Please make sure that you have Carthage installed (GitHub - Carthage/Carthage: A simple, decentralized dependency manager for Cocoa)
Note: We are expecting that carthage installed in /usr/local/bin/
Bobs-MacBook-Pro:WebDriverAgent bobtate$
Bobs-MacBook-Pro:WebDriverAgent bobtate$ ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown bobtate /Library/Caches/Homebrew
==> Downloading and installing Homebrew…
HEAD is now at 8eecd0860 Merge pull request #5111 from MikeMcQuaid/desc-cache-fixes
Updated 1 tap (homebrew/core).
==> Migrating /Library/Caches/Homebrew to /Users/bobtate/Library/Caches/Homebrew
==> Deleting /Library/Caches/Homebrew…
==> New Formulae
c-blosc libcerf opensubdiv rke
i2pd objfw opentracing-cpp tdlib
==> Updated Formulae
abcde jhipster
aircrack-ng joplin
alluxio jrnl
annie jsonrpc-glib
ansible juju
ansible-cmdb kibana
apache-geode konoha
apache-spark krakend
app-engine-java kubernetes-service-catalog-client
arangodb landscaper
arcade-learning-environment ldc
ark legit
asdf libbtbb
atdtool libepoxy
autopep8 libgit2-glib
aws-elasticbeanstalk libheif
aws-okta libopusenc
awscli libphonenumber
awslogs libproxy
azure-cli libpst
b2-tools librealsense
ballerina libsecret
bat libtorrent-rasterbar
bcal libvirt
bde links
bento4 livestreamer
bettercap logstash
binwalk lxc
bitcoin mariadb
bitrise mdv
blink1 meson
blueutil metabase
brogue metaproxy
caffe micronaut
carthage miller
cern-ndiff mkdocs
cgal mkvtoolnix
chamber monero
cheat mongo-orchestration
checkbashisms mpv
chisel mscgen
chrome-export mupdf
circleci mupdf-tools
clamav ne
clipper nexus
cloc nginx
cmake node
cmocka node-build
collectd nodebrew
commandbox nomad
conan numpy
consul nyx
container-diff ocrmypdf
convox openapi-generator
cookiecutter openvdb
cpprestsdk orc-tools
credstash pandoc-citeproc
crosstool-ng passpie
crowdin pegtl
cvs2svn percol
darksky-weather phoronix-test-suite
dita-ot php
dnscrypt-proxy php-code-sniffer
dnstwist [email protected]
docker-compose phpunit
docker-squash picat
doctl pipenv
docutils pius
doitlive planck
duo_unix ponyc
elasticsearch poppler
elm-format presto
embulk prometheus
eralchemy proselint
erlang puzzles
erlang@17 python-markdown
euler-py rakudo-star
exercism rclone
eye-d3 remarshal
faas-cli restview
fabric roswell
fail2ban rst-lint
ffmbc rust
firebase-cli rustup-init
flatbuffers s-search
fmpp s3cmd
fn safe
fobis sbcl
ford sbt
fpc sceptre
freetds scour
futhark serverless
fzf shocco
geckodriver shpotify
genometools skaffold
geos skafos
git softhsm
git-annex sqlparse
git-open sshconfigfs
git-review sshuttle
git-standup sslmate
gitfs stormpath-cli
gitg stormssh
gitlab-runner streamlink
gitless strongswan
go sundials
godep suricata
goenv swiftformat
golang-migrate swiftgen
googler tarantool
goolabs tarsnapper
grafana telegraf
grakn teleport
grip termius
gst-editing-services terraform-docs
gst-libav terragrunt
gst-plugins-bad testssl
gst-plugins-base texmath
gst-plugins-good tinc
gst-plugins-ugly tippecanoe
gst-python topgrade
gst-rtsp-server translate-toolkit
gst-validate trash-cli
gstreamer tvnamer
gtkspell3 twarc
gwyddion twine-pypi
haproxy unoconv
hashpump unrar
hcloud urweb
[email protected] vert.x
highlight vice
hledger vim
hmmer wakatime-cli
honcho watchman
howdoi watson
hugo wireguard-go
hyperfine wireguard-tools
i2p wireshark
internetarchive x265
iproute2mac yamllint
ipv6calc yaz
jbake ydcv
jenkins ykman
jenkins-job-builder yle-dl
jenkins-lts youtube-dl
jetty yubico-piv-tool
jetty-runner zenity
jflex zstd
jfrog-cli-go
==> Deleted Formulae
asciinema2gif ib onepass reclass
casperjs juju-quickstart [email protected] sickbeard
hachoir-metadata mimms queequeg sonarlint
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
Anonymous Analytics — Homebrew Documentation

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
GitHub - Homebrew/brew: 🍺 The missing package manager for macOS (or Linux)
==> Next steps:

####### ########## ############### ################### ####################### ########################### ############################### ################################## ####################################### ############################################ ################################################ #################################################### ########################################################## ############################################################################################################################################################################################################################################################ 100.0%

==> Pouring carthage-0.31.1.high_sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d

zsh completions have been installed to:
/usr/local/share/zsh/site-functions
==> Summary
:beer: /usr/local/Cellar/carthage/0.31.1: 69 files, 25.2MB
Bobs-MacBook-Pro:WebDriverAgent bobtate$ mkdir -p Resources/WebDriverAgent.module
Bobs-MacBook-Pro:WebDriverAgent bobtate$ sh ./Scripts/bootstrap.sh -d
-e Fetching dependencies
*** Checking out CocoaAsyncSocket at “7.6.3”
*** Checking out YYCache at “1.0.5”
*** Checking out RoutingHTTPServer at “v1.0.1”
*** Cloning YYCache
*** Cloning CocoaAsyncSocket
*** Cloning RoutingHTTPServer
*** xcodebuild output can be found in /var/folders/ys/rl934sjs7dd38nwrb679j_vr0000gn/T/carthage-xcodebuild.KCYfyc.log
*** Downloading RoutingHTTPServer.framework binary at “v1.0.1”
*** Downloading CocoaAsyncSocket.framework binary at “Version 7.6.3”
*** Downloading YYCache.framework binary at “v1.0.5”
Bobs-MacBook-Pro:WebDriverAgent bobtate$ clear

Bobs-MacBook-Pro:WebDriverAgent bobtate$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=<0d04ef9cb94fd731a7303f2e85d09d3eae409957>’ test

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:<0d04ef9cb94fd731a7303f2e85d09d3eae409957> }

The requested device could not be found because no available devices matched the request.

Available destinations for the "WebDriverAgentRunner" scheme:
	{ platform:iOS, id:0d04ef9cb94fd731a7303f2e85d09d3eae409957, name:American Airline iPhone6 }
	{ platform:iOS Simulator, id:41204F2C-11E8-44DD-9AD4-2ED7138329FB, OS:12.0, name:iPad (5th generation) }
	{ platform:iOS Simulator, id:D592F8B8-2CBE-4FAD-8CB4-186853FF15E3, OS:12.0, name:iPad (6th generation) }
	{ platform:iOS Simulator, id:1AAD5B57-DEE9-43C1-8DCE-30D8429EB529, OS:12.0, name:iPad Air }
	{ platform:iOS Simulator, id:9A676F91-E51F-4462-BE4D-3CD56740DAFC, OS:12.0, name:iPad Air 2 }
	{ platform:iOS Simulator, id:541BBD02-0C94-4BD5-B91D-1F561FD7AADE, OS:12.0, name:iPad Pro (9.7-inch) }
	{ platform:iOS Simulator, id:39B7F074-1F1E-4D0B-99AC-605BDD62A3CA, OS:12.0, name:iPad Pro (10.5-inch) }
	{ platform:iOS Simulator, id:001C8C83-8946-445D-B91A-E51D1AD4BED0, OS:12.0, name:iPad Pro (12.9-inch) }
	{ platform:iOS Simulator, id:9D9563CA-B612-4271-BC73-B4FCEF694924, OS:12.0, name:iPad Pro (12.9-inch) (2nd generation) }
	{ platform:iOS Simulator, id:6C2B53F2-A698-4F9C-9D8E-6B6F367F16C2, OS:12.0, name:iPhone 5s }
	{ platform:iOS Simulator, id:F4A09A16-54E9-419D-BC79-CDF90DC1120F, OS:12.0, name:iPhone 6 }
	{ platform:iOS Simulator, id:638BAC20-910B-48F7-BE6B-6CE5E26040A7, OS:12.0, name:iPhone 6 Plus }
	{ platform:iOS Simulator, id:2F9347C5-C8BD-4454-BE64-125A1A722CA2, OS:12.0, name:iPhone 6s }
	{ platform:iOS Simulator, id:A357F951-369B-4121-9AAB-697157D669FF, OS:12.0, name:iPhone 6s Plus }
	{ platform:iOS Simulator, id:67C56DFB-D8C8-4411-A562-2FA77D0AE3A8, OS:12.0, name:iPhone 7 }
	{ platform:iOS Simulator, id:9BE8C717-362F-4FBD-BD68-A663A8ED3364, OS:12.0, name:iPhone 7 Plus }
	{ platform:iOS Simulator, id:43205DD5-F70D-41DD-AD7C-C96D78065A49, OS:12.0, name:iPhone 8 }
	{ platform:iOS Simulator, id:223443B5-E844-4796-9CB6-9E3221DD685F, OS:12.0, name:iPhone 8 Plus }
	{ platform:iOS Simulator, id:994DDFA8-ED0E-4BBD-A407-0CDCCFE52085, OS:12.0, name:iPhone SE }
	{ platform:iOS Simulator, id:3BFD578E-B28C-42D6-9532-3F53114AA401, OS:12.0, name:iPhone X }
	{ platform:iOS Simulator, id:D201D9C8-1680-40F5-A7C4-917D74F1E3F7, OS:12.0, name:iPhone XR }
	{ platform:iOS Simulator, id:F009B603-B198-498C-8CD5-C7890D880668, OS:12.0, name:iPhone XS }
	{ platform:iOS Simulator, id:6B54271D-AFB8-4AD2-B453-728A5820644D, OS:12.0, name:iPhone XS Max }

Ineligible destinations for the "WebDriverAgentRunner" scheme:
	{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }
	{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }

Bobs-MacBook-Pro:WebDriverAgent bobtate$
Bobs-MacBook-Pro:WebDriverAgent bobtate$ clear

Bobs-MacBook-Pro:WebDriverAgent bobtate$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=<0d04ef9cb94fd731a7303f2e85d09d3eae409957>’ test

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:<0d04ef9cb94fd731a7303f2e85d09d3eae409957> }

The requested device could not be found because no available devices matched the request.

Available destinations for the "WebDriverAgentRunner" scheme:
	{ platform:iOS, id:0d04ef9cb94fd731a7303f2e85d09d3eae409957, name:American Airline iPhone6 }
	{ platform:iOS Simulator, id:41204F2C-11E8-44DD-9AD4-2ED7138329FB, OS:12.0, name:iPad (5th generation) }
	{ platform:iOS Simulator, id:D592F8B8-2CBE-4FAD-8CB4-186853FF15E3, OS:12.0, name:iPad (6th generation) }
	{ platform:iOS Simulator, id:1AAD5B57-DEE9-43C1-8DCE-30D8429EB529, OS:12.0, name:iPad Air }
	{ platform:iOS Simulator, id:9A676F91-E51F-4462-BE4D-3CD56740DAFC, OS:12.0, name:iPad Air 2 }
	{ platform:iOS Simulator, id:541BBD02-0C94-4BD5-B91D-1F561FD7AADE, OS:12.0, name:iPad Pro (9.7-inch) }
	{ platform:iOS Simulator, id:39B7F074-1F1E-4D0B-99AC-605BDD62A3CA, OS:12.0, name:iPad Pro (10.5-inch) }
	{ platform:iOS Simulator, id:001C8C83-8946-445D-B91A-E51D1AD4BED0, OS:12.0, name:iPad Pro (12.9-inch) }
	{ platform:iOS Simulator, id:9D9563CA-B612-4271-BC73-B4FCEF694924, OS:12.0, name:iPad Pro (12.9-inch) (2nd generation) }
	{ platform:iOS Simulator, id:6C2B53F2-A698-4F9C-9D8E-6B6F367F16C2, OS:12.0, name:iPhone 5s }
	{ platform:iOS Simulator, id:F4A09A16-54E9-419D-BC79-CDF90DC1120F, OS:12.0, name:iPhone 6 }
	{ platform:iOS Simulator, id:638BAC20-910B-48F7-BE6B-6CE5E26040A7, OS:12.0, name:iPhone 6 Plus }
	{ platform:iOS Simulator, id:2F9347C5-C8BD-4454-BE64-125A1A722CA2, OS:12.0, name:iPhone 6s }
	{ platform:iOS Simulator, id:A357F951-369B-4121-9AAB-697157D669FF, OS:12.0, name:iPhone 6s Plus }
	{ platform:iOS Simulator, id:67C56DFB-D8C8-4411-A562-2FA77D0AE3A8, OS:12.0, name:iPhone 7 }
	{ platform:iOS Simulator, id:9BE8C717-362F-4FBD-BD68-A663A8ED3364, OS:12.0, name:iPhone 7 Plus }
	{ platform:iOS Simulator, id:43205DD5-F70D-41DD-AD7C-C96D78065A49, OS:12.0, name:iPhone 8 }
	{ platform:iOS Simulator, id:223443B5-E844-4796-9CB6-9E3221DD685F, OS:12.0, name:iPhone 8 Plus }
	{ platform:iOS Simulator, id:994DDFA8-ED0E-4BBD-A407-0CDCCFE52085, OS:12.0, name:iPhone SE }
	{ platform:iOS Simulator, id:3BFD578E-B28C-42D6-9532-3F53114AA401, OS:12.0, name:iPhone X }
	{ platform:iOS Simulator, id:D201D9C8-1680-40F5-A7C4-917D74F1E3F7, OS:12.0, name:iPhone XR }
	{ platform:iOS Simulator, id:F009B603-B198-498C-8CD5-C7890D880668, OS:12.0, name:iPhone XS }
	{ platform:iOS Simulator, id:6B54271D-AFB8-4AD2-B453-728A5820644D, OS:12.0, name:iPhone XS Max }

Ineligible destinations for the "WebDriverAgentRunner" scheme:
	{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }
	{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }

Bobs-MacBook-Pro:WebDriverAgent bobtate$
Bobs-MacBook-Pro:WebDriverAgent bobtate$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=0d04ef9cb94fd731a7303f2e85d09d3eae409957’ test
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: Provisioning profile “iOS Team Provisioning Profile: com.aa.cciMobile4” doesn’t include the currently selected device “American Airline iPhone6”. (in target ‘WebDriverAgentRunner’)

2018-10-16 17:04:54.606 xcodebuild[13998:360342] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050
Details: log recorder was sent -stopRecordingWithInfo:completionBlock: after it had already been asked to stop recording.
Object: <IDEActivityLogSectionRecorder: 0x7f9412c44bc0>
Method: -stopRecordingWithInfo:completionBlock:
Thread: <NSThread: 0x7f9412816710>{number = 6, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.

Testing failed:
Provisioning profile “iOS Team Provisioning Profile: com.aa.cciMobile4” doesn’t include the currently selected device “American Airline iPhone6”. (in target ‘WebDriverAgentRunner’)
Testing cancelled because the build failed.
** TEST FAILED **

Bobs-MacBook-Pro:WebDriverAgent bobtate$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=0d04ef9cb94fd731a7303f2e85d09d3eae409957 test
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: Provisioning profile “iOS Team Provisioning Profile: com.aa.cciMobile4” doesn’t include the currently selected device “American Airline iPhone6”. (in target ‘WebDriverAgentRunner’)

2018-10-16 17:05:44.863 xcodebuild[14007:361067] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050
Details: log recorder was sent -stopRecordingWithInfo:completionBlock: after it had already been asked to stop recording.
Object: <IDEActivityLogSectionRecorder: 0x7fb8d650b8c0>
Method: -stopRecordingWithInfo:completionBlock:
Thread: <NSThread: 0x7fb8cee46840>{number = 8, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.

Testing failed:
Provisioning profile “iOS Team Provisioning Profile: com.aa.cciMobile4” doesn’t include the currently selected device “American Airline iPhone6”. (in target ‘WebDriverAgentRunner’)
Testing cancelled because the build failed.
** TEST FAILED **

Bobs-MacBook-Pro:WebDriverAgent bobtate$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=0d04ef9cb94fd731a7303f2e85d09d3eae409957 test
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: Provisioning profile “iOS Team Provisioning Profile: com.aa.cciMobile4” doesn’t include the currently selected device “American Airline iPhone6”. (in target ‘WebDriverAgentRunner’)

2018-10-16 17:24:36.075 xcodebuild[14182:374284] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050
Details: log recorder was sent -stopRecordingWithInfo:completionBlock: after it had already been asked to stop recording.
Object: <IDEActivityLogSectionRecorder: 0x7fd7c1c9c480>
Method: -stopRecordingWithInfo:completionBlock:
Thread: <NSThread: 0x7fd7bb9b4a30>{number = 8, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.

Testing failed:
Provisioning profile “iOS Team Provisioning Profile: com.aa.cciMobile4” doesn’t include the currently selected device “American Airline iPhone6”. (in target ‘WebDriverAgentRunner’)
Testing cancelled because the build failed.
** TEST FAILED **

Bobs-MacBook-Pro:WebDriverAgent bobtate$ clear

Bobs-MacBook-Pro:WebDriverAgent bobtate$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=0d04ef9cb94fd731a7303f2e85d09d3eae409957 test
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: Provisioning profile “iOS Team Provisioning Profile: com.aa.cciMobile4” doesn’t include the currently selected device “American Airline iPhone6”. (in target ‘WebDriverAgentRunner’)

2018-10-16 17:24:43.840 xcodebuild[14191:374460] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050
Details: log recorder was sent -stopRecordingWithInfo:completionBlock: after it had already been asked to stop recording.
Object: <IDEActivityLogSectionRecorder: 0x7f8351d8ba30>
Method: -stopRecordingWithInfo:completionBlock:
Thread: <NSThread: 0x7f8351ec8f30>{number = 13, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.

Testing failed:
Provisioning profile “iOS Team Provisioning Profile: com.aa.cciMobile4” doesn’t include the currently selected device “American Airline iPhone6”. (in target ‘WebDriverAgentRunner’)
Testing cancelled because the build failed.
** TEST FAILED **

Bobs-MacBook-Pro:WebDriverAgent bobtate$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=0d04ef9cb94fd731a7303f2e85d09d3eae409957 test
note: Using new build system
note: Planning build
note: Constructing build description
ProcessInfoPlistFile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Info.plist /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Info.plist (in target: WebDriverAgentLib)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-infoPlistUtility /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Info.plist -expandbuildsettings -format binary -platform iphoneos -requiredArchitecture arm64 -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Info.plist

ProcessProductPackaging “” /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

Entitlements:

{
“application-identifier” = “ZGE7Q5M697.com.aa.dev.AmericanAirlines”;
“com.apple.developer.team-identifier” = ZGE7Q5M697;
“get-task-allow” = 1;
“keychain-access-groups” = (
“ZGE7Q5M697.com.aa.dev.AmericanAirlines”
);
}

builtin-productPackagingUtility -entitlements -format xml -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: replacing existing signature
/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: replacing existing signature
/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

ProcessInfoPlistFile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Info.plist /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/Info.plist (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-infoPlistUtility /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/Info.plist -expandbuildsettings -format binary -platform iphoneos -additionalcontentfile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/ProductTypeInfoPlistAdditions.plist -requiredArchitecture arm64 -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Info.plist

PBXCp /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -exclude *.tbd -resolve-src-symlinks /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks

GenerateDSYMFile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest.dSYM /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest.dSYM

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

2018-10-16 17:29:05.085 xcodebuild[14634:379991] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050
Details: log recorder was sent -stopRecordingWithInfo:completionBlock: after it had already been asked to stop recording.
Object: <IDEActivityLogSectionRecorder: 0x7fd89cad4c10>
Method: -stopRecordingWithInfo:completionBlock:
Thread: <NSThread: 0x7fd896909180>{number = 7, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.

Testing failed:
Command CodeSign failed with a nonzero exit code
Testing cancelled because the build failed.
** TEST FAILED **

The following build commands failed:
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
(4 failures)
Bobs-MacBook-Pro:WebDriverAgent bobtate$ clear

Bobs-MacBook-Pro:WebDriverAgent bobtate$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=0d04ef9cb94fd731a7303f2e85d09d3eae409957 test
note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products (in target: WebDriverAgentLib)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-create-build-directory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products

CreateBuildDirectory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex (in target: WebDriverAgentLib)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-create-build-directory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex

ProcessInfoPlistFile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Info.plist /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Info.plist (in target: WebDriverAgentLib)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-infoPlistUtility /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Info.plist -expandbuildsettings -format binary -platform iphoneos -requiredArchitecture arm64 -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Info.plist

ProcessProductPackaging “” /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

Entitlements:

{
“application-identifier” = “ZGE7Q5M697.com.aa.dev.AmericanAirlines”;
“com.apple.developer.team-identifier” = ZGE7Q5M697;
“get-task-allow” = 1;
“keychain-access-groups” = (
“ZGE7Q5M697.com.aa.dev.AmericanAirlines”
);
}

builtin-productPackagingUtility -entitlements -format xml -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: replacing existing signature
/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: replacing existing signature
/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

ProcessInfoPlistFile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Info.plist /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/Info.plist (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-infoPlistUtility /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/Info.plist -expandbuildsettings -format binary -platform iphoneos -additionalcontentfile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/ProductTypeInfoPlistAdditions.plist -requiredArchitecture arm64 -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Info.plist

PBXCp /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -exclude *.tbd -resolve-src-symlinks /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks

GenerateDSYMFile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest.dSYM /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest.dSYM

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

2018-10-17 09:48:54.598 xcodebuild[15402:405278] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050
Details: log recorder was sent -stopRecordingWithInfo:completionBlock: after it had already been asked to stop recording.
Object: <IDEActivityLogSectionRecorder: 0x7f8fb151b7e0>
Method: -stopRecordingWithInfo:completionBlock:
Thread: <NSThread: 0x7f8faba50e50>{number = 7, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.

Testing failed:
Command CodeSign failed with a nonzero exit code
Testing cancelled because the build failed.
** TEST FAILED **

The following build commands failed:
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
(4 failures)
Bobs-MacBook-Pro:WebDriverAgent bobtate$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=‘0d04ef9cb94fd731a7303f2e85d09d3eae409957’ test
note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-create-build-directory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex

CreateBuildDirectory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-create-build-directory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products

GenerateDSYMFile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest.dSYM /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest.dSYM

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: replacing existing signature
/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: replacing existing signature
/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

2018-10-17 09:50:14.005 xcodebuild[15423:406089] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050
Details: log recorder was sent -stopRecordingWithInfo:completionBlock: after it had already been asked to stop recording.
Object: <IDEActivityLogSectionRecorder: 0x7faa40272a10>
Method: -stopRecordingWithInfo:completionBlock:
Thread: <NSThread: 0x7faa40136e00>{number = 10, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.

Testing failed:
Command CodeSign failed with a nonzero exit code
Testing cancelled because the build failed.
** TEST FAILED **

The following build commands failed:
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework
(4 failures)
Bobs-MacBook-Pro:WebDriverAgent bobtate$ clear

Bobs-MacBook-Pro:WebDriverAgent bobtate$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=‘0d04ef9cb94fd731a7303f2e85d09d3eae409957’ test
note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex (in target: WebDriverAgentLib)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-create-build-directory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex

CreateBuildDirectory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products (in target: WebDriverAgentLib)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
builtin-create-build-directory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: replacing existing signature
/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework (in target: WebDriverAgentRunner)
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
(d6713284-1e63-42cf-83ed-1a3db4bb3301)

/usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework

/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: replacing existing signature
/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code

2018-10-17 09:52:14.213 xcodebuild[15448:407292] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050
Details: log recorder was sent -stopRecordingWithInfo:completionBlock: after it had already been asked to stop recording.
Object: <IDEActivityLogSectionRecorder: 0x7fcc5b0d3380>
Method: -stopRecordingWithInfo:completionBlock:
Thread: <NSThread: 0x7fcc53dc5800>{number = 9, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.

Testing failed:
Command CodeSign failed with a nonzero exit code
Testing cancelled because the build failed.
** TEST FAILED **

The following build commands failed:
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework
CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework
(4 failures)
Bobs-MacBook-Pro:WebDriverAgent bobtate$

When I ran the code in intellij idea please find the console output:

Testing started at 9:55 AM …
9:55:14 AM: Executing task ‘test -Dstory.filter=And_VerifyingFlightsPage.story -Dvirtualdevice=false -Ddevice=ios -DtestEnv=QA-QaBranch-mobileCCI -Dversion=70743’…

Note: /Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/src/main/java/com/aa/qmo/AAJbehaveStories.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:compileJava
:compileGroovy NO-SOURCE
:processResources
:classes
:clean
:copyJbehaveStyle
:copyStories
Note: /Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/src/main/java/com/aa/qmo/AAJbehaveStories.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:compileTestJava
:compileTestGroovy NO-SOURCE
:processTestResources
:testClasses
:test
log4j:WARN No such property [datePattern] in org.apache.log4j.RollingFileAppender.
getClassPath classpath = /Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/build/classes/java/test/
[Appium] Welcome to Appium v1.9.1
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] sessionOverride: true
[Appium] log: /Users/bobtate/AppiumServerLogs.txt
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] → GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args:
[debug] [GENERIC] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.9.1”}}
[HTTP] ← GET /wd/hub/status 200 6 ms - 67
[HTTP]
[HTTP] → POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“app”:“/Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/src/mobileCCI.ipa”,“rotatable”:true,“apppackage”:“com.aa.dev.AmericanAirlines”,“deviceName”:“American Airline iPhone6”,“fullReset”:true,“showXcodeLog”:true,“newCommandTimeout”:600,“automationName”:“XCUITest”,“useNewWDA”:true,“autoGrantPermissions”:“true”,“takesScreenshot”:true,“platformName”:“iOS”,“udid”:“0d04ef9cb94fd731a7303f2e85d09d3eae409957”},“capabilities”:{“alwaysMatch”:{“appium:app”:“/Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/src/mobileCCI.ipa”,“apppackage”:“com.aa.dev.AmericanAirlines”,“appium:autoGrantPermissions”:“true”,“appium:automationName”:“XCUITest”,“appium:deviceName”:“American Airline iPhone6”,“appium:fullReset”:true,“appium:newCommandTimeout”:600,“platformName”:“ios”,“rotatable”:true,“appium:showXcodeLog”:true,“takesScreenshot”:true,“appium:udid”:“0d04ef9cb94fd731a7303f2e85d09d3eae409957”,“appium:useNewWDA”:true},“firstMatch”:[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{“app”:“/Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/src/mobileCCI.ipa”,“rotatable”:true,“apppackage”:“com.aa.dev.AmericanAirlines”,“deviceName”:“American Airline iPhone6”,“fullReset”:true,“showXcodeLog”:true,“newCommandTimeout”:600,“automationName”:“XCUITest”,“useNewWDA”:true,“autoGrantPermissions”:“true”,“takesScreenshot”:true,“platformName”:“iOS”,“udid”:“0d04ef9cb94fd731a7303f2e85d09d3eae409957”},null,{“alwaysMatch”:{“appium:app”:“/Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/src/mobileCCI.ipa”,“apppackage”:“com.aa.dev.AmericanAirlines”,“appium:autoGrantPermissions”:“true”,“appium:automationName”:“XCUITest”,“appium:deviceName”:“American Airline iPhone6”,“appium:fullReset”:true,“appium:newCommandTimeout”:600,“platformName”:“ios”,“rotatable”:true,“appium:showXcodeLog”:true,“takesScreenshot”:true,“appium:udid”:“0d04ef9cb94fd731a7303f2e85d09d3eae409957”,“appium:useNewWDA”:true},“firstMatch”:[{}]}]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1539788118078 (09:55:18 GMT-0500 (CDT))
[BaseDriver] The capabilities [“apppackage”,“rotatable”,“takesScreenshot”] are not standard capabilities and should have an extension prefix
[Appium] Creating new XCUITestDriver (v2.94.2) session
[Appium] Capabilities:
[Appium] apppackage: com.aa.dev.AmericanAirlines
[Appium] platformName: ios
[Appium] rotatable: true
[Appium] takesScreenshot: true
[Appium] app: /Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/src/mobileCCI.ipa
[Appium] autoGrantPermissions: true
[Appium] automationName: XCUITest
[Appium] deviceName: American Airline iPhone6
[Appium] fullReset: true
[Appium] newCommandTimeout: 600
[Appium] showXcodeLog: true
[Appium] udid: 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Appium] useNewWDA: true
[debug] [BaseDriver] W3C capabilities {“alwaysMatch”:{“appium:app… and MJSONWP desired capabilities {“app”:”/Users/bobtate/Idea… were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {“alwaysMatch”:{"appium:app…
[BaseDriver] The following capabilities were provided, but are not recognized by appium: apppackage, rotatable, takesScreenshot, autoGrantPermissions.
[BaseDriver] Session created with session id: 77bc9393-4933-45bb-b565-c877fa37d8bf
[debug] [XCUITest] Current user: ‘bobtate’
[debug] [XCUITest] Xcode version set to ‘10.0’ (tools v10.0.0.0.1.1535735448)
[debug] [XCUITest] iOS SDK Version set to ‘12.0’
[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1539788118271 (09:55:18 GMT-0500 (CDT))
[debug] [XCUITest] Available devices: 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[debug] [XCUITest] Creating iDevice object with udid ‘0d04ef9cb94fd731a7303f2e85d09d3eae409957’
[XCUITest] Determining device to run tests on: udid: ‘0d04ef9cb94fd731a7303f2e85d09d3eae409957’, real device: true
[BaseDriver] Using local app ‘/Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/src/mobileCCI.ipa’
[debug] [BaseDriver] Copying local zip to tmp dir
[BaseDriver] Unzipping local app ‘/var/folders/ys/rl934sjs7dd38nwrb679j_vr0000gn/T/2018917-15473-rjie95.yxib/appium-app.zip’…
[debug] [BaseDriver] Unzipping /var/folders/ys/rl934sjs7dd38nwrb679j_vr0000gn/T/2018917-15473-rjie95.yxib/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/ys/rl934sjs7dd38nwrb679j_vr0000gn/T/2018917-15473-rjie95.yxib/appium-app.zip
[BaseDriver] Unzipped local app to ‘/var/folders/ys/rl934sjs7dd38nwrb679j_vr0000gn/T/2018917-15473-rjie95.yxib/Payload/mobileCCI.app’
[debug] [BaseDriver] Event ‘appConfigured’ logged at 1539788119269 (09:55:19 GMT-0500 (CDT))
[debug] [XCUITest] Checking whether app ‘/var/folders/ys/rl934sjs7dd38nwrb679j_vr0000gn/T/2018917-15473-rjie95.yxib/Payload/mobileCCI.app’ is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app ‘/var/folders/ys/rl934sjs7dd38nwrb679j_vr0000gn/T/2018917-15473-rjie95.yxib/Payload/mobileCCI.app’: ‘com.aa.mobileCCIv4’
[debug] [BaseDriver] Event ‘resetStarted’ logged at 1539788119277 (09:55:19 GMT-0500 (CDT))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [XCUITest] Reset: fullReset requested. Will try to uninstall the app ‘com.aa.mobileCCIv4’.
[debug] [XCUITest] Reset: removed ‘com.aa.mobileCCIv4’
[debug] [BaseDriver] Event ‘resetComplete’ logged at 1539788120688 (09:55:20 GMT-0500 (CDT))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: ‘idevicesyslog’
[XCUITest] Cannot get the name of the crashes folder for the device with udid ‘0d04ef9cb94fd731a7303f2e85d09d3eae409957’. Original error: Command ‘idevicename -u 0d04ef9cb94fd731a7303f2e85d09d3eae409957’ exited with code 255
[debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1539788121438 (09:55:21 GMT-0500 (CDT))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: [“iPhoneOS”]
[debug] [XCUITest] Installing ‘/var/folders/ys/rl934sjs7dd38nwrb679j_vr0000gn/T/2018917-15473-rjie95.yxib/Payload/mobileCCI.app’ on device with UUID ‘0d04ef9cb94fd731a7303f2e85d09d3eae409957’…
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event ‘appInstalled’ logged at 1539788134887 (09:55:34 GMT-0500 (CDT))
[XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [XCUITest] Capability ‘useNewWDA’ set to true, so uninstalling WDA before proceeding
[XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device
[debug] [BaseDriver] Event ‘wdaUninstalled’ logged at 1539788135599 (09:55:35 GMT-0500 (CDT))
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1539788135600 (09:55:35 GMT-0500 (CDT))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[debug] [XCUITest] Killing running processes ‘xcodebuild.*0d04ef9cb94fd731a7303f2e85d09d3eae409957, iproxy 8100’ for the device 0d04ef9cb94fd731a7303f2e85d09d3eae409957…
[debug] [XCUITest] ‘pgrep -nif xcodebuild.*0d04ef9cb94fd731a7303f2e85d09d3eae409957’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif iproxy 8100’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[XCUITest] Cannot parse major and minor version numbers from platformVersion “null”. Will build for the default platform instead
[debug] [XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=0d04ef9cb94fd731a7303f2e85d09d3eae409957’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[debug] [XCUITest] Output from xcodebuild will be logged. To change this, use ‘showXcodeLog’ desired capability
[Xcode] note: Using new build system
[Xcode]
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] note: Planning build
[Xcode]
[Xcode] note: Constructing build description
[Xcode]
[Xcode] ProcessInfoPlistFile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Info.plist /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Info.plist (in target: WebDriverAgentLib)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-infoPlistUtility /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Info.plist -expandbuildsettings -format binary -platform iphoneos -requiredArchitecture arm64 -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Info.plist
[Xcode]
[Xcode]
[Xcode]
[Xcode] ProcessProductPackaging “” /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode]
[Xcode]
[Xcode] Entitlements:
[Xcode]
[Xcode] {
[Xcode] “application-identifier” = “ZGE7Q5M697.com.aa.dev.AmericanAirlines”;
[Xcode] “com.apple.developer.team-identifier” = ZGE7Q5M697;
[Xcode] “get-task-allow” = 1;
[Xcode] “keychain-access-groups” = (
[Xcode] “ZGE7Q5M697.com.aa.dev.AmericanAirlines”
[Xcode] );
[Xcode] }
[Xcode]
[Xcode]
[Xcode] builtin-productPackagingUtility -entitlements -format xml -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent
[Xcode]
[Xcode]
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
[Xcode] Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
[Xcode] (d6713284-1e63-42cf-83ed-1a3db4bb3301)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework
[Xcode]
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: replacing existing signature
[Xcode]
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: errSecInternalComponent
[Xcode]
[Xcode] Command CodeSign failed with a nonzero exit code
[Xcode]
[Xcode]
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
[Xcode] Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
[Xcode] (d6713284-1e63-42cf-83ed-1a3db4bb3301)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework: errSecInternalComponent
[Xcode] Command CodeSign failed with a nonzero exit code
[Xcode]
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
[Xcode] Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
[Xcode] (d6713284-1e63-42cf-83ed-1a3db4bb3301)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: replacing existing signature
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: errSecInternalComponent
[Xcode] Command CodeSign failed with a nonzero exit code
[Xcode]
[Xcode] ProcessInfoPlistFile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Info.plist /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/Info.plist (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-infoPlistUtility /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/Info.plist -expandbuildsettings -format binary -platform iphoneos -additionalcontentfile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/ProductTypeInfoPlistAdditions.plist -requiredArchitecture arm64 -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Info.plist
[Xcode]
[Xcode] PBXCp /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -exclude *.tbd -resolve-src-symlinks /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks
[Xcode]
[Xcode] GenerateDSYMFile /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest.dSYM /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner -o /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest.dSYM
[Xcode]
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
[Xcode] Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
[Xcode] (d6713284-1e63-42cf-83ed-1a3db4bb3301)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
[Xcode]
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework: errSecInternalComponent
[Xcode]
[Xcode] Command CodeSign failed with a nonzero exit code
[Xcode]
[Xcode]
[Xcode]
[Xcode] ** TEST BUILD FAILED **
[Xcode]
[Xcode]
[Xcode] The following build commands failed:
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
[Xcode]
[Xcode] (4 failures)
[Xcode]
[debug] [XCUITest] Log file for xcodebuild test: /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-41–0500.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-FA844226-A8E2-42E5-98BB-7D1A69D4554B/WebDriverAgentRunner-D256CA3D-E12F-4F74-85AA-8E5EE849DBDE/Session-WebDriverAgentRunner-2018-10-17_095542-LH0fTt.log
[Xcode] 2018-10-17 09:55:42.505 xcodebuild[15499:409398] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-41–0500.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-FA844226-A8E2-42E5-98BB-7D1A69D4554B/WebDriverAgentRunner-D256CA3D-E12F-4F74-85AA-8E5EE849DBDE/Session-WebDriverAgentRunner-2018-10-17_095542-LH0fTt.log
[Xcode]
[Xcode] 2018-10-17 09:55:42.506 xcodebuild[15499:409365] [MT] IDETestOperationsObserverDebug: (374CE341-6006-4951-844A-77E67289305D) Beginning test session WebDriverAgentRunner-374CE341-6006-4951-844A-77E67289305D at 2018-10-17 09:55:42.506 with Xcode 10A255 on target :iphone:<DVTiOSDevice (0x7feaafe61d80), American Airline iPhone6, iPhone, 11.3 (15E216), 0d04ef9cb94fd731a7303f2e85d09d3eae409957> {
[Xcode] deviceSerialNumber: DNTPW6YJG5MN
[Xcode] identifier: 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Xcode] deviceClass: iPhone
[Xcode] deviceName: American Airline iPhone6
[Xcode] deviceIdentifier: 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Xcode] productVersion: 11.3
[Xcode] buildVersion: 15E216
[Xcode] deviceSoftwareVersion: 11.3 (15E216)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 12531359744
[Xcode] deviceAvailableCapacity: 8312442880
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsPaired: YES
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType: <DVTDeviceType:0x7feaaad55ed0 Xcode.DeviceType.iPhone>
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs: (null)
[Xcode] connected: yes
[Xcode] isWirelessEnabled: no
[Xcode] connectionType: direct
[Xcode] hostname: (null)
[Xcode] bonjourServiceName: 78:d7:5f:ec:5a:4d@fe80::7ad7:5fff:feec:5a4d._apple-mobdev2._tcp.local.
[Xcode] } (11.3 (15E216))
[Xcode]
[debug] [JSONWP Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode]
[Xcode]
[Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-41–0500.xcresult
[Xcode]
[Xcode]
[Xcode] 2018-10-17 09:55:43.392 xcodebuild[15499:409365] [MT] IDETestOperationsObserverDebug: 0.897 elapsed – Testing started completed.
[Xcode] 2018-10-17 09:55:43.392 xcodebuild[15499:409365] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start
[Xcode]
[Xcode] 2018-10-17 09:55:43.392 xcodebuild[15499:409365] [MT] IDETestOperationsObserverDebug: 0.897 sec, +0.897 sec – end
[Xcode] 2018-10-17 09:55:43.392 xcodebuild[15499:409365] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 “The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.” UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[Xcode] 2018-10-17 09:55:43.392 xcodebuild[15499:409365] Error Domain=IDETestOperationsObserverErrorDomain Code=4 “The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.” UserInfo={NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read., NSLocalizedRecoverySuggestion=If you believe this error represents a bug, please attach the result bundle at /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-41–0500.xcresult}
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode] Command CodeSign failed with a nonzero exit code
[Xcode] encountered an error (The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.)
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started on ‘American Airline iPhone6’
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[Xcode] Contents of xcodebuild log file ‘/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-41–0500.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-FA844226-A8E2-42E5-98BB-7D1A69D4554B/WebDriverAgentRunner-D256CA3D-E12F-4F74-85AA-8E5EE849DBDE/Session-WebDriverAgentRunner-2018-10-17_095542-LH0fTt.log’:
[Xcode] 09:55:42.506 xcodebuild[15499:409365] Beginning test session WebDriverAgentRunner-374CE341-6006-4951-844A-77E67289305D at 2018-10-17 09:55:42.506 with Xcode 10A255 on target :iphone:<DVTiOSDevice (0x7feaafe61d80), American Airline iPhone6, iPhone, 11.3 (15E216), 0d04ef9cb94fd731a7303f2e85d09d3eae409957> {
[Xcode] deviceSerialNumber: DNTPW6YJG5MN
[Xcode] identifier: 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Xcode] deviceClass: iPhone
[Xcode] deviceName: American Airline iPhone6
[Xcode] deviceIdentifier: 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Xcode] productVersion: 11.3
[Xcode] buildVersion: 15E216
[Xcode] deviceSoftwareVersion: 11.3 (15E216)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 12531359744
[Xcode] deviceAvailableCapacity: 8312442880
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsPaired: YES
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType: <DVTDeviceType:0x7feaaad55ed0 Xcode.DeviceType.iPhone>
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs: (null)
[Xcode] connected: yes
[Xcode] isWirelessEnabled: no
[Xcode] connectionType: direct
[Xcode] hostname: (null)
[Xcode] bonjourServiceName: 78:d7:5f:ec:5a:4d@fe80::7ad7:5fff:feec:5a4d._apple-mobdev2._tcp.local.
[Xcode] } (11.3 (15E216))
[Xcode] 09:55:42.506 xcodebuild[15499:409365] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
[Xcode] build-for-testing
[Xcode] test-without-building
[Xcode] -project
[Xcode] /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[Xcode] -scheme
[Xcode] WebDriverAgentRunner
[Xcode] -destination
[Xcode] id=0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Xcode] 09:55:42.506 xcodebuild[15499:409365] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
[Xcode] 09:55:42.508 xcodebuild[15499:409365] Test standard output and standard error is at /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-41–0500.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-FA844226-A8E2-42E5-98BB-7D1A69D4554B/WebDriverAgentRunner-D256CA3D-E12F-4F74-85AA-8E5EE849DBDE/StandardOutputAndStandardError.txt
[Xcode] 09:55:42.513 xcodebuild[15499:409365] Setting up test runner session
[Xcode] 09:55:42.516 xcodebuild[15499:409365] Launch session started.
[Xcode] 09:55:42.517 xcodebuild[15499:409365] Test operation failure: The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.
[Xcode] 09:55:42.517 xcodebuild[15499:409365] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=4 “The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.” UserInfo={NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[Xcode]
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[debug] [XCUITest] Killing running processes ‘xcodebuild.*0d04ef9cb94fd731a7303f2e85d09d3eae409957, iproxy 8100’ for the device 0d04ef9cb94fd731a7303f2e85d09d3eae409957…
[debug] [XCUITest] ‘pgrep -nif xcodebuild.*0d04ef9cb94fd731a7303f2e85d09d3eae409957’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] iproxy exited with code ‘null’
[debug] [XCUITest] ‘pgrep -nif iproxy 8100’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[XCUITest] Cannot parse major and minor version numbers from platformVersion “null”. Will build for the default platform instead
[debug] [XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=0d04ef9cb94fd731a7303f2e85d09d3eae409957’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[debug] [XCUITest] Output from xcodebuild will be logged. To change this, use ‘showXcodeLog’ desired capability
[Xcode] note: Using new build system
[Xcode]
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] note: Planning build
[Xcode]
[Xcode] note: Constructing build description
[Xcode]
[Xcode] CreateBuildDirectory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-create-build-directory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products
[Xcode]
[Xcode]
[Xcode] CreateBuildDirectory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-create-build-directory /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex
[Xcode]
[Xcode]
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
[Xcode] Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
[Xcode] (d6713284-1e63-42cf-83ed-1a3db4bb3301)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework
[Xcode]
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: replacing existing signature
[Xcode]
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework: errSecInternalComponent
[Xcode]
[Xcode] Command CodeSign failed with a nonzero exit code
[Xcode]
[Xcode]
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
[Xcode] Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
[Xcode] (d6713284-1e63-42cf-83ed-1a3db4bb3301)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
[Xcode]
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework: errSecInternalComponent
[Xcode]
[Xcode] Command CodeSign failed with a nonzero exit code
[Xcode]
[Xcode]
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
[Xcode] Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
[Xcode] (d6713284-1e63-42cf-83ed-1a3db4bb3301)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework: errSecInternalComponent
[Xcode] Command CodeSign failed with a nonzero exit code
[Xcode]
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: “iPhone Developer: Surya Maganti (T68H7CC584)”
[Xcode] Provisioning Profile: “iOS Team Provisioning Profile: com.aa.dev.AmericanAirlines”
[Xcode] (d6713284-1e63-42cf-83ed-1a3db4bb3301)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign C14DF56872161C6D8C110786A584FA196F9F3EF2 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: replacing existing signature
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework: errSecInternalComponent
[Xcode] Command CodeSign failed with a nonzero exit code
[Xcode]
[Xcode]
[Xcode] ** TEST BUILD FAILED **
[Xcode]
[Xcode]
[Xcode]
[Xcode] The following build commands failed:
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/YYCache.framework
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework
[Xcode] CodeSign /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/CocoaAsyncSocket.framework
[Xcode] (4 failures)
[Xcode]
[debug] [XCUITest] Log file for xcodebuild test: /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-49–0500.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-E1323221-43E9-4519-BB70-3A754376C479/WebDriverAgentRunner-6A29E928-C549-417E-ABFF-2317578D8BF5/Session-WebDriverAgentRunner-2018-10-17_095550-KuONMR.log
[Xcode] 2018-10-17 09:55:50.427 xcodebuild[15521:409717] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-49–0500.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-E1323221-43E9-4519-BB70-3A754376C479/WebDriverAgentRunner-6A29E928-C549-417E-ABFF-2317578D8BF5/Session-WebDriverAgentRunner-2018-10-17_095550-KuONMR.log
[Xcode]
[Xcode] 2018-10-17 09:55:50.428 xcodebuild[15521:409688] [MT] IDETestOperationsObserverDebug: (8C265E86-3803-4047-A6F4-20109637F9FF) Beginning test session WebDriverAgentRunner-8C265E86-3803-4047-A6F4-20109637F9FF at 2018-10-17 09:55:50.428 with Xcode 10A255 on target :iphone:<DVTiOSDevice (0x7fdfa9a64fa0), American Airline iPhone6, iPhone, 11.3 (15E216), 0d04ef9cb94fd731a7303f2e85d09d3eae409957> {
[Xcode] deviceSerialNumber: DNTPW6YJG5MN
[Xcode] identifier: 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Xcode] deviceClass: iPhone
[Xcode] deviceName: American Airline iPhone6
[Xcode] deviceIdentifier: 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Xcode] productVersion: 11.3
[Xcode] buildVersion: 15E216
[Xcode] deviceSoftwareVersion: 11.3 (15E216)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 12531359744
[Xcode] deviceAvailableCapacity: 8312442880
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsPaired: YES
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType: <DVTDeviceType:0x7fdfa7f00370 Xcode.DeviceType.iPhone>
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs: (null)
[Xcode] connected: yes
[Xcode] isWirelessEnabled: no
[Xcode] connectionType: direct
[Xcode] hostname: (null)
[Xcode] bonjourServiceName: 78:d7:5f:ec:5a:4d@fe80::7ad7:5fff:feec:5a4d._apple-mobdev2._tcp.local.
[Xcode] } (11.3 (15E216))
[Xcode]
[debug] [JSONWP Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode]
[Xcode]
[Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-49–0500.xcresult
[Xcode]
[Xcode]
[Xcode] 2018-10-17 09:55:50.963 xcodebuild[15521:409688] [MT] IDETestOperationsObserverDebug: 0.543 elapsed – Testing started completed.
[Xcode]
[Xcode] 2018-10-17 09:55:50.963 xcodebuild[15521:409688] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start
[Xcode] 2018-10-17 09:55:50.964 xcodebuild[15521:409688] [MT] IDETestOperationsObserverDebug: 0.543 sec, +0.543 sec – end
[Xcode] 2018-10-17 09:55:50.964 xcodebuild[15521:409688] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 “The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.” UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[Xcode] 2018-10-17 09:55:50.964 xcodebuild[15521:409688] Error Domain=IDETestOperationsObserverErrorDomain Code=4 “The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.” UserInfo={NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read., NSLocalizedRecoverySuggestion=If you believe this error represents a bug, please attach the result bundle at /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-49–0500.xcresult}
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode] Command CodeSign failed with a nonzero exit code
[Xcode]
[Xcode] encountered an error (The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.)
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started on ‘American Airline iPhone6’
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[Xcode] Contents of xcodebuild log file ‘/Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-49–0500.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-E1323221-43E9-4519-BB70-3A754376C479/WebDriverAgentRunner-6A29E928-C549-417E-ABFF-2317578D8BF5/Session-WebDriverAgentRunner-2018-10-17_095550-KuONMR.log’:
[Xcode] 09:55:50.428 xcodebuild[15521:409688] Beginning test session WebDriverAgentRunner-8C265E86-3803-4047-A6F4-20109637F9FF at 2018-10-17 09:55:50.428 with Xcode 10A255 on target :iphone:<DVTiOSDevice (0x7fdfa9a64fa0), American Airline iPhone6, iPhone, 11.3 (15E216), 0d04ef9cb94fd731a7303f2e85d09d3eae409957> {
[Xcode] deviceSerialNumber: DNTPW6YJG5MN
[Xcode] identifier: 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Xcode] deviceClass: iPhone
[Xcode] deviceName: American Airline iPhone6
[Xcode] deviceIdentifier: 0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Xcode] productVersion: 11.3
[Xcode] buildVersion: 15E216
[Xcode] deviceSoftwareVersion: 11.3 (15E216)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 12531359744
[Xcode] deviceAvailableCapacity: 8312442880
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsPaired: YES
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType: <DVTDeviceType:0x7fdfa7f00370 Xcode.DeviceType.iPhone>
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs: (null)
[Xcode] connected: yes
[Xcode] isWirelessEnabled: no
[Xcode] connectionType: direct
[Xcode] hostname: (null)
[Xcode] bonjourServiceName: 78:d7:5f:ec:5a:4d@fe80::7ad7:5fff:feec:5a4d._apple-mobdev2._tcp.local.
[Xcode] } (11.3 (15E216))
[Xcode] 09:55:50.429 xcodebuild[15521:409688] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
[Xcode] build-for-testing
[Xcode] test-without-building
[Xcode] -project
[Xcode] /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[Xcode] -scheme
[Xcode] WebDriverAgentRunner
[Xcode] -destination
[Xcode] id=0d04ef9cb94fd731a7303f2e85d09d3eae409957
[Xcode] 09:55:50.429 xcodebuild[15521:409688] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
[Xcode] 09:55:50.430 xcodebuild[15521:409688] Test standard output and standard error is at /Users/bobtate/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2018.10.17_09-55-49–0500.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-E1323221-43E9-4519-BB70-3A754376C479/WebDriverAgentRunner-6A29E928-C549-417E-ABFF-2317578D8BF5/StandardOutputAndStandardError.txt
[Xcode] 09:55:50.434 xcodebuild[15521:409688] Setting up test runner session
[Xcode] 09:55:50.436 xcodebuild[15521:409688] Launch session started.
[Xcode] 09:55:50.437 xcodebuild[15521:409688] Test operation failure: The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.
[Xcode] 09:55:50.437 xcodebuild[15521:409688] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=4 “The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.” UserInfo={NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[Xcode]
[debug] [BaseDriver] Event ‘wdaStartFailed’ logged at 1539788150989 (09:55:50 GMT-0500 (CDT))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 15520)
[debug] [XCUITest] iproxy exited with code ‘null’
[debug] [XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:444:13)
[XCUITest] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[XCUITest] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[XCUITest] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[XCUITest] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[XCUITest] at
[debug] [XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on.
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1539788151376 (09:55:51 GMT-0500 (CDT))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[debug] [W3C] at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:444:13)
[debug] [W3C] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [W3C] at
[HTTP] ← POST /wd/hub/session 500 33332 ms - 1749
[HTTP]
com.aa.qmo.AAJbehaveStories > run FAILED
org.springframework.beans.factory.BeanCreationException at AAJbehaveStories.java:139
Caused by: java.lang.AssertionError at AAJbehaveStories.java:139

Error creating bean with name ‘basePage’ defined in file [/Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/build/classes/java/test/com/aa/qmo/ccmobile/pages/BasePage.class]: Instantiation of bean failed; nested exception is java.lang.AssertionError: Failed to create mobile driver It is impossible to create a new session because ‘createSession’ which takes HttpClient, InputStream and long was not found or it is not accessible
Build info: version: ‘3.13.0’, revision: ‘2f0d292’, time: ‘2018-06-25T15:24:21.231Z’
System info: host: ‘Bobs-MacBook-Pro.local’, ip: ‘10.58.76.244’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘basePage’ defined in file [/Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/build/classes/java/test/com/aa/qmo/ccmobile/pages/BasePage.class]: Instantiation of bean failed; nested exception is java.lang.AssertionError: Failed to create mobile driver It is impossible to create a new session because ‘createSession’ which takes HttpClient, InputStream and long was not found or it is not accessible
Build info: version: ‘3.13.0’, revision: ‘2f0d292’, time: ‘2018-06-25T15:24:21.231Z’
System info: host: ‘Bobs-MacBook-Pro.local’, ip: ‘10.58.76.244’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1232)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1131)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:88)
at com.aa.qmo.AAJbehaveStories.stepsFactory(AAJbehaveStories.java:139)
at org.jbehave.core.ConfigurableEmbedder.configuredEmbedder(ConfigurableEmbedder.java:126)
at com.aa.qmo.AAJbehaveStories.run(AAJbehaveStories.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy1.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:146)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:128)
at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.AssertionError: Failed to create mobile driver It is impossible to create a new session because ‘createSession’ which takes HttpClient, InputStream and long was not found or it is not accessible
Build info: version: ‘3.13.0’, revision: ‘2f0d292’, time: ‘2018-06-25T15:24:21.231Z’
System info: host: ‘Bobs-MacBook-Pro.local’, ip: ‘10.58.76.244’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
at org.junit.Assert.fail(Assert.java:88)
at com.aa.qmo.ccmobile.utils.DriverProvider.(DriverProvider.java:63)
at com.aa.qmo.ccmobile.pages.BasePage.(BasePage.java:41)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:170)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1224)
… 60 more

1 test completed, 1 failed
:test FAILED
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:test’.

There were failing tests. See the report at: file:///Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/build/reports/tests/test/index.html

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  • Get more help at https://help.gradle.org
    BUILD FAILED in 37s
    8 actionable tasks: 8 executed
    There were failing tests. See the report at: file:///Users/bobtate/IdeaProjects/CCI_Mobile_UI_Tests/build/reports/tests/test/index.html
    9:55:51 AM: Task execution finished ‘test -Dstory.filter=And_VerifyingFlightsPage.story -Dvirtualdevice=false -Ddevice=ios -DtestEnv=QA-QaBranch-mobileCCI -Dversion=70743’.

Any idea why the error i am getting ?

Hi Maganti, You’ve got a TON of info here that would be better in a few different gists (hard to scroll and triage). It looks like there’s a codesign issue there. You probably need to muck with a provisioning profile somewhere (you can create one with xcode for local use)… and might have to change the bundleId as well.

Hi Bendid, thanks for prompt reply, please find the code for creating ios driver:

public static AppiumDriver createIOSDriver() throws Exception{
File srcFile = new File(“src”);
File ipaFile = new File(srcFile,“mobileCCI.ipa”);
DesiredCapabilities cap=new DesiredCapabilities();
if(isVirtualDevice){
fail(“As of now no virtual devices are set”);
}else{
cap.setCapability(“automationName”,“XCUITest”);
cap.setCapability(“deviceName”,“American Airline iPhone6”);
}
cap.setCapability(“platformName”,“iOS”);
cap.setCapability(“autoGrantPermissions”, “true”);
cap.setCapability(“rotatable”, true);
cap.setCapability(“takesScreenshot”, true);
cap.setCapability(“udid”,“0d04ef9cb94fd731a7303f2e85d09d3eae409957”);
cap.setCapability(“fullReset”,true);
cap.setCapability(“useNewWDA”,true);
cap.setCapability(“apppackage”,“com.aa.dev.AmericanAirlines”);
cap.setCapability(“app”, ipaFile.getAbsolutePath());
cap.setCapability(“newCommandTimeout”,600);
cap.setCapability(“showXcodeLog”,true);
IOSDriver driver =new IOSDriver(new URL(“http://127.0.0.1:4723/wd/hub”),cap );
driver.manage().timeouts().implicitlyWait(50,TimeUnit.SECONDS);
return driver;
}

Please follow the directions around running XCUITest on real ios devices

http://appium.io/docs/en/drivers/ios-xcuitest-real-devices/

Your logs have multiple lines like the above. Have you run through the instructions in that link?

Yes, I followed the link which you have given.