Does anyone have idea what this error in VS means:
1> Check dependencies
1> No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "xxxxxxxx" with a private key was found.
1> Code signing is required for product type 'Application' in SDK 'iOS 10.0'
App runs fine in simulator but I can't deploy to phone. I have both development and distribution certificates on Developer pages and imported in Keychain. Also, provisioning profiles for com.companyname.appname are added and downloaded with Xcode 8.
Where this "iOS Development" signing certificate must me present? Are there any additional settings that need to be configured for RemoteBuild (I guess that is fine since I can deploy to Simulator). My Macbook Pro is running El Capitan.
答案 0 :(得分:2)
这个" iOS开发"签证必须在场吗?是否需要为RemoteBuild配置任何其他设置(我想这很好,因为我可以部署到模拟器)。
我猜您直接从开发者页面下载了现有证书,但未在Mac中生成私钥。
因此,要解决此问题,您需要找到与此证书配对的私钥(通常在请求此证书的原始Mac中),并将证书(.p12文件)导出到当前的Mac计算机。有关详细信息,请参阅Export your iOS Certificate and Provisioning Profile。
如果找不到私钥,则需要申请新证书,私钥将在Mac中自动生成。有关申请新证书的详细信息,请参阅this case。