我需要在MacOS (10.15.7)中运行现有iOS应用程序的一个版本。该应用程序使用PencilKit,在iOS 14中运行良好。使用Xcode12.3编译并尝试在Catalina中运行时,应用程序在到达应用程序的AppDelegate之前,在动态框架加载期间崩溃。调试器说:
dyld: Symbol not found: _$s9PencilKit8PKStrokeVMn
Referenced from: /Users/.... (which was built for Mac OS X 14.0)
Expected in: /System/iOSSupport/usr/lib/swift/libswiftPencilKit.dylib
in /Users.... Sketch.app/Contents/MacOS/Hieroglyph Sketch$arg1的内容=6
这是Catalyst现在需要Big Sur的线索吗?有没有iOS中没有的MacOS版本需要的时髦的项目或目标设置?
发布于 2021-01-20 03:13:50
无论文档怎么说,Catalina都不支持PencilKit。它是为Big Sur的Catalyst应用程序启用的。
https://twitter.com/stroughtonsmith/status/1163514723679252480?s=21
https://stackoverflow.com/questions/65797666
复制相似问题