问题描述
我在Mac AppStore上有一个应用程序,最近有很多用户写信说它在High Sierra上不起作用(可能是10.13.6,很难从中提取特定信息)。我设法在朋友的设备上重现该问题,但是我无法使用该设备通过Xcode等进行构建。
I have an app on the Mac AppStore and many users have recently written to say it doesn't work on High Sierra (possibly 10.13.6, its hard to extract specific information from them). I managed to reproduce the issue on a friend's device, however I won't be able to use the device to build with Xcode etc.
问题似乎是 NSViewController
根本不加载它的子视图!
The issue seems to be the NSViewController
doesn't load it's subviews at all! The grey view controller shown below should have dropdowns and buttons in it.
我还注意到关闭灰色窗口不会关闭红色透明窗口-在Mojave上,做到这一点按预期运行。状态栏中的自定义快捷方式/菜单项也不会运行所绑定的代码。请注意,红色窗口是通过灰色窗口中的代码显示的,因此一些代码正在运行。
I also noticed that closing the grey window doesn't close the red transparent window - on Mojave the code to do this runs as expected. A custom shortcut/menu item in the status bar also doesn't appear to run the code it's bound to. Note that the red window is presented via code from the grey window, so some code is managing to run.
似乎提到了相同的问题,正如
这篇关于可可应用程序未在High Sierra上加载视图或运行代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!