iTMSTransporter上传ipa文件

背景

uni-app云打包之后生成的ipa包需要上传到app
store上,applicationloader和香蕉云编都收费,转用iTMSTransporter上传

环境:mac

第1步 选择安装目录
xcode-select --switch /Applications/Xcode.app/Contents/Developer
第2步 下载
xcrun iTMSTransporter

安装目录在
/Applications/Xcode.app/Contents/Developer/usr/bin/iTMSTransporter

第3步 添加环境变量
vi ~/.zshrc

// 添加如下配置

#iTMSTransporter begin
export TRANSPORTER_HOME=/Applications/Xcode.app/Contents/Developer/usr
export PATH=${
   PATH}:${TRANSPORTER_HOME}/bin# #iTMSTransporter end

// 配置更新
source ~/.zshrc
第4步 测试
iTMSTransporter -version
第5步 上传
iTMSTransporter -m upload -assetFile <ipa路径> -u <username> -p <appId管理中创建的App 专用密码> -asc_provider <团队id>  -v informational

-asc_provider <团队id> 可不加,如果自己的账号加入了多个团队需要加,否则会报错

Error Messages:
		could not find a provider public id: actorsGetCollection call failed with: 401 - {
   
	"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"
	}]
}

相关推荐

  1. iTMSTransporteripa文件

    2024-01-17 16:22:02       36 阅读
  2. nestjs文件

    2024-01-17 16:22:02       47 阅读
  3. springMVC-文件

    2024-01-17 16:22:02       44 阅读
  4. 文件

    2024-01-17 16:22:02       38 阅读
  5. springboot 文件

    2024-01-17 16:22:02       25 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-01-17 16:22:02       19 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-01-17 16:22:02       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-01-17 16:22:02       20 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-01-17 16:22:02       20 阅读

热门阅读

  1. 设计模式之多线程分工模式--- 生产-消费者模式

    2024-01-17 16:22:02       37 阅读
  2. flink源码分析 - yaml解析

    2024-01-17 16:22:02       27 阅读
  3. PyTorch GPU利用率为0%(很低)

    2024-01-17 16:22:02       36 阅读
  4. c语言中指针作函数参数

    2024-01-17 16:22:02       34 阅读
  5. 免费chartGPT网站汇总

    2024-01-17 16:22:02       23 阅读
  6. 向量数据库如何解决大语言模型的“幻觉”问题

    2024-01-17 16:22:02       30 阅读
  7. FreeBSD上安装mysql数据库

    2024-01-17 16:22:02       27 阅读
  8. 【cuda】四、基础概念:Cache Tiled 缓存分块技术

    2024-01-17 16:22:02       29 阅读
  9. Day 37 贪心算法 6

    2024-01-17 16:22:02       37 阅读
  10. c#之枚举类型和结构体

    2024-01-17 16:22:02       30 阅读
  11. Redis面试题15

    2024-01-17 16:22:02       31 阅读
  12. 编程语言的发展未来?

    2024-01-17 16:22:02       35 阅读