Testing on Safari Browser in Real Device-" How to create Provisioning Profile"

Hi All,

I have registered my device with Appium developer program. I am not aware how to add provisioned Profile. Attache the screen shot of Organize- Xcode window.

Please help me to create the provisioned profile.

  1. is it can be provisioned only we develop a application in Xcode.?

Error Message :

**code runs perfect in simulator and Android. **

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/114811-1372-1mw0hzr/appium-app.zip

info: [debug] Unzipping /var/folders/vj/k3615qdn2bq8qjyz7s32hdfr0000gn/T/114811-1372-1mw0hzr/appium-app.zip

info: [debug] Testing zip archive: /var/folders/vj/k3615qdn2bq8qjyz7s32hdfr0000gn/T/114811-1372-1mw0hzr/appium-app.zip

info: [debug] Zip archive tested clean

info: [debug] Unzip successful

info: [debug] Using locally extracted app: /var/folders/vj/k3615qdn2bq8qjyz7s32hdfr0000gn/T/114811-1372-1mw0hzr/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app
info: [debug] Creating new appium session 6987468b-eb6e-4f6a-95c4-6119e0ba28fe

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

info: Will try to parse the plist file as XML

error: Could not parse plist file (as binary) at /var/folders/vj/k3615qdn2bq8qjyz7s32hdfr0000gn/T/114811-1372-1mw0hzr/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app/en.lproj/Localizable.strings

warn: Could not parse app Localizable.strings
info: [debug] Not setting locale because we’re using a real device
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir:
info: [debug] Dynamic env:
info: [debug] Dynamic bootstrap code:
info: [debug] Dynamic bootstrap path:

error: Could not parse plist file (as XML) at /var/folders/vj/k3615qdn2bq8qjyz7s32hdfr0000gn/T/114811-1372-1mw0hzr/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app/en.lproj/Localizable.strings
error: iOS log capture failed: spawn ENOENT
error: Failed to start an Appium session, err was: Error: spawn ENOENT

info: [debug] Reusing dynamic bootstrap:
info: [debug] Not setting iOS and app preferences since we’re on a real device
info: [debug] Starting iOS device log capture via deviceconsole
info: [debug] Cleaning up appium session
info: [debug] Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: spawn ENOENT)”,“code”:“ENOENT”,“errno”:“ENOENT”,“syscall”:“spawn”,“origValue”:“spawn ENOENT”},“sessionId”:null}
info: ← POST /wd/hub/session 500 346.380 ms - 197

info: [debug] Not setting device type since we’re connected to a device

info: [debug] Getting bundle ID from app
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 318757c0a61a166603b7bec5ad9c11cf5bdb1e57 --bundle com.bytearc.SafariLauncher

info: [debug] Installing app using cmd: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 318757c0a61a166603b7bec5ad9c11cf5bdb1e57 --bundle “/var/folders/vj/k3615qdn2bq8qjyz7s32hdfr0000gn/T/114811-1372-1mw0hzr/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app”