I am trying to run a appium test on a real iPhone device (7.1.2).
I have installed:
node (v0.10.33) via homebrew
Appium (v1.3.4 (REV 8fdcf8370deed16e9d221ef6e3b20430a9788e91)) from gitHub
a Mac OSX 10.9.5.
I am running XCode 6.1
IPA file created by Xcode and successfully installed on real device with iTunes.
I have error:
info: [debug] [INST STDERR] 2014-12-04 06:15:19.468 instruments[60981:1003] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: Permission to debug org.consumerreports.CRCarBuyerCalculator was denied. The app must be signed with a development identity (e.g. iOS Developer).
info: [debug] [INSTSERVER] Instruments exited with code 253
2014-12-04 06:49:38.254 instruments[63552:455f] WebKit Threading Violation - initial use of WebKit from a secondary thread.
Instruments Usage Error : Specified target process is invalid: org.consumerreports.CRCarBuyerCalculator
instruments, version 6.1 (56160)
I agree with Chirag, your UDID isn’t set up for the org. After this is fixed you have to go into Xcode preferences and pull it down from where ever Apple keeps them. I’d make sure you can get the code running on your device from Xcode first then make sure you don’t have instruments or Xcode connected to the device before you try again.
This was a pain the 1st, 2nd and 3rd times I got it to work.