Skip to main content
Bumped by Community user
Tweeted twitter.com/StackSQA/status/1159615391364243457
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Formatting
Source Link
Bharat Mane
  • 6.8k
  • 11
  • 41
  • 69

setting Setting appium to run ios test on iOS device

pleasePlease help me for my setting in appium, iI cant launch and display appium inspector on ios, but my setting for android already working and fine

  • use macOsmacOS- Sierra

  • appium 1.5.3

  • iphone osiOS 10.2

    Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --address "127.0.0.1" --port "4725" --pre-launch --debug-log-spacing --platform-version "9.3.2" --platform-name "iOS" --app "com.dai.uangteman" --udid "c3939d6e3cc39936161a6f554e0ac472cdba0142" --full-reset --device-name "iPhone 5" --isolate-sim-device

    [Appium] Welcome to Appium v1.5.3

    [Appium] Non-default server args:

    [Appium] address: '127.0.0.1'

    [Appium] port: 4725 [Appium] launch: true [Appium]
    isolateSimDevice: true [Appium] debugLogSpacing: true [Appium]
    platformName: 'iOS' [Appium] platformVersion: '9.3.2' [Appium]
    deviceName: 'iPhone 5' [Appium] app: 'com.dai.uangteman' [Appium]
    udid: 'c3939d6e3cc39936161a6f554e0ac472cdba0142' [Appium] fullReset: true [Appium] Deprecated server args: [Appium] --platform-name => --default-capabilities '{"platformName":"iOS"}'

    [Appium] --platform-version => --default-capabilities '{"platformVersion":"9.3.2"}' [Appium] --device-name => --default-capabilities '{"deviceName":"iPhone 5"}' [Appium] --app => --default-capabilities '{"app":"com.dai.uangteman"}' [Appium] -U,--udid => --default-capabilities '{"udid":"c3939d6e3cc39936161a6f554e0ac472cdba0142"}' [Appium]
    --full-reset => --default-capabilities '{"fullReset":true}' [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:

    [Appium] platformName: 'iOS'

    [Appium] platformVersion: '9.3.2' [Appium] deviceName: 'iPhone 5' [Appium] app: 'com.dai.uangteman' [Appium] udid: 'c3939d6e3cc39936161a6f554e0ac472cdba0142' [Appium] fullReset: true

    [Appium] Appium REST http interface listener started on 127.0.0.1:4725

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...

    [HTTP] <-- GET /wd/hub/status 200 21 ms - 83

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...

    [HTTP] <-- GET /wd/hub/status 200 11 ms - 83

    [HTTP] --> GET /wd/hub/sessions {}

    [MJSONWP] Calling AppiumDriver.getSessions() with args: []

    [MJSONWP] Responding to client with driver.getSessions() result: [] [HTTP] <-- GET /wd/hub/sessions 200 23 ms - 40

    [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","newCommandTimeout":"7200","app":"/Users/prasetyo/Documents/apk/uangteman.ipa","platformVersion":"9.3.2","deviceName":"iPhone 5","bundleId":"com.dai.uangteman","automationName":"Appium","udid":"c3939d6e3cc39936161a6f554e0ac472cdba0142"}}

    [MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","new... [Appium] Creating new IosDriver session [Appium] Capabilities: [Appium] platformName: 'iOS' [Appium]
    newCommandTimeout: '7200' [Appium] app: '/Users/prasetyo/Documents/apk/uangteman.ipa' [Appium]
    platformVersion: '9.3.2' [Appium] deviceName: 'iPhone 5' [Appium]
    bundleId: 'com.dai.uangteman' [Appium] automationName: 'Appium' [Appium] udid: 'c3939d6e3cc39936161a6f554e0ac472cdba0142' [Appium]
    fullReset: true

    [BaseDriver] Capability 'newCommandTimeout' changed from string ('7200') to integer (7200). This may cause unexpected behavior

    [BaseDriver] Session created with session id: b242e3c4-da90-47ae-822a-977ef249656e

    [debug] [iOS] Not auto-detecting udid. [BaseDriver] Using local app '/Users/prasetyo/Documents/apk/uangteman.ipa' [debug] [BaseDriver] Copying local zip to tmp dir

    [debug] [BaseDriver] Unzipping /var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/2017019-17881-1i8lhfu/appium-app.zip

    [debug] [BaseDriver] Testing zip archive: /var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/2017019-17881-1i8lhfu/appium-app.zip

    [BaseDriver] Unzipped local app to '/var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/2017019-17881-1i8lhfu/Payload/uangteman.app'

    [debug] [iOS] Removing any remaining instruments sockets

    [debug] [iOS] Cleaned up instruments socket /var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/instruments_sock [debug] [iOS] No language specified. Using default strings [debug] [iOS] Strings file not found. Looking in 'en.lproj' directory [iOS] Could not file localizable strings file 'Localizable.strings'! [debug] [iOS] Creating instruments [debug] [UIAuto] Preparing bootstrap code [debug] [UIAuto] Dynamic bootstrap dir: /Users/prasetyo/Library/Application Support/appium/bootstrap [debug] [UIAuto] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}

    [debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify! ...

    [debug] [UIAuto] Dynamic bootstrap path: /Users/prasetyo/Library/Application Support/appium/bootstrap/bootstrap-798b074ea369e4b2.js [debug] [UIAuto] Reusing dynamic bootstrap: /Users/prasetyo/Library/Application Support/appium/bootstrap/bootstrap-798b074ea369e4b2.js [debug] [iOS] Running ios real device reset flow [debug] [iOS] Full reset requested. Will try to uninstall the app 'com.dai.uangteman'. [debug] [iOS] Creating iDevice object with udid c3939d6e3cc39936161a6f554e0ac472cdba0142

    [debug] [iOS] Removed com.dai.uangteman

    [debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog

    [debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'

    [debug] [iOS] App is not installed. Will try to install.

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [HTTP] <-- GET /wd/hub/status - - ms - -

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [HTTP] <-- GET /wd/hub/status - - ms - -

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [HTTP] <-- GET /wd/hub/status - - ms - -

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [HTTP] <-- GET /wd/hub/status - - ms - -

    [debug] [iOS] App installed.

    [debug] [iOS] Starting UIAutoClient, and launching Instruments.

    [debug] [UIAuto] Instruments socket server started at /var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/instruments_sock

    [Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate

    [Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate

    [Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate

    [MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9) at tryCatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) at run (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47) at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28 at flush (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5) at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9)

    [HTTP] <-- POST /wd/hub/session 500 15494 ms - 513

    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"... [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"... [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"... [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"... [HTTP] <-- GET /wd/hub/status 200 14 ms

    • 83

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"... [HTTP] <-- GET /wd/hub/status 200 10 ms

    • 83
     > Launching Appium with command:
      > '/Applications/Appium.app/Contents/Resources/node/bin/node'
      > appium/build/lib/main.js --address "127.0.0.1" --port "4725"
      > --pre-launch --debug-log-spacing --platform-version "9.3.2" --platform-name "iOS" --app "com.dai.uangteman" --udid "c3939d6e3cc39936161a6f554e0ac472cdba0142" --full-reset --device-name
      > "iPhone 5" --isolate-sim-device
      > 
      > [Appium] Welcome to Appium v1.5.3
      > 
      > [Appium] Non-default server args:
      > 
      > [Appium]   address: '127.0.0.1'
      > 
      > [Appium]   port: 4725 [Appium]   launch: true [Appium]  
      > isolateSimDevice: true [Appium]   debugLogSpacing: true [Appium]  
      > platformName: 'iOS' [Appium]   platformVersion: '9.3.2' [Appium]  
      > deviceName: 'iPhone 5' [Appium]   app: 'com.dai.uangteman' [Appium]  
      > udid: 'c3939d6e3cc39936161a6f554e0ac472cdba0142' [Appium]   fullReset:
      > true [Appium] Deprecated server args: [Appium]   --platform-name =>
      > --default-capabilities '{"platformName":"iOS"}'
      > 
      > [Appium]   --platform-version => --default-capabilities
      > '{"platformVersion":"9.3.2"}' [Appium]   --device-name =>
      > --default-capabilities '{"deviceName":"iPhone 5"}' [Appium]   --app => --default-capabilities '{"app":"com.dai.uangteman"}' [Appium]   -U,--udid => --default-capabilities '{"udid":"c3939d6e3cc39936161a6f554e0ac472cdba0142"}' [Appium]  
      > --full-reset => --default-capabilities '{"fullReset":true}' [Appium] Default capabilities, which will be added to each request unless
      > overridden by desired capabilities:
      > 
      > [Appium]   platformName: 'iOS'
      > 
      > [Appium]   platformVersion: '9.3.2' [Appium]   deviceName: 'iPhone 5'
      > [Appium]   app: 'com.dai.uangteman' [Appium]   udid:
      > 'c3939d6e3cc39936161a6f554e0ac472cdba0142' [Appium]   fullReset: true
      > 
      > [Appium] Appium REST http interface listener started on 127.0.0.1:4725
      > 
      > [HTTP] --> GET /wd/hub/status {}
      > 
      > [MJSONWP] Calling AppiumDriver.getStatus() with args: []
      > 
      > [MJSONWP] Responding to client with driver.getStatus() result:
      > {"build":{"version":"1.5.3"...
      > 
      > [HTTP] <-- GET /wd/hub/status 200 21 ms - 83 
    

below images is my setting appium   

enter image description here

setting appium to run ios test

please help me for my setting in appium, i cant launch and display appium inspector on ios, but my setting for android already working and fine

  • use macOs Sierra

  • appium 1.5.3

  • iphone os 10.2

    Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --address "127.0.0.1" --port "4725" --pre-launch --debug-log-spacing --platform-version "9.3.2" --platform-name "iOS" --app "com.dai.uangteman" --udid "c3939d6e3cc39936161a6f554e0ac472cdba0142" --full-reset --device-name "iPhone 5" --isolate-sim-device

    [Appium] Welcome to Appium v1.5.3

    [Appium] Non-default server args:

    [Appium] address: '127.0.0.1'

    [Appium] port: 4725 [Appium] launch: true [Appium]
    isolateSimDevice: true [Appium] debugLogSpacing: true [Appium]
    platformName: 'iOS' [Appium] platformVersion: '9.3.2' [Appium]
    deviceName: 'iPhone 5' [Appium] app: 'com.dai.uangteman' [Appium]
    udid: 'c3939d6e3cc39936161a6f554e0ac472cdba0142' [Appium] fullReset: true [Appium] Deprecated server args: [Appium] --platform-name => --default-capabilities '{"platformName":"iOS"}'

    [Appium] --platform-version => --default-capabilities '{"platformVersion":"9.3.2"}' [Appium] --device-name => --default-capabilities '{"deviceName":"iPhone 5"}' [Appium] --app => --default-capabilities '{"app":"com.dai.uangteman"}' [Appium] -U,--udid => --default-capabilities '{"udid":"c3939d6e3cc39936161a6f554e0ac472cdba0142"}' [Appium]
    --full-reset => --default-capabilities '{"fullReset":true}' [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:

    [Appium] platformName: 'iOS'

    [Appium] platformVersion: '9.3.2' [Appium] deviceName: 'iPhone 5' [Appium] app: 'com.dai.uangteman' [Appium] udid: 'c3939d6e3cc39936161a6f554e0ac472cdba0142' [Appium] fullReset: true

    [Appium] Appium REST http interface listener started on 127.0.0.1:4725

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...

    [HTTP] <-- GET /wd/hub/status 200 21 ms - 83

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...

    [HTTP] <-- GET /wd/hub/status 200 11 ms - 83

    [HTTP] --> GET /wd/hub/sessions {}

    [MJSONWP] Calling AppiumDriver.getSessions() with args: []

    [MJSONWP] Responding to client with driver.getSessions() result: [] [HTTP] <-- GET /wd/hub/sessions 200 23 ms - 40

    [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","newCommandTimeout":"7200","app":"/Users/prasetyo/Documents/apk/uangteman.ipa","platformVersion":"9.3.2","deviceName":"iPhone 5","bundleId":"com.dai.uangteman","automationName":"Appium","udid":"c3939d6e3cc39936161a6f554e0ac472cdba0142"}}

    [MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","new... [Appium] Creating new IosDriver session [Appium] Capabilities: [Appium] platformName: 'iOS' [Appium]
    newCommandTimeout: '7200' [Appium] app: '/Users/prasetyo/Documents/apk/uangteman.ipa' [Appium]
    platformVersion: '9.3.2' [Appium] deviceName: 'iPhone 5' [Appium]
    bundleId: 'com.dai.uangteman' [Appium] automationName: 'Appium' [Appium] udid: 'c3939d6e3cc39936161a6f554e0ac472cdba0142' [Appium]
    fullReset: true

    [BaseDriver] Capability 'newCommandTimeout' changed from string ('7200') to integer (7200). This may cause unexpected behavior

    [BaseDriver] Session created with session id: b242e3c4-da90-47ae-822a-977ef249656e

    [debug] [iOS] Not auto-detecting udid. [BaseDriver] Using local app '/Users/prasetyo/Documents/apk/uangteman.ipa' [debug] [BaseDriver] Copying local zip to tmp dir

    [debug] [BaseDriver] Unzipping /var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/2017019-17881-1i8lhfu/appium-app.zip

    [debug] [BaseDriver] Testing zip archive: /var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/2017019-17881-1i8lhfu/appium-app.zip

    [BaseDriver] Unzipped local app to '/var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/2017019-17881-1i8lhfu/Payload/uangteman.app'

    [debug] [iOS] Removing any remaining instruments sockets

    [debug] [iOS] Cleaned up instruments socket /var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/instruments_sock [debug] [iOS] No language specified. Using default strings [debug] [iOS] Strings file not found. Looking in 'en.lproj' directory [iOS] Could not file localizable strings file 'Localizable.strings'! [debug] [iOS] Creating instruments [debug] [UIAuto] Preparing bootstrap code [debug] [UIAuto] Dynamic bootstrap dir: /Users/prasetyo/Library/Application Support/appium/bootstrap [debug] [UIAuto] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}

    [debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify! ...

    [debug] [UIAuto] Dynamic bootstrap path: /Users/prasetyo/Library/Application Support/appium/bootstrap/bootstrap-798b074ea369e4b2.js [debug] [UIAuto] Reusing dynamic bootstrap: /Users/prasetyo/Library/Application Support/appium/bootstrap/bootstrap-798b074ea369e4b2.js [debug] [iOS] Running ios real device reset flow [debug] [iOS] Full reset requested. Will try to uninstall the app 'com.dai.uangteman'. [debug] [iOS] Creating iDevice object with udid c3939d6e3cc39936161a6f554e0ac472cdba0142

    [debug] [iOS] Removed com.dai.uangteman

    [debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog

    [debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'

    [debug] [iOS] App is not installed. Will try to install.

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [HTTP] <-- GET /wd/hub/status - - ms - -

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [HTTP] <-- GET /wd/hub/status - - ms - -

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [HTTP] <-- GET /wd/hub/status - - ms - -

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [HTTP] <-- GET /wd/hub/status - - ms - -

    [debug] [iOS] App installed.

    [debug] [iOS] Starting UIAutoClient, and launching Instruments.

    [debug] [UIAuto] Instruments socket server started at /var/folders/qc/8rdk0ldd569c_65x8yrtlyb00000gp/T/instruments_sock

    [Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate

    [Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate

    [Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate

    [MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9) at tryCatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) at run (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47) at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28 at flush (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5) at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9)

    [HTTP] <-- POST /wd/hub/session 500 15494 ms - 513

    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"... [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"... [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"... [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"... [HTTP] <-- GET /wd/hub/status 200 14 ms

    • 83

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"... [HTTP] <-- GET /wd/hub/status 200 10 ms

    • 83

below images is my setting appium  enter image description here

Setting appium to run test on iOS device

Please help me for my setting in appium, I cant launch and display appium inspector on ios, but my setting for android already working and fine

  • use macOS- Sierra

  • appium 1.5.3

  • iphone iOS 10.2

     > Launching Appium with command:
      > '/Applications/Appium.app/Contents/Resources/node/bin/node'
      > appium/build/lib/main.js --address "127.0.0.1" --port "4725"
      > --pre-launch --debug-log-spacing --platform-version "9.3.2" --platform-name "iOS" --app "com.dai.uangteman" --udid "c3939d6e3cc39936161a6f554e0ac472cdba0142" --full-reset --device-name
      > "iPhone 5" --isolate-sim-device
      > 
      > [Appium] Welcome to Appium v1.5.3
      > 
      > [Appium] Non-default server args:
      > 
      > [Appium]   address: '127.0.0.1'
      > 
      > [Appium]   port: 4725 [Appium]   launch: true [Appium]  
      > isolateSimDevice: true [Appium]   debugLogSpacing: true [Appium]  
      > platformName: 'iOS' [Appium]   platformVersion: '9.3.2' [Appium]  
      > deviceName: 'iPhone 5' [Appium]   app: 'com.dai.uangteman' [Appium]  
      > udid: 'c3939d6e3cc39936161a6f554e0ac472cdba0142' [Appium]   fullReset:
      > true [Appium] Deprecated server args: [Appium]   --platform-name =>
      > --default-capabilities '{"platformName":"iOS"}'
      > 
      > [Appium]   --platform-version => --default-capabilities
      > '{"platformVersion":"9.3.2"}' [Appium]   --device-name =>
      > --default-capabilities '{"deviceName":"iPhone 5"}' [Appium]   --app => --default-capabilities '{"app":"com.dai.uangteman"}' [Appium]   -U,--udid => --default-capabilities '{"udid":"c3939d6e3cc39936161a6f554e0ac472cdba0142"}' [Appium]  
      > --full-reset => --default-capabilities '{"fullReset":true}' [Appium] Default capabilities, which will be added to each request unless
      > overridden by desired capabilities:
      > 
      > [Appium]   platformName: 'iOS'
      > 
      > [Appium]   platformVersion: '9.3.2' [Appium]   deviceName: 'iPhone 5'
      > [Appium]   app: 'com.dai.uangteman' [Appium]   udid:
      > 'c3939d6e3cc39936161a6f554e0ac472cdba0142' [Appium]   fullReset: true
      > 
      > [Appium] Appium REST http interface listener started on 127.0.0.1:4725
      > 
      > [HTTP] --> GET /wd/hub/status {}
      > 
      > [MJSONWP] Calling AppiumDriver.getStatus() with args: []
      > 
      > [MJSONWP] Responding to client with driver.getStatus() result:
      > {"build":{"version":"1.5.3"...
      > 
      > [HTTP] <-- GET /wd/hub/status 200 21 ms - 83 
    

below images is my setting appium 

enter image description here

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user