Xcode 真机运行报错:the application could not be verified.

简介: Xcode 提示的报错:the application could not be verified.开发的应用一直真机安装不了,网上查看资料,都是说证书出错,最后在stackoverflow.

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,如若转载,请注明来源。

目录
相关文章
|
5月前
|
iOS开发 MacOS Perl
解决Xcode运行IOS报错:redefinition of module ‘Firebase‘和could not build module ‘CoreFoundation‘
解决Xcode运行IOS报错:redefinition of module ‘Firebase‘和could not build module ‘CoreFoundation‘
206 4
|
5月前
|
iOS开发 Perl
解决Xcode15报错:DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS
解决Xcode15报错:DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS
255 1
|
5月前
|
iOS开发 Perl
解决Xcode报错Stored properties cannot be marked unavailable with ‘@available‘
解决Xcode报错Stored properties cannot be marked unavailable with ‘@available‘
58 0
|
8月前
|
iOS开发
Xcode报错“compact unwind compressed function offset doesn‘t fit in 24 bits
Xcode报错“compact unwind compressed function offset doesn‘t fit in 24 bits
78 1
|
8月前
|
iOS开发
XCode 4.3.2 如何新建 Window-based Application应用的简单例子
XCode 4.3.2 如何新建 Window-based Application应用的简单例子
56 2
|
iOS开发
Xcode运行报错The certificate used to sign “XXX” has either expired or has been revoked.解决办法
Xcode运行报错The certificate used to sign “XXX” has either expired or has been revoked.解决办法
275 0
|
iOS开发
Xcode运行报错Failed to prepare device for development.解决办法
Xcode运行报错Failed to prepare device for development.解决办法
689 0
|
开发者 iOS开发
Xcode运行报错The operation couldn’t be completed. Unable to launch xxx because it has an invalid code...
Xcode运行报错The operation couldn’t be completed. Unable to launch xxx because it has an invalid code...
992 0
|
API iOS开发
iOS 开发 - Xcode8下self.view.layer不能addSublayer,报错
iOS 开发 - Xcode8下self.view.layer不能addSublayer,报错
81 0
iOS 开发 - Xcode8下self.view.layer不能addSublayer,报错
|
iOS开发
Xcode报错Expected selector for Objective-C and Expected method body
Xcode报错Expected selector for Objective-C and Expected method body
231 0
Xcode报错Expected selector for Objective-C and Expected method body