我是靠谱客的博主 复杂树叶,这篇文章主要介绍iOS 真机测试报错,现在分享给大家,希望可以做个参考。

Xcode 7以及以后的版本可以直接真机测试, 自动配置好的certificate可能会被revoked,爆如下错误:

 1.  The certificate used to sign "Hmss" has either expired or has been revoked. An updated certificate is required to sign and install the application.

   

   解决方法:

   打开钥匙串访问”  -- >  我的证书 (删除过期的证书,  运行, 若提示 Fix ,点击Fix)

   

   2. 若配置了开发环境,提示如下错误:

   Signing for "XXX" requires a development team. Select a development team in the project editor.

  Code signing is required for product type 'Application' in SDK 'iOS 10.0'

  解决方法:

   targets --> general --> Signing --> Team (选择你们公司的Team )


   3.  requires a provisioning profile.

   登录https://developer.apple.com/  ,下载Provisioning Profiles,在Xcode未关闭的情况下,双击运行

   targets --> general --> Signing --> Provisioning Profiles(import 下载的Profile文件)

    

最后

以上就是复杂树叶最近收集整理的关于iOS 真机测试报错的全部内容,更多相关iOS内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(95)

评论列表共有 0 条评论

立即
投稿
返回
顶部