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

**URL:** <https://forum.opencv.org/t/i-used-xcode-opencv-c-but-it-cannot-work-suddenly/7656>\
**Category:** C++\
**Tags:** build, apple\
**Created:** [February 19, 2022, 8:33pm UTC](https://forum.opencv.org/t/i-used-xcode-opencv-c-but-it-cannot-work-suddenly/7656 "2022-02-19T20:33:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen\_Law](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/stephen_law/32/3968_2.png) [@Stephen\_Law](https://forum.opencv.org/u/Stephen_Law)\
**Post date:** [February 19, 2022, 8:33pm UTC](https://forum.opencv.org/t/i-used-xcode-opencv-c-but-it-cannot-work-suddenly/7656/1 "2022-02-19T20:33:04Z")

</div>

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
