Check out these things.
1. The device is connected to your system or not.
2. The deployment task in xcode. (General-> Deployment Details-> Purpose of Deployment) It must match the ios version of your device.
3. Change your package ID. Follow the general rules for setting a unique package identifier for your project while working on the device. See what is the correct package identifier format in iOS?
Also be careful with the number of bundle identifiers defined in the project. Please remember all link identifiers or write them down somewhere. Since you use a free account, you have limited access to the number of package identifiers.
You must also disable push notifications in the Features section of the project. Try changing the "application groups" also in the format group.com.someString.
These things helped me to run the application on a real device without any errors.
iPhoneDeveloper Jun 09 '17 at 5:01 2017-06-09 05:01
source share