When I run xcodebuild the output directory is set to: /Users/name/Library/Developer/Xcode/DerivedData/project-fybdjyuardwltihdwcfbwmguufrw/Build/Products/
How can I manually set the output directory of xcodebuild?
To change the output folder, you need to open the Data Merge Settings, by going to Data Merge > Options. Then scroll down to the Output Folder section, here is where you can change the output folder by clicking the 'Change Folder' button.
The XcodeBuild build helper is a wrapper around the command line invocation of Xcode. It will abstract the calls like xcodebuild -project app.
It should by located in: ~/Library/Developer/Xcode/DerivedData . Save this answer. Show activity on this post. You can configure the output directory using the CONFIGURATION_BUILD_DIR environment variable.
You need to specify -archivePath
command line option. If works from version 5+.
This location is also available under ARCHIVE_PATH
variable in a defined post build under archive action in xcode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With