iOS:无法启动.app文件 [英] iOS: Failed to launch .app file

查看:186
本文介绍了iOS:无法启动.app文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道为什么要在我的.app文件中查找目录。每次我运行应用程序时,它都会在iPhone上安装应用程序但不运行并给出以下错误。谁能告诉我这个设置存储在哪里?谢谢。

I don't know why it is looking for directory inside my .app file. Every time I run application it installs the App on iPhone but doesn't run and gives below error. Could anyone please tell me where's this settings stored? Thanks.

error: failed to launch '/Users/xxx/Library/Developer/Xcode/DerivedData/MyApp- ccbvvzjjzvwuerchrpulknxtenoq/Build/Products/Debug-iphoneos/MyApp.app/MyApp' -- No such file or directory (/Users/xxx/Library/Developer/Xcode/DerivedData/MyApp-ccbvvzjjzvwuerchrpulknxtenoq/Build/Products/Debug-iphoneos/MyApp.app/MyApp)


推荐答案

试用:

1 - 从iPhone中删除应用程序。

2 - 删除 DerivedData 文件夹的内容。

3 - 清洁&安培;构建项目,重新启动Xcode,然后重新启动设备。

Try with:
1 - remove the app from the iPhone.
2 - remove the contents of the DerivedData folder.
3 - Clean & Build the project, restart Xcode, and reboot your device.

编辑:

现在执行Xcode中的第2步5您可以从管理器中删除派生数据,只需选择项目标签,选择项目并点击右侧的删除...按钮。


Now for the step 2 in Xcode 5 you can delete the derived data from the Organizer, just select the Projects tab, select you project and click the "Delete…" button on the right.

这篇关于iOS:无法启动.app文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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