How to address Could not set the device type in Info.plist issue in appium, while launching the ios simulator? -
- i have installed appium version 1.3.6.
- i have launched appium server inspect ios app.
i have furnished error below.
launching appium command: '/applications/appium.app/contents/resources/node/bin/node'; lib/server/main.js --command-timeout "7200" --pre-launch --log "/tmp/appium.log" --platform-version "8.1" --platform-name "ios" --app "com.iphonewidget.iphone.testapp" --show-ios-log --device-name "iphone 6" info: [debug] starting appium in pre-launch mode info: pre-launching app info: [debug] app ios bundle, attempt run pre-existing info: [debug] creating new appium session 255637cf-2d12-41c3-8610-e53f804d229b info: [debug] removing remaining instruments sockets info: [debug] cleaned 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 xcrun timeout info: [debug] ios sdk version set 8.1 info: [debug] checking whether instruments supports our device string info: [debug] getting list of devices instruments supports info: [debug] instruments at: /applications/xcode.app/contents/developer/usr/bin/instruments info: [debug] getting device string opts: {"forceiphone":false,"forceipad":false,"xcodeversion":"6.1.1","iossdkversion":"8.1","devicename":"iphone 6","platformversion":"8.1"} info: [debug] fixdevice on info: [debug] final device string is: 'iphone 6 (8.1 simulator)' info: [debug] ios sim udid 4391d23f-ba21-4fb8-8887-0972d2911420 info: [debug] detecting automation tracetemplate info: [debug] not auto-detecting udid, running on sim info: [debug] not parse plist file (as binary) @ /applications/appium.app/contents/resources/node_modules/appium/com.iphonewidget.iphone.testapp/en.lproj/localizable.strings info: try parse plist file xml info: [debug] not parse plist file (as xml) @ /applications/appium.app/contents/resources/node_modules/appium/com.iphonewidget.iphone.testapp/en.lproj/localizable.strings warn: not parse app localizable.strings assuming doesn´t exist info: [debug] creating instruments info: on xcode 6 platforms, instruments-without-delay not work. if experience this, need re-run appium --native-instruments-lib flag info: [debug] preparing uiauto bootstrap info: [debug] dynamic bootstrap dir: /users/alk/library/application support/appium/bootstrap info: [debug] dynamic env: { "nodepath":"/applications/appium.app/contents/resources/node/bin/node", "commandproxyclientpath":"/applications/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, "autodismissalerts":false, "sendkeystrategy":"onebyone" } info: [debug] dynamic bootstrap code: // file automatically generated. not manually modify! ... error: not set device type in info.plist
unchecking "prelaunch application" under general settings resolved issue me.
Comments
Post a Comment