Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 801
MysteryCoder456 Avatar asked Sep 04 '20 17:09

MysteryCoder456


Video Answer


1 Answers

Faced same issue after upgrading to macOS 11 Beta 6. Reported bug to Apple but meanwhile found workaround - Select Product in Xcode, select 'Show in Finder'. Launch it from Finder. Additional step, hopefully Apple will look into it.

like image 151
ltp Avatar answered Sep 28 '22 07:09

ltp