After update Xcode8.3, the options \'-exportSigningIdentity\', \'-exportProvisioningProfile\' and \'-exportFormat\' are removed from \'xcodebuild
Just replace this parameter :
-exportProvisioningProfile "MyProvisioningProfile"
with:
PROVISIONING_PROFILE_SPECIFIER="MyProvisioningProfile"
Hope it helps.