I apologize. I already googled a lot, and I followed the whole solution, but still I ran into the same problem. This is only the reason when I ask this question:
I am trying to run an application on a device. It successfully runs on the simulator.
- List item
- I am using 9.2 SDK
- Xcode 7.2
- And the device is 9.2 iPhone 6 plus
I tried:
- Clean
- Empty build folder
- Uninstall application
- Disconnecting / reconnecting a device
- Boot device
- Xcode reboot
- I am currently using a distribution certificate (AdHoc Push notification) instead of Developer one
- I recreated
- I deleted all certificates from Xcode and I downloaded everything and then connected the device
- Xcode> Settings> Accounts - Delete my account
Go to Product-> Scheme-> Edit Scheme ...
Choose a startup scheme
Select the Information tab
Make sure the settings are as follows:
Build configuration is set to Debug
Executable debugging in progress
Startup starts automatically
CLOSE ITUNES (itunes must be closed)
But still, I ran into the same problem. Could you help me solve this problem? 

source share