Search code examples
swiftmacosxcode12macos-big-surxcode12beta6

Getting error code -10670 when running a Mac Catalyst app in Xcode


I am developing an app for iOS and also using Mac Catalyst to run on my Mac. The app runs fine on my iPhone but always shows an error on Catalyst. The code used to run fine before updating to Big Sur Beta 6 from Beta 5. Here's a screenshot of the error: Here's a screenshot of the error. Also the error in code blocks for anybody who wants to copy it.

The operation couldn’t be completed. (OSStatus error -10670.)
Domain: NSOSStatusErrorDomain
Code: -10670
User Info: {
    "_LSFunction" = "_LSOpenStuffCallLocal";
    "_LSLine" = 3664;
}
--


System Information

macOS Version 11.0 (Build 20A5364e)
Xcode 12.0 (17210.1)

https://github.com/MysteryCoder456/VegieMato/tree/backend is the GitHub Repo if anybody wants to reproduce this (i.


Solution

  • The problem is solved with new Mac OS 11.0 Beta (20A5374g).

    If your catalyst app has multi-window support, you may still need to kill your existing app before launching the new one.