1. 程式人生 > >xcode7在真機除錯的時候出現"The identity used to sign the executable is no longer valid"

xcode7在真機除錯的時候出現"The identity used to sign the executable is no longer valid"

出現這個錯誤的原因是描述檔案過期.

如圖(借的圖):


大家都知道,在Xcode7中真機除錯不在需要配置開發者證書和描述檔案.
那出現這個問題的原因是Xcode自己配置的描述檔案過期.
解決辦法: 1.Xcode --> Preferences -->Accounts
點選View Details
2.看下面的描述檔案,找到相應的描述檔案 點選 Update, 最後Done. 就可以了