Code signing error in Xcode 8

12,308

Solution 1

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

Solution 2

I had a similar problem and it was because my iPhone Developer certificate had expired. You can check this with the Keychain Access app in Utilities.

Share:
12,308
Freddy Benson
Author by

Freddy Benson

Updated on July 28, 2022

Comments

  • Freddy Benson
    Freddy Benson almost 2 years

    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.