1

我正在尝试为我的应用创建自定义系统偏好设置窗格。但是,当我尝试加载它进行测试时,我在控制台中得到了这个:

Apr 26 17:16:17 computer-name System Preferences[8545]: dlopen_preflight failed with dlopen_preflight(/Users/username/Library/PreferencePanes/App Name.prefPane/Contents/MacOS/App Name): Library not loaded: @rpath/libswiftAppKit.dylib
      Referenced from: /Users/username/Library/PreferencePanes/App Name.prefPane/Contents/MacOS/App Name
      Reason: image not found for /Users/username/Library/PreferencePanes/App Name.prefPane

似乎 AppKit 的 Swift 包装器无法加载......我确定我需要的东西。那么这里发生了什么,我该如何解决呢?

4

0 回答 0