ios - 管道中的 Azure DevOps Fastlane 实现
问题描述
希望你做得很好。我目前正在为 iOS 的 react 本机移动应用程序在 azure devOps 管道中实现 fastlane。我需要使用代码将 beta 版本上传到 Apple Connect 上的 testFlight。我尝试进行 fastlane init,但在管道上似乎没有产生任何差异,所以我继续在 mac 上进行 fastlane init,然后将更改推送到 GitHub 项目。这是我的一段代码。代码编译但没有找到明显的输出。我是这项技术的新手,并且已经花了好几天的时间。请帮帮我。
pool:
vmImage: 'macOS 10.14'
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
- script: |
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'
- task: UseRubyVersion@0
inputs:
versionSpec: '>= 2.4'
- task: NodeAndNpmTool@1
inputs:
versionSpec: '10.x'
displayName: 'Install Node'
- script: npm install
displayName: 'Install dependencies'
- task: InstallAppleCertificate@2
inputs:
certSecureFile: '*****.p12'
keychain: 'temp'
displayName: Install Apple Certificate
- task: InstallAppleProvisioningProfile@1
inputs:
provisioningProfileLocation: 'secureFiles'
provProfileSecureFile: '*****'
displayName: 'Install Apple Provisioning Profile'
- script:
cd myFirstApp
npm install
cd ios
xcode-select --install
bundle install
bundle exec fastlane beta
displayName: 'Build iOS'
解决方案
推荐阅读
- reactjs - 在反应中没有获得参考的焦点
- cloud - CloudFlare Orange Cloud // 扩展
- java - 什么是默认的 hystrix 超时?
- java - 无法使用 selenium 将 li 标签从源列表拖动到空目标列表
- core-bluetooth - 【iOS13】为什么调用方法`retrieveConnectedPeripheralsWithServices:`不返回任何外设
- java - 如何根据字符串的组合删除重复项?
- python - Pandas - 用不同的长度对每一行进行子串
- python - MongoDB Atlas 连接在 Heroku 上不起作用
- android - 一个 admob 广告的网络请求日志过多
- c++ - 如果我不将预先写入的字符串保存到变量中,它是否还在内存中?