ios 开发之 Xcode6 No valid signing identities (i.e. certificate and private key pair) matching...

 之前的项目用证书真机测试过,我想再无证书Build,出现下面的报错提示! 

 

下面的team我无法改成None!一点击None选的还是Unhonw name(JPGE28K3W9)这个是报错的关键

 

最后由下面文章得到启示

http://stackoverflow.com/questions/19197497/ios-7-0-no-code-signing-identities-found

应该是这个工程绑定了一个teamID

The hint was that the team ID shown in the build failure message about was out of date.

所示的提示是,团队ID构建失败消息是过时了。

因此,我就想着把绑定的过时的teamId删除了就可以了!

下面是操作步骤

1.Xcode6.打开的你的工程,左侧导航栏,选中工程,右键,SHOW in finder ,

2.显示包内容

3.双击文件

 

4.搜索team

5.双击这一行,删除它,保存command+s

6.修改none,可以了,编译成功了!

原文地址:https://www.cnblogs.com/muyushifang07/p/4487890.html