[IOS] [Xcode]Code Signing Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 12.2’

Tran Ngoc Tung
2 min readJul 9, 2019

Your Xcode still works fine and on a nice day you get some errors when building the project.
Maybe the problem comes from your co-workers or project co-workers changing and committing their configuration file to xcode …. and so …

1 Way

  • Go to Your Application -> the General Tab. Under the signing section, check/uncheck/check “Automatically manage signing”. (Make sure that you will not get a status of red error ) .
  • Try to Clean and Build.

2 Way

Just Clean , quit Xcode and opened it again.

3 Way

Go to Xcode/Preferences/Accounts
Click on your apple id account;
Click — “View Details” (that open new window with “signing identities” and “provisioning profiles”;
Delete all certificates from “Provisioning profiles”, empty trash;
Delete your Apple-ID account
Log in again with your apple id and build app….

4 Way Check your config XCode .

5 Way

Go to Build Settings ->User Defined ->Provisioning profile (Remove this)

Hope this helps !!!

--

--