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? ..
Asked
Active
Viewed 84 times
0
-
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 Answers
0
As a workaround
If the minimum compile target Version is set higher than the current Target Version,
If the Valid Architectures in the Build Settings is set incorrectly, the above error may occur.
Fixed by setting Compiler for C / C ++ / Objective-C Default compile (Apple LLVM 5.0) in Build Options

hooni
- 249
- 3
- 9