问题描述
我需要在 MacOS (10.15.7) 中运行现有 iOS 应用程序的一个版本。 该应用程序使用 Pencilkit 并在 iOS 14 中运行良好。使用 Xcode 12.3 编译 尝试在 Catalina 中运行时,应用程序在到达应用程序的 AppDelegate 之前在动态框架加载期间崩溃。 调试器说:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<div class="header">
<div class="logo">
<span> logo </span>
</div>
<ul class="nav">
<li> Home </li>
<li> Price </li>
<li> About / Contacts </li>
<li> Home </li>
</ul>
</div>
$arg1 = 6 的内容
这是 Catalyst 现在需要 Big Sur 的线索吗? MacOS 构建是否需要时髦的项目或目标设置,而不是在 iOS 中?
解决方法
不管文档怎么说,Catalina 都不支持 PencilKit。它已在 Big Sur 中为 Catalyst 应用启用。
https://twitter.com/stroughtonsmith/status/1163514723679252480?s=21