Gre*_*ein 18 cocoa swift macos-high-sierra
我已经在Swift和Cocoa中制作了这个prefpane ...昨天我将它迁移到Swift 4 as-per-the-migration指南,经过一些初步的努力后,一切看起来都很完美.
我在Sierra上做了这个,使用最新的SDK运行Xcode 9.0.
问题是,至少有两个人在运行High Sierra时告诉我窗格根本没有运行.从尝试从命令行运行它,这是报告的错误:
2017-09-27 23:00:59.921 System Preferences[3047:337095] Error loading /Users/luckman212/Library/PreferencePanes/SwiftDefaultApps.prefPane/Contents/MacOS/SwiftDefaultApps:  dlopen(/Users/luckman212/Library/PreferencePanes/SwiftDefaultApps.prefPane/Contents/MacOS/SwiftDefaultApps, 265): can't resolve symbol _OBJC_CLASS_$_NSError in /Users/luckman212/Library/PreferencePanes/SwiftDefaultApps.prefPane/Contents/MacOS/../Frameworks/libswiftCore.dylib because dependent dylib #1 could not be loaded in /Users/luckman212/Library/PreferencePanes/SwiftDefaultApps.prefPane/Contents/MacOS/../Frameworks/libswiftCore.dylib
2017-09-27 23:00:59.922 System Preferences[3047:337095] [NSPrefPaneBundle instantiatePrefPaneObject] (/Users/luckman212/Library/PreferencePanes/SwiftDefaultApps.prefPane): principalClass is nil.
2017-09-27 23:01:00.072 System Preferences[3047:337095]  ### AE 1868656752 sender's PID is 3047 (System Preferences)
我还没有升级,目前也无法做到,即使我是如此倾向.哈斯是否有人遇到过这个问题,并且/或者知道原因?
Apple 的一些代码天使修复了 macOS High Sierra 最新点版本之一中的特定问题!耶!
\n\n我使用的是最新的 macOS 10.13.4 (17E199)、Xcode 9.3 (9E145) 和 Swift 4.1 (swiftlang-902.0.48 clang-902.0.37.1)。
\n\n我的简单测试项目https://github.com/klaas/QlaasSwiftScreenSaver,著名的 Aerial saver\n https://github.com/JohnCoates/Aerial/pull/420 \xe2\x80\x8c 和我的 Emoji Saver https:/ /emojisaver.eu \xe2\x80\x8c 再次工作!
\n\nQuinn 在https://forums.developer.apple.com/message/268934中描述的问题总体上仍然存在,但至少在系统偏好设置中只有一个(使用过的)Swift 插件/保护程序时,一切都很好。
\n| 归档时间: | 
 | 
| 查看次数: | 988 次 | 
| 最近记录: |