iOS真机调试——Unable to install “---”
2016-09-27 18:01
330 查看
iOS真机调试——Unable to install “—-”
一、问题描述:
今天开发的时候,在跑真机的时候出现了以下问题。
二、问题解决:
这边通过Xcode登录账号,重新将证书Download All下来。重新运行项目,还是出现这个提示。
通过Xcode下载证书,截图如下:
这边重新下载证书之后,还有错误。下面进一步查看错误是怎么产生的。
既然证书错误,肯定得看进入”钥匙串访问“管理工具。
查看了钥匙串——证书,发现了以下问题,截图如下:
这样子问题就很明朗了。
这边通过Xcode下载证书,其实是安装了一个新的证书,但是之前的相同的证书没有覆盖掉。
这边直接将相同的,过期的证书删除。
然后重新运行项目,就OK了。
三、总结:
这边总结下,凡是证书问题,多半都是钥匙串里面证书多个重复,而没有覆盖,需要删除之前失效的证书。
一、问题描述:
今天开发的时候,在跑真机的时候出现了以下问题。
<code class="hljs oxygene has-numbering" style="display: block; padding: 0px; background-color: transparent; color: inherit; box-sizing: border-box; font-family: 'Source Code Pro', monospace;font-size:undefined; white-space: pre; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; word-wrap: normal; background-position: initial initial; background-repeat: initial initial;"><span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">//---是具体项目的名称</span> Unable <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">to</span> install “——” The certificate used <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">to</span> sign “——“ <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">has</span> either expired <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">or</span> <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">has</span> been revoked. An updated certificate <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">is</span> required <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">to</span> sign <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">and</span> install the application.</code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; background-color: rgb(238, 238, 238); top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right;"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li></ul><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; background-color: rgb(238, 238, 238); top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right;"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li></ul>
这边提示证书过期。
二、问题解决:
这边通过Xcode登录账号,重新将证书Download All下来。重新运行项目,还是出现这个提示。
通过Xcode下载证书,截图如下:
这边重新下载证书之后,还有错误。下面进一步查看错误是怎么产生的。
既然证书错误,肯定得看进入”钥匙串访问“管理工具。
查看了钥匙串——证书,发现了以下问题,截图如下:
这样子问题就很明朗了。
这边通过Xcode下载证书,其实是安装了一个新的证书,但是之前的相同的证书没有覆盖掉。
这边直接将相同的,过期的证书删除。
然后重新运行项目,就OK了。
三、总结:
这边总结下,凡是证书问题,多半都是钥匙串里面证书多个重复,而没有覆盖,需要删除之前失效的证书。
相关文章推荐
- iOS真机调试——Unable to install “---”
- 真机调试 Unable to install "XXX" 证书过期需要更新
- 真机调试出现 Unable to open sync connection!
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- iOS 开发:调试错误“Unable to run app in Simulator“
- Eclipse在JDK源码中设置断点进行调试报错Unable to install breakpoint的解决方法
- 真机调试时,遇到Unable to open log device ‘/dev/log/main’: No such file or directory
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- Android wear开发真机调试报: Android error: Failed to install *.apk on device *: timeout
- 关于iOS 真机不能调试process launch failed: timed out waiting for app to launch 和 failed to get the task for
- iOS开发中,真机调试-Your maximum App ID limit has been reached. You may create up to 10 App IDs every 7 da
- XCode 4.3 Unable to load persistent store UserDictionary.sqlite 以及 ios simulator failed to install the application
- eclipse中断点调试不起作用的问题 unable to install breakpoint in
- 安卓应用程序在真机上调试时无打印信息,提示Unable to open log device ‘/dev/log/main’: No such file or directory在我们使用真机进行An
- iOS真机调试时“process launch failed: timed out waiting for app to launch”问题
- myeclipse 打上断点 调试项目 弹出框 提示 Unable to install breakpoint in ...
- ios真机调试时:error fail to launch **
- Silverlight无法启动调试,错误“Unable to start debugging. The Silverlight Developer Runtime is not installed. Please install a matching version.” 解决办法
- Q4关于Xcode调试设备只显示iOS Device或者打开iOS Simulator提示unable to determined device
- unable to create Debug Bridge...连接不上真机调试