#1 - I have used below command for archive xcode build
xcodebuild clean archive -workspace ${workspace} -scheme ${scheme} -configuration Release -archivePath ${File share path} -verbose -destination 'generic/platform=iOS' CODE_SIGN_STYLE=Manual PROVISIONING_PROFILE_SPECIFIER='XXXXXX' CODE_SIGN_IDENTITY='iPhone Distribution'"
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: