Search code examples
iphoneioscocoa-touchxcode4.2

Build folder location in XCODE 4.2


I am using XCODE 4.2 & when I build my project I do not see libMyProject.a file under "Products" folder turning black even though my build is successful.

Where do these .a files gets stored. With 3.2.6, build folder used to be inside my project workspace.


Solution

  • You have to build it for device and not simulator for it to become black. But if you have only build it for the simulator, it will remain red.

    As for the location of the binary, it is located in the Derived Data folder in the subfolder specified in Pre-Configuration Build Products Path which by default has the values build/Debug-iphoneos and build/Release-iphoneos

    EDIT

    You can change the product name in the Build settings of your target by modifying the value of Product Name in the Packaging group.