Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code signing error in Xcode 8

I want to run my app on my device instead of on the simulator, but every time I try to run it, I get a code signing error:

  • 'AppName' requires a provisioning profile. Select a provisioning profile for the "Debug" build configuration in the project editor.
  • Code signing is required for product type 'Application' in SDK 'iOS 10.0'

I added a provisioning profile to the build settings under 'Code signing' but I still keep getting this error. Is there something wrong with my provisioning profile or am I looking in the wrong place? By the way, I used this provisioning profile on the previous version of Xcode and never ran into any problems.

like image 552
Freddy Benson Avatar asked Sep 20 '16 18:09

Freddy Benson


1 Answers

To fix it, I set > TARGETS > General tab > Signing > Automatically manage signing = CHECK MARK

like image 100
Doug Null Avatar answered Sep 21 '22 21:09

Doug Null