1. 程式人生 > >Please verify that your device’s clock is properly set, and that your signing certificate is not exp

Please verify that your device’s clock is properly set, and that your signing certificate is not exp

general erl ria properly ear pop one 一種可能 -c

真機調試的時候出現此類警告,之前也遇到過,但是一直沒總結,今天總結一下

出現這樣的問題大概有幾個解決方法:

1.最簡單的一種----假設你的證書是近期才申請的沒什麽問題。或者說前幾天測試還沒問題,突然不能用了,簡單。把手機上的現有項目版本號刪掉。clean一下又一次執行,應該就攻克了。

2.證書出了問題。又一次申請證書,只是,普通情況下感覺不會出現這樣的問題

3.另一種可能是 團隊開發的tream證書有好幾個,可能選錯了。

target-->general裏將tream證書選擇為相應的。


2016.1.13

今天又遇到這個問題了,發現使用之前的辦法嘗試竟然沒用了。找來找去又找到了另外一個方法:

In Xcode, go to Preferences --> Accounts --> View Details

Press 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 裏面又一次配置一下

這樣的情況是由於 選擇team證書的時候 用的是最新的名字,可是描寫敘述文件卻用的是之前的比較老的。

Please verify that your device’s clock is properly set, and that your signing certificate is not exp