Hi Team,
Seems some of the users have run into this issue, but i do not see a definite solution to this problem. I am using Appium 1.3.1 with xcode 6. When i try to launch the device in Simulator, I am getting the, ‘Could not set the device type in Info.plist’ error. PFB appium console logs :
info: [debug] Starting Appium in pre-launch mode
info: Pre-launching app
info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session 8340a438-1c34-40ac-99b1-5154f87786ca
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] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.0
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: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.0.1”,“iOSSDKVersion”:“8.0”,“deviceName”:“iPad Retina”,“platformVersion”:“7.1”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPad Retina (7.1 Simulator)’
info: [debug] iOS sim UDID is 72D7406C-CABB-45A8-ADF0-4CF7D39719AB
info: [debug] Detecting automation tracetemplate
parseFileSync()
is deprecated. Use parseStringSync()
instead.
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Users/doug/Desktop/test3/Appium 1.3.1/Appium.app/Contents/Resources/node_modules/appium/com.boa.bct.tablet/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Users/doug/Desktop/test3/Appium 1.3.1/Appium.app/Contents/Resources/node_modules/appium/com.boa.bct.tablet/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/doug/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/Users/doug/Desktop/nodejs/bin/node",“commandProxyClientPath”:"/Users/doug/Desktop/test3/Appium 1.3.1/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false}
error: Could not set the device type in Info.plist