swift - 由于“任务':core:linkReleaseFrameworkIos'的执行失败”,Xcode 在 Kotlin Multiplatform 上失败
问题描述
既然core
我们如何命名 pod 来处理来自 Xcode 的 KMM,那么到底是linkReleaseFrameworkIos
什么?
以前一切正常,但现在我的 Xcode 给了我错误提示
Command PhaseScriptExecution failed with a nonzero exit code
* What went wrong:
Execution failed for task ':core:linkReleaseFrameworkIos'.
我试过:
- Pod 重新安装
- 清洁项目
- 删除派生数据
- Gradlew clean(success), Gradle build(failed), Gradlew linkReleaseFrameworkIOS(failed) 命令
没有任何帮助。
解决方案
解决了ktor
版本1.6.1
和协程版本到1.5.0
.
由于某种原因,它们不匹配。
推荐阅读
- qt - QMake 变量在 .pri 函数中修改时不会改变
- javascript - 我不明白此代码段中“(oldest.years || 0)”的用法
- python - 是否有自定义方法来收集 pytest 结果?
- c - FILE 结构中未使用的变量
- ios - AFNetworking 3.2.0 ' 配置的安全策略只能应用于具有安全基本 URL(即 https)的管理器
- javascript - javascript 超时如何在执行堆栈中工作?
- reactjs - Material-UI:长文本包裹在网格中
- python - 如何仅操作属于 Pandas DataFrame 中对象列表的某些元素
- ruby-on-rails - 检查 RSpec 中仅在创建时运行的自定义验证
- excel - 识别模式并提取子字符串