用Xcode8打包上架会遇到code signing is required for product type 'xxxxx' in SDK 'iOS 10.0';这个原因在测试时也会出现,只不过打包上架和真机测试处理的有所不同,出错具体如图一: 图一: