Mac 10.11
Xcode 7.2 iOS9.2 Build target iOS9.0
Appium 1.4.13
Issue:
I can generate a debug build signed with developer certificate in Xcode, and install the app successfully on my real device.
Then I copy the .app to a path, in Appium GUI, point the app path to the .app path, input necessary information, then launch, success
Then run my test in eclipse, got below log in Appium GUI:
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : appium-version
info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session cbe9d3ba-f42f-4c7a-b21f-87eb5e7132ea
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Auto-detecting iOS udid…
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Applications/Appium iOS.app/Contents/Resources/node_modules/appium/com.ibm.lotus.sametime/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/Appium iOS.app/Contents/Resources/node_modules/appium/com.ibm.lotus.sametime/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn’t exist
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/rachel/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/Applications/Appium iOS.app/Contents/Resources/node/bin/node",“commandProxyClientPath”:"/Applications/Appium iOS.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
…
info: [debug] Dynamic bootstrap path: /Users/rachel/Library/Application Support/appium/bootstrap/bootstrap-3eedab70f65297b9.js
info: [debug] Reusing dynamic bootstrap: /Users/rachel/Library/Application Support/appium/bootstrap/bootstrap-3eedab70f65297b9.js
info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog
info: [debug] Creating iDevice object with udid 814d53f77e5c5ecf2eca376ae3696dffa692cec8
info: [debug] App is not installed. Will try to install the app.
info: [IOS_SYSLOG_ROW ] Mar 17 17:08:22 Ya-min-teki-iPad syslog_relay[709] : syslog_relay found the ASL prompt. Starting…
info: [debug] Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Installing com.ibm.lotus.sametime failed
info: [debug] Error: Installing com.ibm.lotus.sametime failed
at /Applications/Appium iOS.app/Contents/Resources/node_modules/appium/node_modules/node-idevice/main.js:159:6
at ChildProcess.exithandler (child_process.js:742:7)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Socket. (child_process.js:1183:11)
at Socket.emit (events.js:107:17)
at Pipe.close (net.js:485:12)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Installing com.ibm.lotus.sametime failed)”,“origValue”:“Installing com.ibm.lotus.sametime failed”},“sessionId”:null}
info: <-- POST /wd/hub/session 500 3666.325 ms - 202
info: [IOS_SYSLOG_ROW ] Mar 17 17:08:24 Ya-min-teki-iPad mobile_installation_proxy[180] : 0x1f197000 handle_connection: Could not receive request from host.
I don’t have any idea about this error, could anyone advise me? Thank you!