Determine Xcode derived data location from command line
xcode, xcode4
Solution
xcodebuild -project myapp.xcodeproj -showBuildSettings
prints all build settings and values, in particular the folder where the app is build:
BUILT_PRODUCTS_DIR = /path/to/myapp/DerivedData/myapp/Build/Products/Release
Problem
Is there a way to determine from the command line what the location of your derived data folder is after building with xcodebuild? For example, after running xcodebuild: ``` xcodebuild -project projectname -target targetname ``` I want to be able to find out which folder the app is in. I would like to do this without changing the output path with CONFIGURATION_BUILD_DIR or within the project settings. Any ideas?