简体   繁体   English

目标 'arm64-apple-ios' 的 iOS 'Heimdall' 出现错误; 找到:x86_64“

[英]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 installpod 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.

相关问题 找不到目标“x86_64-apple-ios-simulator”的模块“MyCustomFramework”; 找到:arm64、armv7-apple-ios、arm64-apple-ios、arm、armv7 - Could not find module 'MyCustomFramework' for target 'x86_64-apple-ios-simulator'; found: arm64, armv7-apple-ios, arm64-apple-ios, arm, armv7 Xcode 12 问题 - 找不到目标“arm64-apple-ios-simulator”的模块“FrameworkName”; 找到:x86_64-apple-ios-simulator,x86_64 - Xcode 12 issue - Could not find module 'FrameworkName' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64 找不到目标“arm64-apple-ios-simulator”的模块“Alamofire”; 找到:x86_64-apple-ios-simulator,x86_64 - could not find module 'Alamofire' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64 找不到目标“x86_64-apple-ios-simulator”的模块“FBSDKCoreKit”; 找到:arm64,arm64-apple-ios-simulator - Could not find module 'FBSDKCoreKit' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator 为arm64编译Libical,为iOS编译x86_64 - Compiling Libical for arm64 and x86_64 for iOS 找不到目标“x86_64-apple-ios-simulator”的模块“XXXX”; 在 Swift 项目中找到:arm64、arm64-apple-ios-simulator? - Could not find module 'XXXX' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator in Swift Project? 找不到架构x86_64的符号-iOS - Symbol(s) not found for architecture x86_64 - iOS iOS构建错误:找不到架构x86_64的框架FileProvider - iOS build error: framework not found FileProvider for architecture x86_64 如何修复此错误“找不到架构‘x86_64’的模块‘CzsBleSdk’;找到:arm64,arm” - How to fix this error " Could not find module 'CzsBleSdk' for architecture 'x86_64'; found: arm64, arm " 具有i386 x86_64 armv7 armv7s arm64的通用IOS静态库 - universal IOS static library with i386 x86_64 armv7 armv7s arm64
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM