Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Kiloblargh · Oct 04, 2012 at 06:08 PM · erroriosxcode

What must I do to never see this xCode "Could not launch... No Such File or directory..." error again?

I'm building and running on an iPhone. It compiles fine, it installs fine, it tries to run- and then fails, saying it can't find a file in the derived data folder. I can then manually launch the app on the iPhone with no problems, but xCode doesn't recognize that it's running.

I've found all these possible things that could cause this and ways to hopefully make it go away, usually including throwing out the contents of the DerivedData folder, but it still happens again ALL THE *&^%$#@ TIME and I don't really know what I'm doing to finally get it to go away when it does. It seems like I can build and run a few times with the debugger connected and then it will start giving this stupid error again. Why, xCode? Why?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image DannyB · Oct 07, 2012 at 03:57 PM 0
Share

I have the same problem, encountered it today for the first time. It did not happen to me in previous versions of Unity/Xcode.

In my case, it seemed like the app was copied to the device, but when I ran it, it was an older version. The only workaround for me was to delete the app from the device, and play again. I still got the error, but at least now I got the app to update.

avatar image Mike McShaffry · Nov 07, 2012 at 04:48 PM 0
Share

I'm having exactly the same problem - I'm testing on a variety of devices, and now the iPad3 just won't launch from Xcode at all because of this problem. I can run the app, just not from Xcode. Lots of ideas such as cleaning the project, deleting the DerivedData from Xcode or using rm from bash, rebooting the device and the $$anonymous$$ac, etc. but none of these seems to work.

The file mentioned in the error dialog is indeed present - so the "file not found" doesn't make a lot of sense.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Mike McShaffry · Nov 12, 2012 at 08:24 PM

First, fix the problem causing the dialog. Close Unity and delete ALL of the Unity-iPhone projects in Xcode. Next, make sure you don't have any of the DerivedData directories you see in the error dialog - if you must go into a terminal window or Finder and move them to Trash.

To keep this from happening again follow these steps while you make changes and test your game on a device: 1. Always hit "Stop" in Xcode, and Quit Xcode prior to killing your game on the device. 2. On your device, force quit the game, then delete it. 3. Then, you should be able to go into Unity, make any change you like, and rebuild/rerun the game without seeing the above problem.

I hope that helps you - it sure worked for me!

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kiloblargh · Nov 13, 2012 at 06:37 PM 0
Share

iPhones have force-quit? That's news to me. How do you do it?

avatar image AlucardJay · Nov 13, 2012 at 06:41 PM 1
Share

Hold the power button as if turning off. When the slide to shutdown screen comes up, press and hold the Home button. This should force-quit the app. (I learned this when I first started and forgot to tick exit on suspend) : http://osxdaily.com/2012/02/14/force-quit-app-iphone-ipad-ipod-touch/

avatar image Mike McShaffry · Nov 13, 2012 at 07:52 PM 0
Share

I was also able to get this problem to go away by plugging in another device. It seems that Xcode can get really confused sometimes!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

iOS Archive error: Build input file cannot be found: '/Users/navil/Desktop/WW3ClientiOS/Classes/Native/Unity.ugui_CodeGen.c' (in target 'Unity-iPhone' from project 'Unity-iPhone') 2 Answers

xCode "dyld`dyld_fatal_error:" in iPhone4S 0 Answers

Undefined symbols for architecture i386: with 200+ apple mach-o linker (Id) errors 4 Answers

xCode pods problem when building for iOS 1 Answer

Gamecenter achievement already reported 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges