iOS-Xcode8新特性(Code signing is required for product type 'Application' in SDK 'iOS 10.0')

今天我们APP发布现版本,我什么东西都做好了,然后我选择配置文件和证书,发现有个问题一直报错,我升级xcode之前是好的;

错误描述如下:

poseidon has conflicting provisioning settings. poseidon is automatically signed, but provisioning profile woyaoxuenew_push_2016/07/21/10:33:41 has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor.

Code signing is required for product type 'Application' in SDK 'iOS10.0'

截图如下:

iOS-Xcode8新特性(Code signing is required for product type 'Application' in SDK 'iOS 10.0')_第1张图片

这是因为Xcode8更新了Provisioning Profile,需要重新设置debug 和release的 Provisioning Profile。

project 设置-> General ->找到以下配置 重新选择,对应的配置文件即可。

iOS-Xcode8新特性(Code signing is required for product type 'Application' in SDK 'iOS 10.0')_第2张图片
iOS-Xcode8新特性(Code signing is required for product type 'Application' in SDK 'iOS 10.0')_第3张图片


iOS-Xcode8新特性(Code signing is required for product type 'Application' in SDK 'iOS 10.0')_第4张图片

现在Xcode - >(产品)product- >(清空)Clean。闭上你的项目在Xcode中,重新一遍。关键!!!

希望可以帮助到你!

你可能感兴趣的:(iOS-Xcode8新特性(Code signing is required for product type 'Application' in SDK 'iOS 10.0'))