提问人:Sootood Ebrahimi 提问时间:7/19/2023 更新时间:7/19/2023 访问量:144
iOS 获取错误 P1 的依赖关系:调试:SwiftDriver 编译要求应用程序正常 arm64 com.apple.xcode.tools.swift.compiler 不是绝对的
iOS get error Dependency for P1: Debug:SwiftDriver Compilation Requirements app normal arm64 com.apple.xcode.tools.swift.compiler is not absolute
问:
我们决定更新 macOS 和 XCode 以在新版本软件上为我们的 react-native 应用程序提供午餐,尽管它有一些奇怪的错误,但运行并取得了成功。我们当时忽略了它们,但是当我们想要存档时,这些错误出现并导致存档失败。
有拖曳类型的错误
- 一些主题属于 TensorFlowLiteSwift,如下所示(23 个错误,如这些错误):
P1:target-app- 69a90293829c4577a609157fb85f5e0d7ceb6b36bcfc2fb90f69ac96de4975d6-:D ebug:SwiftDriver 编译要求 app normal arm64 com.apple.xcode.tools.swift.compiler 不是绝对的 (Pods/TensorFlowLiteC/Frameworks/TensorFlowLiteC.framework/Modules/module.module.modulemap)。
2.一些主题引用了 Pod 中的 heaers(6 个错误,如下所示):
69a90293829c4577a609157fb85f5e0d7ceb6b36bcfc2fb90f69ac96de4975d6-:D ebug:SwiftDriver 编译要求 app normal arm64 com.apple.xcode.tools.swift.compiler 不是绝对的 (Pods/Headers/Public/FBLPromises/PromisesObjC.modulemap)。
我们遇到了这个错误:
软件 | 版本 |
---|---|
XCode | 14.1 |
反应原生 | 69.3 |
TensorFlowLite斯威夫特 | 2.3.0 |
TensorFlowLite斯威夫特 | 2.3.0 |
椰荚类 | 11.12.1 |
PromisesObjC | 1.2.12 |
macOS操作系统 | 13.4 |
红宝石 | 2.63(测试 2.7.4) |
在 Apple Macmini Intel 上
**我们尝试通过以下解决方案来解决它: **
- 在 modulemap 文件中的框架模块后面添加 [system](它删除了 TensorFlowLiteSwift 错误,其中 6 个错误出现,因为 promisses 仍然存在)
- 在构建设置中从用户标头搜索路径中删除 ${PROJECT_DIR},但它犯了其他错误,因此不起作用
我们被困在其中
请帮助我们
答: 暂无答案
评论