error: exportArchive: The operation couldn’t be completed. (IDEDistributionErrorDomain error 3.)
https://forums.developer.apple.com/thread/75038


  Hi!
  
  I think I've got it figured out...
  
  instead of:

-exportProvisioningProfile "MyProvisioningProfile"

  
  use:

PROVISIONING_PROFILE_SPECIFIER="MyProvisioningProfile"

  
  We've got unity building the project every time and it doesn't fill in
  the PROVISIONING_PROFILE or PROVISIONING_PROFILE_SPECIFIER. And it
  looks like it will figure out the alphabet soup that belongs to
  PROVISIONING_PROFILE by looking it up itself provided you have
  downloaded it already.