NSSoftLinking - The function 'SLSIsSuppressedByScreenTime' can't be found in the (null) framework

前端 未结 3 1033
忘掉有多难
忘掉有多难 2021-01-18 23:38

On macOS Catalina (beta), I create a fresh macOS project in Xcode 11 (beta).

In the creation wizard I select Objective-C, and \"Use XIBs\".

If I run the proj

相关标签:
3条回答
  • 2021-01-18 23:46

    For me this error wasn't really the problem that lead to a crash. It read further down in the log:

    _GSRegisterPurpleNamedPortInPrivateNamespace Couldn't register
      maccatalyst.xxx.gsEvents with the bootstrap server. 
    Error: unknown error code (1100).
      This generally means that another instance of this process was 
      already running or is hung in the debugger.
    

    For me the problem was solved by looking at the running processes and killing another instance of my app that was still somehow running.

    0 讨论(0)
  • 2021-01-18 23:59

    I suspect based on the error message that the required functionality isn't in the OS yet (it's getting called but no one is there to answer/respond). Perhaps beta 5 will include it.

    0 讨论(0)
  • 2021-01-19 00:04

    It seems related to how FileVault security is respected? See:

    https://developer.apple.com/documentation/macos_release_notes/macos_catalina_10_15_beta_4_release_notes

    In part, it reads:

    • Warning: Your Secure Token might be lost if FileVault is enabled on a non-APFS formatted volume while upgrading to macOS 10.15. You might be able to work around this by disabling FileVault before upgrading to macOS 10.15, then reenabling FileVault once the upgrade has completed. (51091312)

    0 讨论(0)
提交回复
热议问题