How to set xcodebuild output directory?

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?

+4
source share
1 answer

You need to specify a command line option -archivePath. If it works with version 5+.

This location is also available in a variable ARCHIVE_PATHin a specific post assembly as part of the archive action in xcode.

+6
source

All Articles