【发布时间】:2020-08-27 23:17:24
【问题描述】:
有谁知道为什么 RN 模块 cocoapod 会在一个晚上工作,然后第二天就停止工作,尽管没有任何变化?我正在为 DeepSpeech 构建一个 React Native 模块:https://github.com/zaptrem/react-native-transcription
其中一部分是使用 s.vendored_frameworks 配置 podspec 以使用预编译的 deepspeech_ios.framework。另一部分是使用 cocoapods-user-defined-build-types 插件使 cocoapods 仅将我的 pod 视为 dynamic_framework。它昨晚还在工作,但今天整个编译都失败了:
ld: warning: Could not find or use auto-linked library 'deepspeech'
Undefined symbols for architecture arm64:
"_DS_Version", referenced from:
deepspeech_ios.DeepSpeechVersion() -> Swift.String in deepspeech_ios(DeepSpeech.o)
(Many, many more symbols with a similar issue from DeepSpeech)
我尝试回滚到我确信它有效的提交,但我得到了相同的结果。
我还发现该项目不能永远加载。
【问题讨论】:
标签: swift react-native cocoapods