zoukankan      html  css  js  c++  java
  • iOS 真机测试时报错:Provisioning profile "iOS Team Provisioning Profile: XXX” doesn't include the currently selected device “XXX”.

    这几天因工作需要,去给客户演示iOS项目打包的过程。之前演示都是顺利的,但后来客户自己操作时打电话说遇到了问题,出现报错。

    就过去看了一下,发现一个很陌生的错误提示:

    The operation couldn’t be completed. Unable to log in with account ‘XXX@163.com’.
    
    Provisioning profile "iOS Team Provisioning Profile: XXX” doesn't include the currently selected device “XXX”.

    第一个报错,是理解的,所以当时就让客户先登录自己的账号。

    但第二个报错却很是陌生,但没办法,总要去解决的,又不能让客户在那里等着。所以就先手动配置证书文件去打个包,最起码任务完成了。

    临走前,就把这个报警提示保留了一份。回来查了很多资料,都没给出满意的解决方法,而且开发者账号和证书都在客户手里,我想去实验也没办法。

    最后找到这个说法还算满意:

     《iOS 真机调试问题记录》

    The operation couldn’t be completed. Connection reset by peer
    
    Provisioning profile "iOS Team Provisioning Profile: com.guorenzhicheng.H-Students-XX" doesn't include signing certificate "iPhone Developer: 书源 范 (E62R7X86K7)".
    
    Provisioning profile "iOS Team Provisioning Profile: com.guorenzhicheng.H-Students-XX" doesn't include the currently selected device "范书源的 iPhone".、
    
    
    因为在 电脑证书里有一个证书重复,需要在钥匙串里删除一个,然后再重新配置。

    解决方法

     另有PaulpauL  提醒补充说明:遇到该问题时使用的是企业级证书,而且使用的是发布证书,不存在添加设备的name和UDID到证书中的问题。

  • 相关阅读:
    往下滚动,导航栏隐藏
    判断是模拟器还是真机
    根据颜色生成图片
    UITextfiled 设置输入前面空格
    iOS 滑动TableView控制导航栏隐藏与显示
    时间 多少分钟前
    时间戳转时间
    iOS 常用公共方法(一)
    找工作感悟
    java 内存泄露
  • 原文地址:https://www.cnblogs.com/LQCQ-Silent/p/6185913.html
Copyright © 2011-2022 走看看