I used Xcode&OpenCV C++, but it cannot work suddenly

A few days ago, it worked, but today I found that the program printed errors. The same error occurs when I test previously runnable code. I updated the macOS patch yesterday, I don’t know if it is the system reason. I think I need help.

The program can run, but can’t do image processing.

2022-02-19 18:53:44.470328+0000 testCV[1475:50847] [default] error finding potential wrapper bundle for node <FSNode 0x10185afc0> { isDir = ?, path = ‘/Users/xxxxxx/testCV-byatyipdnyqnwtertbaqazftvwvb/Build/Products/Debug’ }: Error Domain=NSOSStatusErrorDomain Code=-10811 “kLSNotAnApplicationErr: Item needs to be an application, but is not” UserInfo={_LSLine=1579, _LSFunction=wrapperBundleNodeForWrappedNode}
2022-02-19 18:53:44.470640+0000 testCV[1475:50847] [default] error finding potential wrapper bundle for node <FSNode 0x10185afc0> { isDir = ?, path = ‘/Users/xxxxxxxx/testCV-byatyipdnyqnwtertbaqa/Build/Products/Debug’ }: Error Domain=NSOSStatusErrorDomain Code=-10811 “kLSNotAnApplicationErr: Item needs to be an application, but is not” UserInfo={_LSLine=1579, _LSFunction=wrapperBundleNodeForWrappedNode}
2022-02-19 18:53:44.470797+0000 testCV[1475:50847] [default] error finding potential wrapper bundle for node <FSNode 0x10185afc0> { isDir = ?, path = ‘/Users/xxxxxxxxx/testCV-byatyipdnyqnwtertbaqazftvwvb/Build/Products/Debug’ }: Error Domain=NSOSStatusErrorDomain Code=-10811 “kLSNotAnApplicationErr: Item needs to be an application, but is not” UserInfo={_LSLine=1579, _LSFunction=wrapperBundleNodeForWrappedNode}
2022-02-19 18:53:46.620368+0000 testCV[1475:50847] GetDYLDEntryPointWithImage(/System/Library/Frameworks/AppKit.framework/Versions/Current/AppKit,_NSCreateAppKitServicesMenu) failed.
Program ended with exit code: 0