【问题标题】:Getting Error in iOS 'Heimdall' for target 'arm64-apple-ios'; found: x86_64 "目标 'arm64-apple-ios' 在 iOS 'Heimdall' 中出现错误;找到:x86_64“
【发布时间】:2021-02-01 09:52:21
【问题描述】:

我在我们的 iOS 项目中使用 Heimdall 框架。

在 Xcode 10 中,它之前运行良好,但在最新的 Xcode 版本 12.2 中显示错误:":0: error: could not find module 'Heimdall' for target 'arm64-apple-ios' ; 找到:x86_64 "

【问题讨论】:

    标签: ios swift macos xcode12


    【解决方案1】:

    运行pod deintegrate,然后运行pod installpod update

    【讨论】:

      【解决方案2】:

      可能有更好的方法来解决此问题,但将以下内容添加到 heimdall/CMakeLists.txt 文件应该可以:

      find_library(CF CoreFoundation)
      find_library(IOK IOKit)
      target_link_libraries(heimdall ${CF} ${IOK})
      

      【讨论】:

        猜你喜欢
        • 2021-04-10
        • 2020-01-24
        • 1970-01-01
        • 2020-01-24
        • 2019-11-19
        • 1970-01-01
        • 1970-01-01
        • 2022-06-14
        • 1970-01-01
        相关资源
        最近更新 更多