I have custom schemes such as DebugStaging
that are signed with a development identity.
I use these schemes to run the app on my phone from Xcode on debug. However, any attempt to profile using these schemes results in
Target failed to run: Permission to debug [app name] was denied. The app must be signed with a development identity (e.g. iOS Developer)
What in the heck is going on and how do I rid Xcode of this evil??
Edit: We long ago deleted the Debug
scheme to use more verbose scheme names.
Go to the scheme for your target, Product -> Scheme -> Edit Scheme, then select 'Profile' from the left menu and set the Build Configuration to Debug.
Deleting derived data worked.
In my case, no Debug
build configuration existed because it was deleted and I am using completely custom configurations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With