Code signing is required for product type 'App

2019-01-01 11:29发布

I am facing the below issue and am unable to build the application.

XXX has conflicting provisioning settings. XXX is automatically provisioned, but provisioning profile WildCard has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual provisioning in the target editor. Code signing is required for product type 'Application' in SDK 'iOS 10.0'

I am also unable to choose a particular profile.

Enter image description here

How to resolve this issue?

标签: ios xcode
27条回答
浅入江南
2楼-- · 2019-01-01 12:23

Steps:

  1. Under GeneralSigning
  2. Uncheck: Automatically manage signing
  3. Select Import Provisioning
查看更多
刘海飞了
3楼-- · 2019-01-01 12:27

I ran into this type error by updating the Xcode version to 8.0, and under the Code signing is required for product type 'Application' in SDK 'iOS 10.0'

There is a warning:

isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it.

My solution is go to the TARGETGeneralSigning -> click the Enable signing... button, and I solved the issue.

查看更多
君临天下
4楼-- · 2019-01-01 12:28

Great, now we can choose the profile for Debug and Release separately in the general tab itself as illustrated in the image below.

Also when you click on Automatically manage signing it does all process that are created by Fix issue in previous Xcode versions.

Enter image description here

查看更多
登录 后发表回答