add PROVISIONING_PROFILE=(UUID) option to xcodebuild to make correct entitlements file
  (App ID from the embedded mobileprovision).
copy the embedded profile to MobileDevice/Provisioning Profiles/ before xcodebuild