应用程序不会自动在设备中启动并在xcode上获取错误 [英] Application not automatically launching in device and getting error on xcode

查看:80
本文介绍了应用程序不会自动在设备中启动并在xcode上获取错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Xcode 4.5上遇到了一个奇怪的错误。当我试图在iOS 6上从xcode运行Ipad 2时,我收到了这个错误。

I'm getting a weird bug on Xcode 4.5. When i tried to run my application on Ipad 2 from xcode with iOS 6, I'm getting this error.

我完成了以下方法来运行应用程序,但没有运气。

I done the following methods to run the application, but no luck.


  1. 清理项目并运行

  2. 重新启动设备

  3. 重新启动xcode

我的机器上有一个有效的证书,应用程序正在设备上安装,但它没有自动启动。可能是什么问题?

I have a valid certificate in my machine and the application is installing on the device but it's not launching automatically. What could be the issue ?

提前致谢

推荐答案

那个真烦人在许多不同的情况下会发生此错误。有时重新启动Xcode,修复了问题。如果没有,请按以下步骤操作:

That is really annoying. This error happens in a number of different situations. Sometimes restarting the Xcode, fixes the problem. If not, follow these steps:

断开您的设备。

从您的设备中删除该应用。

Delete the app from your device.

退出Xcode(不要只是关闭窗口,退出)

Quit Xcode (Do not just simply close the window, quit it)

删除派生数据文件夹(〜/ Library / Developer / Xcode / DerivedData / -gbrvhlvwmpiobxdujegtghggrffp - 或类似的东西)

Delete derived data folder (~/Library/Developer/Xcode/DerivedData/-gbrvhlvwmpiobxdujegtghggrffp - or something like that)

现在再次启动Xcode,连接设备并运行项目。它应该可以正常工作。

Now start Xcode once again, connect device and run the project. It should work fine.

来自DhilipSiva 博客

from DhilipSiva blog

这篇关于应用程序不会自动在设备中启动并在xcode上获取错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆