I am trying to launch my app on device. It is launching successfully on the simulator.
- List item
- I use 7.1 SDK
- Xcode 5
- And the device is a 7.1 iPhone 4S
I have tried:
- Clean
- Clean Build Folder
- Deleting app
- Disconnecting/Reconnecting device
- Booting device
- restarting Xcode
What can I do to make it work?
Could it be something with Code Signing?
Currently i have it set to 'Dont Code Sign'
If your provisioning profile and code sign everything is alright then try once Quit and Restart your XCode. It will work for me.
After following the above, it still didn't work (from xCode 6). But after rebooting the phone and deleting the app, it worked.
Check whether the device memory is full.
Make sure the Provisioning Profile setting in your environment is set to your development profile: Project > Build Settings > Code Signing
Consider setting it in your Target settings and the Pod project (in case using Cocoa Pods).
In case the development profile is not present create or download it: Certificates, Identifiers & Profiles > Provisioning Profiles
Selection in provisioning profiles may cause this problem. So while launching an app on to the device, make sure you are using the development profile & not the distribution profile. I have been facing the same issue. But got away with it using the same process.
Check for Project > Build Settings > Provisioning profile & select your development profile.
And also take care of Code Signing Identity in the same tab. Make sure you choose both the identities of Developer & NOT of Distribution.
option + command + shift + k
and then run the project did the trick for me.