Ios – Xcode error: Code signing is required for product type ‘Application’ in SDK ‘iOS 10.0’

code-signingiosios10xcodexcode8

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

Best Answer

To add developer account to Xcode:

  1. Press Cmd ⌘ + , (comma)

  2. Go to Accounts tab

  3. Follow the screen shot below to enable development team:

Step 3