前言
因为疫情,然后就半个月才上班,今天上APP新版本的时候发现iTMSTransporter无法使用了。
一、报错
Cannot obtain the content provider public id. Please specify a provider short name using the -asc_provider option.
二、解决方法
这个好解决,主要添加-asc_provider参数即可,也就是TeamID ,
xcrun altool --list-providers -u xxx.com -p xxx
然后命令为:
/usr/local/itms/bin/iTMSTransporter -assetFile HotsMeta.ipa -u xx.com -p xxx -m upload -assetDescription AppStoreInfo.plist -asc_provider TeamID
但是,还有报错
1 package(s) were not uploaded because they had problems:
{
"errors": [{
"status": "401",
"code": "NOT_AUTHORIZED",
"title": "Authentication credentials are missing or invalid.",
"detail": "Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens"
}]
}
这就尴尬了
解决方法:
没有找到解决方法,网上说是网络问题或者是权限问题,我也怀疑是网络问题,最后不装逼了,直接用Xcode上传吧,虽然慢了一点,但是还是成功了。
如何使用iTMSTransporter?
我的另一篇文章:
Mac利用iTMSTransporter命令行上传 ipa 到 App Store
254




被折叠的 条评论
为什么被折叠?



