0

I am trying to test my application on iPhone device it gives the error.But it works in simulator. Is there any problem in build settings? ..

enter image description here

PRADIP KUMAR
  • 489
  • 1
  • 9
  • 31
  • have u install the provisioning profile. it is much needed to run the app in real device. and that device's uuid must be added to that profile. – JigneshP Mar 02 '16 at 12:20
  • Possible duplicate of [Xcode cannot run using the selected device](http://stackoverflow.com/questions/13257944/xcode-cannot-run-using-the-selected-device) – JAL Mar 02 '16 at 21:15

1 Answers1

0

As a workaround

  1. If the minimum compile target Version is set higher than the current Target Version,

  2. If the Valid Architectures in the Build Settings is set incorrectly, the above error may occur.

  3. Fixed by setting Compiler for C / C ++ / Objective-C Default compile (Apple LLVM 5.0) in Build Options

hooni
  • 249
  • 3
  • 9