[英]How can I find my Apple Developer Team id and Team Agent Apple ID?
I am trying to transfer an app.我正在尝试转移应用程序。 I am having troubles finding my team agent apple id and my team id.我无法找到我的团队代理 apple id 和我的团队 id。 I have found it before and I have searched for 30 min without any luck now that i need it.我以前找到过它,现在我需要它,我已经搜索了 30 分钟但没有任何运气。
The person trying to transfer the app to me gets to view in this image and I don't know where to find this info.试图将应用程序转移给我的人可以查看此图像,但我不知道在哪里可以找到此信息。
You can find your team id here:您可以在此处找到您的团队 ID:
https://developer.apple.com/account/#/membership https://developer.apple.com/account/#/membership
This will get you to your Membership Details, just scroll down to Team ID这将使您进入您的会员详细信息,只需向下滚动到团队 ID
If you're on OSX you can also find it your keychain.如果你在 OSX 上,你也可以找到它作为你的钥匙串。 Your developer and distribution certificates have your Team ID in them.您的开发人员和分发证书中包含您的团队 ID。
Applications -> Utilities -> Keychain Access.应用程序 -> 实用程序 -> 钥匙串访问。
Under the 'login' Keychain, go into the 'Certificates' category.在“登录”钥匙串下,进入“证书”类别。
Scroll to find your development or distribution certificate.滚动查找您的开发或分发证书。 They will read:他们将阅读:
iPhone Distribution: Team Name ( certificate id ) iPhone 分布:团队名称(证书 id )
or或者
iPhone Developer: Team Name ( certificate id ) iPhone 开发人员:团队名称(证书 ID )
Simply double-click on the item, and the只需双击该项目,然后
is the "Team ID"是“团队 ID”
Note that this is the only way to find your请注意,这是找到您的
You can not find the "Personal team" ID on the Apple web interface.您无法在 Apple 网页界面上找到“个人团队”ID。
For example, if you are automating a build from say Unity, during development you'll want it to appear in Xcode as your "Personal team" - this is the only way to get that value.例如,如果您从 Unity 自动化构建,在开发期间您会希望它在 Xcode 中显示为您的“个人团队”——这是获得该价值的唯一方法。
您可以通过以下链接找到团队 ID: https ://developer.apple.com/membercenter/index.action#accountSummary
For personal teams对于个人团队
grep DEVELOPMENT_TEAM MyProject.xcodeproj/project.pbxproj
should give you the team ID应该给你团队ID
DEVELOPMENT_TEAM = ZU88ND8437;
Apple has changed the interface.苹果改变了界面。
The team ID could be found via this link: https://developer.apple.com/account/#/membership可以通过以下链接找到团队 ID: https ://developer.apple.com/account/#/membership
There are ways you can check even if you are not a paid user.即使您不是付费用户,也可以通过多种方式进行检查。 You can confirm TeamID from Xcode.您可以从 Xcode 确认 TeamID。 [Build setting] Displayed on tooltip of development team. [构建设置] 显示在开发团队的工具提示上。
I wanted to get this from the command line (Terminal) so I came up with this bash script我想从命令行(终端)得到这个,所以我想出了这个 bash 脚本
#!/usr/bin/env bash
#requires openssl@3 from Homebrew
_openssl=$(brew --prefix openssl 2>/dev/null)/bin/openssl
[[ -x $_openssl ]] || { echo "missing openssl, try \`brew install openssl\`"; exit 1; }
#find development cert
id=$(security find-identity -v -p codesigning | head -1)
[[ -n $id ]] || exit 1
cn=$(sed -En 's/^.*Apple Development.*\((.*)\).*$/\1/p' <<<"$id")
sha1=$(sed -En 's/^.*([A-F0-9]{40}).*$/\1/p' <<<"$id")
[[ -n $cn && -n $sha1 ]] || { echo "could not find valid development cert"; exit 1; }
#make temp dir
outdir=$(mktemp -d /private/tmp/teamid.XXXXXX)
[[ -n $outdir ]] || { echo "error creating temp dir"; exit 1; }
#export cert
if ! security find-certificate -c "$cn" -Z -p >"${outdir}/${cn}.pem"; then
echo "error exporting cert from Keychain"
exit 1
fi
#check for hash match
certhash=$(awk -F: '/SHA-1 hash:/{sub(" ","",$2); print $2}' "${outdir}/${cn}.pem")
[[ "$certhash" == "$sha1" ]] || { echo "hash mismatch!"; exit 1; }
#output DEVELOPMENT_TEAM
$_openssl x509 -in "${outdir}/${cn}.pem" -subject -noout |
sed -En 's/.*OU = ([^,]+),.*$/\1/p'
#cleanup
rm -r "${outdir:?}"
现在在Certificates, Identities & Profiles的右上角,第一行有你的名字,第二行是你的名字,右边是 Team ID。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.