早上测试的手机还可以和Xcode连接跑程序,但是这会突然手机和Xcode不能连接了,报错的问题就是Please verify that your device’s clock is properly set, and that your signing certificate is not expired. 
但是这台不是越狱手机啊,而且一直也在电脑上跑,为什么会出现这个问题,求解!!

解决方案 »

  1.   

    检查一下provision file是不是有效
      

  2.   

    有没有尝试重启 Xcode?
      

  3.   

     your signing certificate is not expired.就是你的证书无效了,你去“钥匙访问串”里把无效的证书删除后,重新安装一个有效的就可以了
      

  4.   

    Connect to Apple Developer Member Center
    Click on 'Certificates, Identifiers & Profiles'
    iOS Apps must not have an expiration date notification or else renew it, and come back here
    Click on 'Provisioning profiles'
    If no one has 'active' status, that is the problem
    Add one for 'iOS App Development'
    Choose the right 'App ID' : your BundleID, or wildcard
    The next screen should show you valid certificates. If not, go create one (click on 'Certificates' item on the left menu) and come back here
    Choose one certificate
    Then you see all the devices you declared in 'Devices', select those on which you want to run your app
    Give a profile name and generate it
    You will download a file named : [profile name].mobileprovision
    Double-click to install it
    At this step, my problem was solved. Build and run on my phone is ok.
    谷歌到的 基本就是你的证书过期了 也可能是你的APP id过期了
      

  5.   

    感觉是xcode的问题,我们很多同事隔三差五的出现这个问题。。
      

  6.   

    搬个砖:
    Solution within Xcode:In Xcode, go to Preferences --> Accounts --> View DetailsPress the refresh button in the lower left corner (called Download all in Xcode 7)
    PS:Sometimes it may also help to delete invalid provisioning profiles: right-click -> move to trash
    I saw this error exactly one year after signing up as an Apple developer.另外可以配合Code Signing 里面重新配置一下
      

  7.   

    给分吧,我测试过了。
    http://blog.csdn.net/rekrad/article/details/17860117
      

  8.   

    最后还是没用的话,删除你的apple ID ,重新加进来,然后downloadall ,everything is ok
      

  9.   

    我也遇见这样的问题, 已经解决了 ,   从新选择开发者, 点一下fix 自动修理就行了
      

  10.   

    楼主解决了么
    没有的话 
    进入钥匙串管理 把相关的证书删掉,然后在回到Xcode 选完 identity - Team 后选fix
      

  11.   

    这个是比较管用的,补一句,点击target----》general  可以看到 identity。
      

  12.   

    http://www.bubuko.com/infodetail-982908.html
      

  13.   

    http://blog.csdn.net/arodung/article/details/50846546
      

  14.   

    我说一下我的解决办法,先去把钥匙串中的过期证书删除,然后重新下载证书安装,我之前都是这么干的,屡试不爽.  但是今天又遇到了,却没有发现过期的证书,于是我把里面的没有过期的证书(别删错了,系统证书不能删)删除了一个,然后去项目中点击 fix 系统会给你重新配置,然后就可以了
      

  15.   

    1.clean一下
    2.彻底关掉xcode,然后重新打开
    3.重启下电脑
    4.确定你的手机的系统与所使用的xcode 版本兼容
    5.查看下是否是手机时区错误了
    6.确定你的证书是真实有效
    7.确定你电脑的Apple Worldwide Developer Relations Certification Authority证书没有失效,如果已经失效,请百度解决办法
      

  16.   

    我把证书全部删除,然后编译,然后fixessue,然后选reset就可以了。xcode会自动下载证书并安装。虽然很暴力,但是很有效
      

  17.   

    删掉APPID  重新登陆一下就就好了