更换电脑后,真机测试无法运行怎么办?忘记导出P12文件怎么办?
出现下边错误怎么办?
No valid signing identities (i.e. certificate and private key pair) matching the team ID “Y4YLL2LL5C” were found.
Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles.
意思是team id绑定配置文件了。
解决:
在xcode中右击target->showInFinder->右击后点击显示包内容->以文本格式打开.pbxproj后缀文件,搜素team,删除teamId保存下。重新运行即可真机运行