我按照本教程设置了一个 Github Action,用于通过 Testflight 自动构建和部署 iOS 应用程序。如果我在本地使用 testlane,一切都会按预期工作,并且应用程序将发送到 TestFlight。但在 Github Actions 上,构建成功,但当我需要将应用程序上传到 Appstore Connect 时,出现错误:
错误:找不到与“match AppStore com.XXX.XXX”匹配的团队“XXX”的配置文件:Xcode 找不到任何与“XXX/match AppStore com.XXX.XXX”匹配的配置文件
我已正确添加所需的每个秘密,但由于某种原因,快速通道匹配无法找到我的配置文件和签名证书。任何帮助将不胜感激。我在下面添加我的 yaml 配置:
name: Build Flutter for iOS
# This workflow is triggered on pushes to the repository.
on: [push]
# workflow_dispatch:
env:
flutter_version: '1.22.1'
java_version: '12.x'
gcloud_version: '290.0.1'
jobs:
build:
name: Build
runs-on: macos-latest
steps:
# ===== APPSTORE SIGNING BUILD====#
- uses: actions/checkout@v2
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_11.3.app/Contents/Developer'
- name: Bundle …Run Code Online (Sandbox Code Playgroud) continuous-integration testflight flutter fastlane-match github-actions