# \#apple

**URL:** https://forum.opencv.org/tag/apple/308.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Is my iOS build likely failing at this part due to linking Homebrew libraries?](https://forum.opencv.org/t/is-my-ios-build-likely-failing-at-this-part-due-to-linking-homebrew-libraries/24240)

<div class="topic-metadata">

**Author:** [@Daniel\_Vonrhein](https://forum.opencv.org/u/Daniel_Vonrhein)\
**Replies:** 0\
**Last updated:** [December 8, 2025, 8:10am UTC](https://forum.opencv.org/t/is-my-ios-build-likely-failing-at-this-part-due-to-linking-homebrew-libraries/24240 "2025-12-08T08:10:39Z")

</div>

On Mac OS 26.1, I am trying my best to get iOS Pack running, with the opencv\_contrib libraries added on. But I would like some advice regarding my configuration. I believe that my build script is failing after configura…

---

## [Build from source failing M3 macos libopencv\_sfm.4.13.0.dylib Error 1](https://forum.opencv.org/t/build-from-source-failing-m3-macos-libopencv-sfm-4-13-0-dylib-error-1/22927)

<div class="topic-metadata">

**Author:** [@net-enabled](https://forum.opencv.org/u/net-enabled)\
**Replies:** 1\
**Last updated:** [July 5, 2025, 8:13am UTC](https://forum.opencv.org/t/build-from-source-failing-m3-macos-libopencv-sfm-4-13-0-dylib-error-1/22927 "2025-07-05T08:13:19Z")

</div>

I am new to installing opencv on two Macs. For the M1 macos I was able to install. I am running into failures on an M3. macos 15.5 xcode 16.4 — command ---- mkdir build\_opencv cd build\_opencv cmake -DCMAKE\_BUILD\_TY…

---

## [Using QT on macos 15.5 with opencv (and the unexpected problems)](https://forum.opencv.org/t/using-qt-on-macos-15-5-with-opencv-and-the-unexpected-problems/21089)

<div class="topic-metadata">

**Author:** [@Jason\_Stelzer](https://forum.opencv.org/u/Jason_Stelzer)\
**Replies:** 0\
**Last updated:** [May 24, 2025, 11:39pm UTC](https://forum.opencv.org/t/using-qt-on-macos-15-5-with-opencv-and-the-unexpected-problems/21089 "2025-05-24T23:39:19Z")

</div>

Hey, I have an app I wrote in rust on linux that I wanted to use on my mac. The porting effort was minimal, but the version of opencv I got via brew wasn’t linked to qt. On the linux side, I have a hot key that shows he…

---

## [Build OpenCV Framework - Mac osx error](https://forum.opencv.org/t/build-opencv-framework-mac-osx-error/2357)

<div class="topic-metadata">

**Author:** [@LisaG](https://forum.opencv.org/u/LisaG)\
**Replies:** 4\
**Last updated:** [April 17, 2025, 9:56am UTC](https://forum.opencv.org/t/build-opencv-framework-mac-osx-error/2357 "2025-04-17T09:56:00Z")

</div>

Hi there, I’m completely new to OpenCV and so yesterday I with installing it. I didn’t want to use Homebrew to install it on my Mac but I wanted to use the method of building the frameworks. I did this successfully for …

---

## [Make: fatal error: too many errors emitted, stopping now](https://forum.opencv.org/t/make-fatal-error-too-many-errors-emitted-stopping-now/20527)

<div class="topic-metadata">

**Author:** [@executive](https://forum.opencv.org/u/executive)\
**Replies:** 3\
**Last updated:** [March 16, 2025, 5:56am UTC](https://forum.opencv.org/t/make-fatal-error-too-many-errors-emitted-stopping-now/20527 "2025-03-16T05:56:31Z")

</div>

I am having a really hard time compiling opencv. I’ve been at this for hours. cmake seems to complete fine, but make fails with many errors. If anybody could help me figure out the next step I would be really grateful p…

---

## [Suggestions for motion detection method](https://forum.opencv.org/t/suggestions-for-motion-detection-method/19568)

<div class="topic-metadata">

**Author:** [@Alan\_Miller](https://forum.opencv.org/u/Alan_Miller)\
**Replies:** 7\
**Last updated:** [December 21, 2024, 12:17am UTC](https://forum.opencv.org/t/suggestions-for-motion-detection-method/19568 "2024-12-21T00:17:07Z")

</div>

I’m still just learning opencv so I’m overwhelmed with all the different methods available to detect motion (frame differencing, background subtraction,…) so I’m looking here for suggestions. I’m trying to build a small…

---

## [Why is my camera slow on mac m2](https://forum.opencv.org/t/why-is-my-camera-slow-on-mac-m2/19498)

<div class="topic-metadata">

**Author:** [@Alan\_Miller](https://forum.opencv.org/u/Alan_Miller)\
**Replies:** 7\
**Last updated:** [December 12, 2024, 9:19pm UTC](https://forum.opencv.org/t/why-is-my-camera-slow-on-mac-m2/19498 "2024-12-12T21:19:04Z")

</div>

I’m capturing from a global-shutter, b&w uvc camera. On Linux and Windows I can capture about 120 fps which the camera is advertised at but under Mac OS I can only get 60 fps. Does the camera suck or does my OS suck? i…

---

## [Warning: deprecated method on MAC OS](https://forum.opencv.org/t/warning-deprecated-method-on-mac-os/16504)

<div class="topic-metadata">

**Author:** [@Judson](https://forum.opencv.org/u/Judson)\
**Replies:** 6\
**Last updated:** [October 14, 2024, 7:12pm UTC](https://forum.opencv.org/t/warning-deprecated-method-on-mac-os/16504 "2024-10-14T19:12:25Z")

</div>

I am using openCV-python version 4.9.0 on a MACOS M1 chip Sonoma 14.1.0 version with VSCode. I receive the following message. ''WARNING: AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras. Please use…

---

## [Can opencl use the core graphics to accelerate computing?](https://forum.opencv.org/t/can-opencl-use-the-core-graphics-to-accelerate-computing/18598)

<div class="topic-metadata">

**Author:** [@1911773844](https://forum.opencv.org/u/1911773844)\
**Replies:** 0\
**Last updated:** [August 28, 2024, 2:30am UTC](https://forum.opencv.org/t/can-opencl-use-the-core-graphics-to-accelerate-computing/18598 "2024-08-28T02:30:02Z")

</div>

Opencv can use opencl, and opencl seems to use the core graphics to accelerate calculations. So Can opencl use the core graphics to accelerate computing? For example, I tested GaussianBlur and opencv is far faster than …

---

## [When is an iOS version containing the privacy manifest file be released?](https://forum.opencv.org/t/when-is-an-ios-version-containing-the-privacy-manifest-file-be-released/17484)

<div class="topic-metadata">

**Author:** [@vlvs](https://forum.opencv.org/u/vlvs)\
**Replies:** 4\
**Last updated:** [April 30, 2024, 8:36pm UTC](https://forum.opencv.org/t/when-is-an-ios-version-containing-the-privacy-manifest-file-be-released/17484 "2024-04-30T20:36:22Z")

</div>

OpenCV’s iOS SDK needs to comply to Apple’s new privacy manifest file requirement: I can see that the repository already has a PrivacyInfo.xcprivacy file that seems correctly implemented, but when is it going to be out i…

---

## [我在mac系统上安装最新版本的opencv时，遇到报错](https://forum.opencv.org/t/mac-opencv/16684)

<div class="topic-metadata">

**Author:** [@dtb](https://forum.opencv.org/u/dtb)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 11:55am UTC](https://forum.opencv.org/t/mac-opencv/16684 "2024-03-04T11:55:43Z")

</div>

brew update brew edit opencv （ DBUILD\_opencv\_java=ON） brew install --build-from-source opencv 这里安装过程中报错： Error: inreplace failed build\_shared/modules/core/version\_string.inc: expected replacement of “/usr/local/Ho…

---

## [iOS Framework Remove 3rd party libraries](https://forum.opencv.org/t/ios-framework-remove-3rd-party-libraries/16625)

<div class="topic-metadata">

**Author:** [@jzavala](https://forum.opencv.org/u/jzavala)\
**Replies:** 3\
**Last updated:** [February 29, 2024, 5:34am UTC](https://forum.opencv.org/t/ios-framework-remove-3rd-party-libraries/16625 "2024-02-29T05:34:49Z")

</div>

Hello OpenCV community! I’m trying to avoid duplicated symbols with my Xcode project. I already build this my frameworks using the bellow command: python platforms/apple/build\_xcframework.py --out ./build\_xcframework …

---

## [XCFramework for MacOS fails to build, why isn't it available as an asset?](https://forum.opencv.org/t/xcframework-for-macos-fails-to-build-why-isnt-it-available-as-an-asset/16616)

<div class="topic-metadata">

**Author:** [@Martin](https://forum.opencv.org/u/Martin)\
**Replies:** 0\
**Last updated:** [February 27, 2024, 12:46am UTC](https://forum.opencv.org/t/xcframework-for-macos-fails-to-build-why-isnt-it-available-as-an-asset/16616 "2024-02-27T00:46:44Z")

</div>

I just started using OpenCV, so, forgive me if i ask a question that has been answered before (i could not find one) i cannot build the XCFramework using “build\_xcframework.py” in platforms/apple it fails to compile te…

---

## [Can't open ONNX file on Mac OS X using OpenCV 4.9.0 from brew](https://forum.opencv.org/t/cant-open-onnx-file-on-mac-os-x-using-opencv-4-9-0-from-brew/16484)

<div class="topic-metadata">

**Author:** [@Daniel\_Lau](https://forum.opencv.org/u/Daniel_Lau)\
**Replies:** 2\
**Last updated:** [February 17, 2024, 5:47am UTC](https://forum.opencv.org/t/cant-open-onnx-file-on-mac-os-x-using-opencv-4-9-0-from-brew/16484 "2024-02-17T05:47:36Z")

</div>

So I’m compiling a Qt C++ application on both Windows and Mac, linking to local copies of OpenCV. In the case of Windows, I built the library from scratch. On the Mac, I used brew. When I try to load an ONNX file on m…

---

## [Convertion of UIImage to Mat type using openCV in swift iOS (using obj-c bridge)](https://forum.opencv.org/t/convertion-of-uiimage-to-mat-type-using-opencv-in-swift-ios-using-obj-c-bridge/16301)

<div class="topic-metadata">

**Author:** [@Kumar\_Ranjan\_Kamila](https://forum.opencv.org/u/Kumar_Ranjan_Kamila)\
**Replies:** 0\
**Last updated:** [January 29, 2024, 9:53am UTC](https://forum.opencv.org/t/convertion-of-uiimage-to-mat-type-using-opencv-in-swift-ios-using-obj-c-bridge/16301 "2024-01-29T09:53:50Z")

</div>

In one of our project I have one UIimage , i want to convert that image to Matrix type using openCV in swift and vice versa . I want to do affine transformation on that image also , I have the respective image points als…

---

## ['OutofMemoryError' occurs when using Mat(uiImage:)](https://forum.opencv.org/t/outofmemoryerror-occurs-when-using-mat-uiimage/14690)

<div class="topic-metadata">

**Author:** [@fumiya](https://forum.opencv.org/u/fumiya)\
**Replies:** 1\
**Last updated:** [January 29, 2024, 10:12am UTC](https://forum.opencv.org/t/outofmemoryerror-occurs-when-using-mat-uiimage/14690 "2024-01-29T10:12:38Z")

</div>

We are using the iOS framework. When calling Mat(uiImage:) several times consecutively, the following error occurs libc++abi: terminating with uncaught exception of type cv::Exception: OpenCV(4.5.5) /Volumes/build-stor…

---

## [MatToUIImage problem after Rotate Image from MAT](https://forum.opencv.org/t/mattouiimage-problem-after-rotate-image-from-mat/14973)

<div class="topic-metadata">

**Author:** [@tangtuongco](https://forum.opencv.org/u/tangtuongco)\
**Replies:** 5\
**Last updated:** [January 29, 2024, 10:05am UTC](https://forum.opencv.org/t/mattouiimage-problem-after-rotate-image-from-mat/14973 "2024-01-29T10:05:32Z")

</div>

I have the following code running in iOS, using for convert UIImage To MAT. After that, rotate the image by OpenCV and convert it back to UIImage. But after use in iOS 17, this code is bug (return nil image from functi…

---

## [Java install OpenCV on Mac](https://forum.opencv.org/t/java-install-opencv-on-mac/5717)

<div class="topic-metadata">

**Author:** [@JuergenDD123456](https://forum.opencv.org/u/JuergenDD123456)\
**Replies:** 1\
**Last updated:** [January 10, 2024, 4:29am UTC](https://forum.opencv.org/t/java-install-opencv-on-mac/5717 "2024-01-10T04:29:02Z")

</div>

Hello, I’m trying to get OpenCV 4.5 to run on a Mac with Java. I did everything according to this tutorial. https://opencv-java-tutorials.readthedocs.io/en/latest/01-installing-opencv-for-java.html#install-opencv-3-x-un…

---

## [Prebuilt dylib?](https://forum.opencv.org/t/prebuilt-dylib/15911)

<div class="topic-metadata">

**Author:** [@bwill](https://forum.opencv.org/u/bwill)\
**Replies:** 7\
**Last updated:** [December 21, 2023, 8:24am UTC](https://forum.opencv.org/t/prebuilt-dylib/15911 "2023-12-21T08:24:21Z")

</div>

Is there a prebuilt universal dylib available for OpenCV? I’m not really familiar with cmake, numpy and the like.

---

## [Trying to build older version of opencv with contrib for ios: Not possible?](https://forum.opencv.org/t/trying-to-build-older-version-of-opencv-with-contrib-for-ios-not-possible/15703)

<div class="topic-metadata">

**Author:** [@Azalin](https://forum.opencv.org/u/Azalin)\
**Replies:** 4\
**Last updated:** [December 1, 2023, 11:11am UTC](https://forum.opencv.org/t/trying-to-build-older-version-of-opencv-with-contrib-for-ios-not-possible/15703 "2023-12-01T11:11:11Z")

</div>

For iOS I’m trying to build an earlier version of opencv with contrib (4.2 to be exact) using this command: python3 opencv/platforms/ios/build\_framework.py ./contrib\_output --without objc --contrib opencv\_contrib --ipho…

---

## [I build opencv on macos with brew，but in the build result miss the jar file](https://forum.opencv.org/t/i-build-opencv-on-macos-with-brew-but-in-the-build-result-miss-the-jar-file/15681)

<div class="topic-metadata">

**Author:** [@xuhongxin8477](https://forum.opencv.org/u/xuhongxin8477)\
**Replies:** 0\
**Last updated:** [November 30, 2023, 4:30am UTC](https://forum.opencv.org/t/i-build-opencv-on-macos-with-brew-but-in-the-build-result-miss-the-jar-file/15681 "2023-11-30T04:30:20Z")

</div>

i build opencv on macos with brew，but in the build result miss the jar file；the output info is here，i do not know where is the problem. and how can i get the opencv.jar file ? brew reinstall --build-from-source opencv W…

---

## [Cap.release() cv2.destroyAllWindows() crash on Mac](https://forum.opencv.org/t/cap-release-cv2-destroyallwindows-crash-on-mac/15612)

<div class="topic-metadata">

**Author:** [@Luigi](https://forum.opencv.org/u/Luigi)\
**Replies:** 0\
**Last updated:** [November 22, 2023, 2:06pm UTC](https://forum.opencv.org/t/cap-release-cv2-destroyallwindows-crash-on-mac/15612 "2023-11-22T14:06:33Z")

</div>

Hi! everytime i press the “q” on the keyboard the camera freezes and crashes. Any advice on why this happens? cap = cv2.VideoCapture(0) while cap.isOpened(): ret, frame = cap.read() cv2.imshow("Image Co…

---

## [Can't install opencv on mac for Java](https://forum.opencv.org/t/cant-install-opencv-on-mac-for-java/15578)

<div class="topic-metadata">

**Author:** [@dugommier](https://forum.opencv.org/u/dugommier)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 9:40am UTC](https://forum.opencv.org/t/cant-install-opencv-on-mac-for-java/15578 "2023-11-20T09:40:12Z")

</div>

I recently downloaded OpenCV using Homebrew, and I’m facing an issue when trying to add the library to my editor. I can’t find the .jar file as instructed in the tutorials I’ve followed online. I’ve gone through multiple…

---

## [CPU\_BASELINE/DISPATCH in MacOS universal builds](https://forum.opencv.org/t/cpu-baseline-dispatch-in-macos-universal-builds/15441)

<div class="topic-metadata">

**Author:** [@smissan](https://forum.opencv.org/u/smissan)\
**Replies:** 0\
**Last updated:** [November 7, 2023, 5:59pm UTC](https://forum.opencv.org/t/cpu-baseline-dispatch-in-macos-universal-builds/15441 "2023-11-07T17:59:01Z")

</div>

when building openCV on MacOS with universal build (Intel + Apple Silicon) how to specify CPU\_BASELINE and CPU\_DISPATCH separately for each architecture? I need NEON for ARM and AVX/AVX2/AVX512 for Intel I can build u…

---

## [Where can I get Mac OS static binaries without compiling the source code?](https://forum.opencv.org/t/where-can-i-get-mac-os-static-binaries-without-compiling-the-source-code/15039)

<div class="topic-metadata">

**Author:** [@Fractale](https://forum.opencv.org/u/Fractale)\
**Replies:** 0\
**Last updated:** [October 31, 2023, 5:53pm UTC](https://forum.opencv.org/t/where-can-i-get-mac-os-static-binaries-without-compiling-the-source-code/15039 "2023-10-31T17:53:35Z")

</div>

Hi, to compile an app I need the following: opencv-4.8.0/build\_opencv/3rdparty/ippicv/ippicv\_mac/icv/lib/intel64/libippicv.a opencv-4.8.0/build\_opencv/3rdparty/lib/libippiw.a opencv-4.8.0/build\_opencv/3rdparty/lib/libit…

---

## [How to use SIFT in opencv 4.7.0? (Apple, EXC\_BAD\_INSTRUCTION EXC\_I386\_INVOP)](https://forum.opencv.org/t/how-to-use-sift-in-opencv-4-7-0-apple-exc-bad-instruction-exc-i386-invop/13305)

<div class="topic-metadata">

**Author:** [@dogusbykl](https://forum.opencv.org/u/dogusbykl)\
**Replies:** 3\
**Last updated:** [October 31, 2023, 10:35am UTC](https://forum.opencv.org/t/how-to-use-sift-in-opencv-4-7-0-apple-exc-bad-instruction-exc-i386-invop/13305 "2023-10-31T10:35:09Z")

</div>

void myFeatureExtractor::extractSIFT(){ //clone image to be safe cv::Ptr\<cv::SIFT\> myDetector{NULL}; if (input\_image.empty()) { std::cout \<\< "Picture couldn't be loaded correctly." \<\< std::endl; …

---

## [Mac OSX Big Sur build error](https://forum.opencv.org/t/mac-osx-big-sur-build-error/14039)

<div class="topic-metadata">

**Author:** [@mrdebug](https://forum.opencv.org/u/mrdebug)\
**Replies:** 0\
**Last updated:** [July 27, 2023, 1:20pm UTC](https://forum.opencv.org/t/mac-osx-big-sur-build-error/14039 "2023-07-27T13:20:16Z")

</div>

Hi, I trying to build OpenCV from source in Macos. In Macos Catalina I can build the library without any problem but in Mac OSX Big Sur I obtain the error: \[ 24%\] Building CXX object modules/imgcodecs/CMakeFiles/opencv\_…

---

## [Unable to build opencv 4.6 with contrib for iOS](https://forum.opencv.org/t/unable-to-build-opencv-4-6-with-contrib-for-ios/11732)

<div class="topic-metadata">

**Author:** [@sakshi](https://forum.opencv.org/u/sakshi)\
**Replies:** 3\
**Last updated:** [July 7, 2023, 10:11pm UTC](https://forum.opencv.org/t/unable-to-build-opencv-4-6-with-contrib-for-ios/11732 "2023-07-07T22:11:53Z")

</div>

Is there a opencv 4.6 with contrib readily available for IOS? I was trying to build opencv with contrib following the official tutorial, https://docs.opencv.org/4.6.0/d5/da3/tutorial\_ios\_install.html but building is f…

---

## [How to specify exact camera by id to prevent two usb cameras from being switched around macos](https://forum.opencv.org/t/how-to-specify-exact-camera-by-id-to-prevent-two-usb-cameras-from-being-switched-around-macos/12351)

<div class="topic-metadata">

**Author:** [@Golden\_Strawberry](https://forum.opencv.org/u/Golden_Strawberry)\
**Replies:** 5\
**Last updated:** [June 23, 2023, 2:31pm UTC](https://forum.opencv.org/t/how-to-specify-exact-camera-by-id-to-prevent-two-usb-cameras-from-being-switched-around-macos/12351 "2023-06-23T14:31:38Z")

</div>

what i need is the ability for two usb cameras to not get switched around so i would have camera A pointing in one direction then camera B pointing in a different direction and within opencv even after a reboot or unplug…

---

## [iPhone Continuity camera: undesired face recognition+pan](https://forum.opencv.org/t/iphone-continuity-camera-undesired-face-recognition-pan/13628)

<div class="topic-metadata">

**Author:** [@Rauf\_Aliev](https://forum.opencv.org/u/Rauf_Aliev)\
**Replies:** 0\
**Last updated:** [June 21, 2023, 8:30pm UTC](https://forum.opencv.org/t/iphone-continuity-camera-undesired-face-recognition-pan/13628 "2023-06-21T20:30:06Z")

</div>

I am trying to use my iPhone 12 Pro Camera + OpenCV. It had been working well but since recently iPhone camera started to demonstrate undesired behavior - I believe it detects faces and smoothly pan to make the face clo…

[Next page](https://forum.opencv.org/tag/apple/308.md?match_all_tags=true&page=1&tags%5B%5D=apple)
