【问题标题】:bitrise could not find transporter at Applications/Xcode-beta.app/Contents/Developerbitrise 在 Applications/Xcode-beta.app/Contents/Developer 找不到传输器
【发布时间】:2019-06-08 08:59:05
【问题描述】:

我正在尝试使用 bitrise 和 fastlane 将 ios 存档上传到 testflight,但存档成功后我收到错误 "Could not find transporter at Applications/Xcode-beta.app/Contents/Developer" 并且工作流失败。

这是我的 fastlane 文件

platform :ios do
  desc "Push a new beta build to TestFlight"
    lane :beta do
      increment_build_number(xcodeproj: "APPNAME.xcodeproj")
      match(type: "appstore")
      cocoapods
      build_app(workspace: "APPNAME.xcworkspace", scheme: "APPNAME")
      upload_to_testflight
      commit_version_bump(
        message: "Fastlane iOS: Released new build #{lane_context[SharedValues::BUILD_NUMBER]} [ci skip].",
        xcodeproj: "./APPNAME.xcodeproj",
        force: true
      )
      clean_build_artifacts
    end
end

【问题讨论】:

  • Xcode-beta.app 看起来很奇怪。您是否以某种方式告诉 bitrise 使用 Xcode 测试版而不是普通版本?

标签: fastlane bitrise


【解决方案1】:

Xcode 11 不再包含 Transporter 应用程序。

https://developer.apple.com/videos/play/wwdc2019/301/

【讨论】:

  • 从哪里获得会议讨论的新 Transporter 应用程序?
  • 这里有同样的问题。请你回答一下好吗?
  • @Rob 构建项目时只需使用 xcode 10,可以从设置中选择 xcode 版本
  • Xcode11 有解决方案吗?我正在使用 bitrise 并使用 fastlane 命令“upload_to_testflight”上传到 testflight,但它失败了。 “在 /Applications/Xcode.app/Contents/Developer/ 找不到传输器。请确保为 Xcode 安装设置正确的路径。”知道如何解决吗?。
【解决方案2】:

我第一次遇到这个错误,所以我下载了Transporter off the apple help page。但是,Transporter 2x 与 xcode 11 不兼容。您需要使用与 xcode 10x 捆绑的版本。

This github thread 包含相应二进制文件的下载链接。

如果您已经在default path that fastlane expects/usr/local/itms 中安装了错误版本的Transporter,则使用环境变量FASTLANE_ITUNES_TRANSPORTER_PATH 指定iTMSTransporter.cmd 的路径。

指定此路径解决了我的问题,我能够使用 xcode 11 发布到苹果商店。

【讨论】:

    猜你喜欢
    • 2022-11-09
    • 1970-01-01
    • 1970-01-01
    • 2016-12-10
    • 1970-01-01
    • 2018-08-07
    • 2015-02-08
    • 2021-07-20
    • 2016-05-02
    相关资源
    最近更新 更多