when I use command xcodebuild
to build a workspace, the default path is:
~/Library/Developer/Xcode/DerivedData/BantingAssistant-egoztalzcreabohfvgozqfhfvopa/Build/Products/Debug-iphoneos
I want to change the path, or get the path in shell.
when I use command xcodebuild
to build a workspace, the default path is:
~/Library/Developer/Xcode/DerivedData/BantingAssistant-egoztalzcreabohfvgozqfhfvopa/Build/Products/Debug-iphoneos
I want to change the path, or get the path in shell.
The exportPath can be specified on the command-line. It requires that the archive path also be specified. The archive path is the location of the .xcarchive file. The export path is the destination for the IPA file.
xcodebuild -archivePath $(YOUR_PATH) -exportPath $(YOUR_PATH/YOUR_FILE.ipa)
Please see
man xcodebuild
for the full list of command-line path options.