When I clean Xcode DerivedData, I cannot run my application in iOS Simulator

In Xcode 6.0.1, I need to delete all my data in DerivedData, after which I launched the application, it completed successfully, but I can not run it on iOS Simulator iPhone 5. Xcode warning:

Invalid or missing program / program parameters

Can anybody help me?

+6
source share
3 answers

I encountered this problem when I transferred the project from xcode 6.4 to xcode 7 beta 6. To solve this problem, you need: From the top menu of the GOTO menu, xcode β†’ Settings (cmd +,) β†’ Location, select the command line tool for the current version .

Now run the application, it should work fine.

+1
source

For me, one of the following worked:

  • purification project (product / net)
  • clearing the received data (window / projects)
  • reopening Xcode and project
  • deleting a schema and re-creating it (Product / Scheme / Manage Schemes)
  • change of location of derived data (Xcode / Preferences / locations, change of derived data to: Relative)
+1
source

I had the same problem, and I noticed that Xcode suddenly created several build directories in different places.

So, I went to create the settings and looked at all the places of the assembly, exited Xcode, deleted all the directories of the assembly sites, launched Xcode, cleaned the assembly, returned again, and this fixed the problem.

Not sure what caused it in 1st place :)

0
source

Source: https://habr.com/ru/post/976656/


All Articles