[英]Getting Error in iOS 'Heimdall' for target 'arm64-apple-ios'; found: x86_64 "
I was using Heimdall framework in our iOS project.我在我们的 iOS 项目中使用了 Heimdall 框架。
In Xcode 10, it was working fine earlier, but with the latest Xcode version 12.2 it is showing error: ":0: error: could not find module 'Heimdall' for target 'arm64-apple-ios'; found: x86_64 "在 Xcode 10 中,它之前工作正常,但在最新的 Xcode 版本 12.2 中,它显示错误: “:0:错误:找不到目标 'arm64-apple-ios' 的模块 'Heimdall';找到:x86_6
Run pod deintegrate
and then pod install
or pod update
运行pod deintegrate
然后pod install
或pod update
There may be better ways to fix this but adding the below to the heimdall/CMakeLists.txt file should work:可能有更好的方法来解决这个问题,但将以下内容添加到 heimdall/CMakeLists.txt 文件应该可以:
find_library(CF CoreFoundation)
find_library(IOK IOKit)
target_link_libraries(heimdall ${CF} ${IOK})
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.