【发布时间】:2020-09-26 19:41:35
【问题描述】:
在我的 iOS 应用程序中,我使用 UIReferenceLibraryViewController (UIKit) 在字典中查找单词。工作正常。在为 Catalyst 构建时,我得到:
Showing Recent Issues
Undefined symbol: _OBJC_CLASS_$_UIReferenceLibraryViewController
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_UIReferenceLibraryViewController", referenced from:
objc-class-ref in WoordvinderViewController.o
objc-class-ref in AnagramViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
UIReferenceLibraryViewController 只是从 UIKit 框架中丢失,还是我丢失了什么?
Apple 的代码级别支持告诉我报告错误...嗯.. 错误报告中的反馈,但错误报告未被确认。 Xcode 12 beta 没有修复它,Xcode 12 也没有发布。
【问题讨论】:
标签: xcode uikit mac-catalyst