Open3
xcodebuild

xcodebuild -target Foo -configuration Release -showBuildSettings

Colud managed signingでExportOptions.plistでteamIDを指定しなかったときのエラー
error: exportArchive: No "teamID" specified and no team ID found in the archive
** EXPORT FAILED **
Error Domain=IDEFoundationErrorDomain Code=1 "No "teamID" specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No "teamID" specified and no team ID found in the archive}```

AppStoreConnectAPIを使ってxcodebuildでdestination=uploadをすると失敗する
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>destination</key>
<string>upload</string>
</dict>
</plist>
** EXPORT FAILED **
Error Domain=IDEDistributionErrorDomain Code=10 "Failed to log in." UserInfo={IDEDistributionErrorsAccountIssues=(
), NSLocalizedDescription=Failed to log in., NSLocalizedRecoverySuggestion=App Store Connect access for “***” is required. Ensure that your Apple ID account usernames and passwords are correct in the Accounts preference pane.}