ios - 找不到目标“armv7-apple-ios”的模块“IQKeyboardManagerSwift”;
问题描述
我通过我的应用程序在几个地方遇到了这个崩溃,这似乎是由 IQKeyboardManagerSwift 触发的。我在第 10 行的 AppDelegate.swift 文件中收到此错误,它只是`import IQKeyboardManagerSwift。在我更新到最新版本的 Swift 之前一切正常,但是我的所有依赖项都是最新的。包括 IQKeyboardManagerSwift。以前有人看过这样的消息吗?
找不到目标“armv7-apple-ios”的模块“IQKeyboardManagerSwift”;找到:arm64,arm64-apple-ios
在控制台中,我也收到此消息。
由于未捕获的异常“NSInvalidUnarchiveOperationException”而终止应用程序,原因:“无法实例化名为 _UITextLayoutView 的类,因为找不到名为 _UITextLayoutView 的类;该类需要在源代码中定义或从库中链接(确保该类是正确目标的一部分)'
解决方案
This is a known bug in Xcode 11.2
See: After upgrading to Xcode 11.2 from Xcode 11.1, app crashes due to _UITextLayoutView
You can either download an older Xcode version from here: https://developer.apple.com/download/more/ or upgrade to the newly released 11.2.1 (I haven't tried that one yet)
推荐阅读
- json - 将 JSON 数据解析为 ORA-40441 时出错:JSON 语法错误
- c# - 如何将 ProcessStartInfo 写入 Linux 的文本文件
- php - 学说获得销量最多的产品
- sql - MongoDB超时查询
- algorithm - 删除左倾红黑树及其不变量
- c# - WebRoot 和 ContentRoot 用于更改 ASP.NET Core 应用程序的“Web 部件”位置的目的?
- swift - 带有日期选择器工具栏的 iOS 14 错误
- javascript - 在 Next JS 中访问 JSON 对象中的数据
- ios - 在 SwiftUI `DatePicker` 中点击日期时如何捕获?
- adb - adb exec-out screencap 创建损坏的图像