Xcode 提示的報錯:the application could not be verified.
開發的應用一直真機安裝不了,網上查看資料,都是說證書出錯,最后在stackoverflow.com 找到原因:
I deleted the app from the device, restarted Xcode, and the app subsequently installed on the device just fine without any error message. Not sure if deleting the app was the fix, or the problem was due to "the phase of the moon".
就是把手機上安裝了的應用刪除掉,在安裝就行了!
分析:我猜測是因為之前我在另一臺電腦上安裝了這個應用,調試證書導致的錯誤?還是,最近升級了OS X 10.10.3 、Xcode 6.3 導致的錯誤?不得而之了。總之,如果下次遇到這個問題,先刪掉原來的應用,如果不行,那考慮其它原因就是證書等問題。
~nice
- 如果有什么疑問,可以在評論區一起討論;
- 如果有什么不正確的地方,歡迎指導!
注:本文首發于 iHTCboy's blog,如若轉載,請注明來源。