Hi
I have installed safari Launcher in my iPhone.
When i try launching the safari, its shows the below error in Appium Log.
Could you please guide me to resolve this issue.
Error :
iOS SDK Version set to 8.0,
Where its get configured. In code i am using 7.1.2
Log :
info: --> POST /wd/hub/session {“desiredCapabilities”:{“platformVersion”:“7.1”,“browserName”:“Safari”,“platformName”:“iOS”,“udid”:“318757c0a61a166603b7bec4bd9c11cf5bdb1e57”,“deviceName”:“iPhone”}}
info: [debug] Configuring Safari session
info: [debug] Using local .zip from command line: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip
info: [debug] Copying local zip to tmp dir
info: [debug] /Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip copied to /var/folders/vj/k3615qdn2bq8qjyz7s32hdfr0000gn/T/11491-2216-2dwefv/appium-app.zip
info: [debug] Unzipping /var/folders/vj/k3615qdn2bq8qjyz7s32hdfr0000gn/T/11491-2216-2dwefv/appium-app.zip
info: [debug] Testing zip archive: /var/folders/vj/k3615qdn2bq8qjyz7s32hdfr0000gn/T/11491-2216-2dwefv/appium-app.zip
info: [debug] Zip archive tested clean
info: [debug] Unzip successful
info: [debug] Using locally extracted app: /var/folders/vj/k3615qdn2bq8qjyz7s32hdfr0000gn/T/11491-2216-2dwefv/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app
info: [debug] Creating new appium session c9f61d39-f0c5-46e0-a6b5-567bda3f85cc
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 8.0
info: [debug] Detecting automation tracetemplate
info: [debug] Cleaning up appium session
info: [debug] Error: Could not find Automation.tracetemplate in /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
at null. (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:740:14)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/helpers.js:490:9
at ChildProcess.exithandler (child_process.js:646:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket. (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Could not find Automation.tracetemplate in /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate)”,“origValue”:“Could not find Automation.tracetemplate in /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate”},“sessionId”:null}
info: <-- POST /wd/hub/session 500 235.283 ms - 508
error: Could not find Automation.tracetemplate in /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
error: Failed to start an Appium session, err was: Error: Could not find Automation.tracetemplate in /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.2.2”,“revision”:“cf6ff5939ddc6b4d45fcbabfbfe13c950e0058c4”}}}
info: <-- GET /wd/hub/status 200 4.037 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.2.2”,“revision”:“cf6ff5939ddc6b4d45fcbabfbfe13c950e0058c4”}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.2.2”,“revision”:“cf6ff5939ddc6b4d45fcbabfbfe13c950e0058c4”}}}
info: <-- GET /wd/hub/status 200 4.264 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.2.2”,“revision”:“cf6ff5939ddc6b4d45fcbabfbfe13c950e0058c4”}}}