Export macOS executable from archive with xcodebuild

What would a valid export options plist look like for a macOS executable? When exporting through Xcode, it's the 'custom' > 'Built Products' distribution method. This is not a notarized app.

I've tried using 'package' and 'mac-application' but I get an error, "exportOptionsPlist error for key "method": expected one of {}, but found mac-application".

Answered by andrew-mfbtech in 777440022

No need to export as the resulting archive is just a directory holding the executable...

Accepted Answer

No need to export as the resulting archive is just a directory holding the executable...

Export macOS executable from archive with xcodebuild
 
 
Q