最近升级了Xcode,真机测试出现了问题,分享下:
Xcode 8 有了自动配置证书的功能,但是刚接触报错会感觉云里雾里 = =
打开之前的程序,如果没有证书是这样的:
运行报错:Signing for "XXXXXX" 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'
我们先把上面的对勾去掉,然后将所有Project和Targets下的Build Settings 下的Signing 全部选择 iOS Developer