No derivative data to build after upgrading to Xcode 4.5

I have a MacBook Pro with Mac OS X 10.7.5. I was developing iOS using Xcode 4.4 and recently upgraded to Xcode 4.5.

For my application, I created some third-party libraries on which it depends, and these libraries must be located in a certain place so that my application can select and use them. However, I cannot find the latest library builds because, although Xcode says the libraries are being built successfully, nothing is available in the organizer for derived data.

What can I do to determine where these libraries are created?

+4
source share
2 answers

In Xcode 4.5, look at Preferences-> Locations.

This shows where your Derived Data location actually lives on the File System.

Click the arrow next to the Derived Data path to show the path in the Finder.

I recently upgraded from Xcode 4.3.3 and found that the build location was automatically changed to Custom, so my (debug) build products are now located:

~ / Library / Developer / Xcode / DerivedData / Add / Products / Debug

I assume that Apple made this change to simplify the location of assembly products in one place. In Xode 4.3.3, for example, build products were placed under:

~ / Library / Developer / Xcode / DerivedData / XXX

where XXX is a randomly created folder based on your Xcode project name.

I also found it helpful to include hidden folders that will be displayed in Finder so that you can actually view the contents of the Library folder. I used the free Onyx tool to enable the display of hidden folders.

Hope this helps.

+7
source

I went to Organizer, right-clicked on a project that no longer generated derived data (although I could see that it was ... just the delete button was grayed out) and removed from the organizer. When I opened the project again, the button was available again

+3
source

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


All Articles