I have inherited some Application code which was built in Xcode (swift and object c). This is a Native Mac application
I am running the Xcode build on 14.4 and the Xcode version is 15.4
The app also uses AppAuth and is built using Cocoapods.
I am newbie at Xcode and Swift both but was able to make some necessary code changes and build the already existing app.
The runs just fine on the machine I am building on via both run or going into the release directory and clicking on the application.
The application is not yet signed.
but when I provide the the contents of "Products" folder (basically where the debug or release versions are stored)
They get the following error
The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10810 "kLSUnknownErr: Unexpected internal error" UserInfo={_LSFunction=_LSLaunchWithRunningboard, _LSLine=3090, NSUnderlyingError=0x600001e2d7d0 {Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x600001e2d830 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}}}