When I run xcodebuild, the output directory is: / Users / name / Library / Developer / Xcode / DerivedData / project-fybdjyuardwltihdwcfbwmguufrw / Build / Products /
How can I manually set the xcodebuild output directory?
You need to specify a command line option -archivePath. If it works with version 5+.
-archivePath
This location is also available in a variable ARCHIVE_PATHin a specific post assembly as part of the archive action in xcode.
ARCHIVE_PATH