【发布时间】:2022-09-02 13:30:37
【问题描述】:
我正在使用 azure 管道部署应用程序得到以下错误
module compiled with Swift 5.6.1 cannot be imported by the Swift 5.5.
我已尝试更改配置但没有运气,任何帮助将不胜感激
语言环境机器文件和配置
- MacOS 12.5.1
- Xcode 版本为 13.4.1
Azure 执行低于 xcode 的版本
- Xcode 13.2.1
.yml 文件
trigger: - main pool: vmImage: 'macOS-latest' variables: - group: App Variables steps: - task: NodeTool@0 inputs: versionSpec: '12.19.0' displayName: 'Install Node.js' - script: yarn install displayName: Install Dependencies - task: CocoaPods@0 inputs: workingDirectory: ios forceRepoUpdate: false displayName: 'Install CocoaPods dependencies' - task: Xcode@5 inputs: actions: 'build' configuration: 'Release' sdk: 'iphoneos15.2' xcWorkspacePath: 'ios/EsApp.xcworkspace' scheme: 'EsApp' packageApp: true archivePath: 'output/archive' exportPath: 'output/package' exportOptions: plist exportOptionsPlist: 'ios/ExportOptions.plist'
【问题讨论】:
标签: xcode react-native azure-devops azure-pipelines testflight