获取“无此文件或目录"在iPad设备上进行测试但不在模拟器中进行测试时 [英] Get "No such file or directory" when testing on iPad device but not in simulator

查看:116
本文介绍了获取“无此文件或目录"在iPad设备上进行测试但不在模拟器中进行测试时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个可以像iPhone和iPad一样发行的应用程序,即使它是作为Universal开发的.原因是我已经发布了通用的英语版本,并且只想更新iPhone和iPad瑞典语版本,因为它已经针对不同设备使用了单独的应用程序.

I have an app that i am release as iPhone and iPad even if it developed as Universal. The reason is that i have release an English version that is Universal and just want to update the iPhone and iPad Swedish versions as it have been with separate apps for the different devices.

当我在iPhone设备上运行时,我没有问题,但是在使用iPad进行测试时,我收到以下消息,但我不知道如何删除该消息:

When i run on the iPhone device i have no problems but when testing with iPad i get the message below, which i do not know how to remove:

无法启动"FamilyQuiz_3"

"Could not launch "FamilyQuiz_3"

没有这样的文件或目录(/Users/peterk/Library/Developer/Xcode/DerivedData/MyApp_3-fosmfwberzyfryenqrjlfpacftjv/Build/Products/Debug-iphoneos/MyApp_3.app/MyApp_3)

No such file or directory (/Users/peterk/Library/Developer/Xcode/DerivedData/MyApp_3-fosmfwberzyfryenqrjlfpacftjv/Build/Products/Debug-iphoneos/MyApp_3.app/MyApp_3)

我可以从iPad设备启动该应用程序,但是从XCODE提交时它不会自动启动.

I can start the app from the iPad device but it do not start automatically when submit from XCODE.

推荐答案

1)确保您的 iOS部署目标版本与构建设置中的设备版本相同或更低.

1)make sure your iOS Deployment Target version is the same or lower than the one on your device in build settings.

2)从设备中删除

3)关闭xcode

3)close xcode

4)在计算机上转到/Users/peterk/Library/Developer/Xcode/DerivedData/并删除 MyApp_3-fosmfwberzyfryenqrjlfpacftjv文件夹

4)Goto /Users/peterk/Library/Developer/Xcode/DerivedData/ on your computer and delete the MyApp_3-fosmfwberzyfryenqrjlfpacftjv folder

如果仍然无法解决问题,请尝试删除该应用,重新启动手机,然后甚至重新启动计算机,然后再次执行.

if that still doesnt work go and try deleting the app restarting your phone, and then restarting your computer even, and doing it again.

这篇关于获取“无此文件或目录"在iPad设备上进行测试但不在模拟器中进行测试时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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