Get "There is no such file or directory" when testing on an iPad device, but not in the simulator

I have an application that I release as an iPhone and iPad, even if it is developed as Universal. The reason is that I have released the English version of Universal and just want to update the versions for iPhone and iPad in Sweden, because it was with separate applications for different devices.

When I launch on the iPhone, I have no problem, but when testing with the iPad, I get a message below that I don’t know how to delete:

"Failed to start" FamilyQuiz_3 "

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

I can launch the application from the iPad, but it does not start automatically when sending from XCODE.

+5
source share
1 answer

1) make sure your version of iOS Deployment Target matches the version installed on your device in the build settings.

2) remove it from the device

3) close xcode

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

if this does not work, try uninstalling the application by restarting the phone and then restarting the computer and do it again.

+10
source

All Articles