Howdy!
I’m running into an issue where I am able to execute Android tests but receive error when running IOS tests. I’ve reinstalled both Appium and Appium-Python-Client and still nothing. I was working with a virtualenv and changing some PYTHONPATHs but that was all done within the virtualenv and I have deactivated it long ago. 3 hours later I’m stumped, I have a habit of breaking things, but usually I can fix what I do. Not in this case… So here are my logs. Thanks in advance for any help!
env:
-Mac running latest Mavericks
-Appium 1.2.3
-Python-Client (latest via pip)
-xcode 5.1.1
-iOS Sim 7.1
-app name: companyApp.app (replaced actual name in logs for security reasons)
info: <-- POST /wd/hub/session 500 3855.694 ms - 362
info: --> POST /wd/hub/session {“desiredCapabilities”:{“platformVersion”:“7.1”,“deviceName”:“iOS Simulator”,“app”:"/Users/craig/companyApp.app",“platformName”:“iOS”,“newCommandTimeout”:“5000”}}
info: [debug] Using local app from desired caps: /Users/craig/companyApp.app
info: [debug] Creating new appium session 98ce09f6-f3bd-4d70-8e18-17f4af11377c
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] iOS SDK Version set to 7.1
info: [debug] Detecting automation tracetemplate
info: [debug] Not auto-detecting udid, running on sim
error: Could not parse plist file (as binary) at /Users/craig/companyApp.app/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
error: Could not parse plist file (as XML) at /Users/craig/companyApp.app/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings
info: [debug] Not setting locale
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/craig/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/usr/local/Cellar/node/0.10.29/bin/node",“commandProxyClientPath”:"/Users/craig/git/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false}
…o: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
info: [debug] Dynamic bootstrap path: /Users/craig/Library/Application Support/appium/bootstrap/bootstrap-137ea8bd5612e1b5.js
info: [debug] Reusing dynamic bootstrap: /Users/craig/Library/Application Support/appium/bootstrap/bootstrap-137ea8bd5612e1b5.js
info: [debug] Fixing device was changed from:"
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS 7.* simulator log capture
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] Checking whether instruments supports our device string
info: [debug] Getting list of devices instruments supports
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: <-- POST /wd/hub/session - - ms - -
info: [debug] Fixing device was changed from:"
info: [debug] Cleaning app state.
info: [debug] No folders found to remove
info: [debug] Getting bundle ID from app
error: Could not parse plist file (as binary) at /Users/craig/companyApp.app/Info.plist
info: Will try to parse the plist file as XML
error: Could not parse plist file (as XML) at /Users/craig/companyApp.app/Info.plist
error: Could not get the bundleId from app.
error: Could not set the bundleId from app.
info: [debug] Cleaning up appium session
error: Failed to start an Appium session, err was: Error: ENOENT, no such file or directory ‘/Users/craig/companyApp.app/Info.plist’
info: [debug] Error: ENOENT, no such file or directory ‘/Users/craig/companyApp.app/Info.plist’
at Object.fs.openSync (fs.js:432:18)
at Object.fs.readFileSync (fs.js:289:15)
at Object.parseFileSync (/Users/craig/git/appium/node_modules/plist/lib/node.js:47:18)
at Object.deprecated [as parseFileSync] (util.js:77:15)
at parseXmlPlistFile (/Users/craig/git/appium/lib/devices/ios/ios.js:39:27)
at /Users/craig/git/appium/lib/devices/ios/ios.js:51:7
at /Users/craig/git/appium/node_modules/bplist-parser/bplistParser.js:29:25
at fs.js:207:20
at Object.oncomplete (fs.js:107:15)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: ENOENT, no such file or directory ‘/Users/craig/companyApp.app/Info.plist’)”,“errno”:34,“code”:“ENOENT”,“path”:"/Users/craig/companyApp.app/Info.plist",“syscall”:“open”,“origValue”:“ENOENT, no such file or directory ‘/Users/craig/companyApp.app/Info.plist’”},“sessionId”:null}