iosxcodexcode8ios10code-signing

Xcode error: Code signing is required for product type 'Application' in SDK 'iOS 10.0'


I have Xcode 8 installed on OS X El Capitan.

I get this error:

Signing for "target" requires a development team. Select a development team in the project editor.

Code signing is required for product type 'Application' in SDK 'iOS 10.0'

Xcode screenshot


Solution

  • With Xcode-8.1 & iOS-10.1

    1. Add your Apple ID in Xcode Preferences > Accounts > Add Apple ID:

    Step 1

    1. Enable signing to Automatically && Select Team that you have created before:

    Step 2

    1. Change the Bundle Identifier:

    Step 3

    1. Code Signing to iOS Developer:

    Step 4

    1. Provision profile to Automatic:

    Step 5

    You can now run your project on a device!