react-native-vision-camera-face-detector icon indicating copy to clipboard operation
react-native-vision-camera-face-detector copied to clipboard

[BUG πŸ›] IOS 26 Support

Open Navipro70 opened this issue 2 months ago β€’ 5 comments

Describe the bug: After installing and correct setup of the lib, Xcode 26 stopped showing simulators with IOS 26.0 (previously was) and CLI became failing when try to run any IOS 26.0 simulator

Minimum reproducible example: MacOS and Xcode 26

Steps to reproduce the behavior. E.g:

  1. Install and setup lib by the doc
  2. Run pod install

Expected behavior: IOS 26.0 devices should be able to run within the library

I have tryed: I've tried wiping cache, different deployment targets and so on. I've removed lib and IOS 26.0 devices returned to Xcode build tools and started working. I think this bug is related to supported version by the lib itself or to dependency lib. Devices with IOS 18.3 are building and working correctly

Device:

  • Device: Simulator
  • OS: IOS 26.0
  • Deployment target: 15.5
  • New Arch is enabled

package.json file:

{
   "dependencies": {
    "react-native": "0.79.1",
    "react-native-vision-camera": "^4.7.2",
    "react-native-vision-camera-face-detector": "^1.9.1",
    "react-native-worklets-core": "^1.6.2",
  }
}

Navipro70 avatar Oct 19 '25 16:10 Navipro70

Did you try building it without new arch on ios 26? I haven’t been able to make it work yet with it enabled.

I'm using ios and macos 26 on my devices and everything is building fine withou new arch

luicfrr avatar Oct 20 '25 18:10 luicfrr

Hello!

The most interesting point, that on IOS 18.3 everything was working well (static face detection). 26 IOS simulators just dissapeared from xcode project after all deps were intalled. Maybe will try again later and reinstall all one more time, but cannot get a point how new arch could be possibly related to simulators dissapearing

Navipro70 avatar Oct 21 '25 12:10 Navipro70

I've been building this repo with newArch for each version that's been out. Everything is flawless.

This is probably not a newArch issue.

XChikuX avatar Nov 04 '25 23:11 XChikuX

Hello!

The most interesting point, that on IOS 18.3 everything was working well (static face detection). 26 IOS simulators just dissapeared from xcode project after all deps were intalled. Maybe will try again later and reinstall all one more time, but cannot get a point how new arch could be possibly related to simulators dissapearing

This is happing on my side as well.

MisterCommit avatar Nov 24 '25 22:11 MisterCommit

Image

"react-native-vision-camera": "^4.7.3",
"react-native-vision-camera-face-detector": "^1.9.1",
"expo": "~54.0.25",
"react-native-reanimated": "~4.1.1",
"react-native-worklets-core": "1.6.2",

If I downgrade the reanimated version to react-native-reanimated: ~3.17.4 and disable the new ARCH then i get

Image

MisterCommit avatar Nov 24 '25 22:11 MisterCommit

this issue is not happening to me, as you can see all simulators are available Image

are you guys using latest 26.1 MacOS and 16.0.1 xCode versions?

luicfrr avatar Nov 28 '25 14:11 luicfrr

That lib uses Google ML Kit. For iOS there is limitations that native lib is only build for x86_64 simulators. https://developers.google.com/ml-kit/known-issues

Image

You may check that after uninstalling react-native-vision-camera-face-detector and running pod install you should have an ability to run your project on simulators with arm arch (make sure you do not have other libs that support only x86_64)

Kirill-Cherkalov avatar Dec 10 '25 14:12 Kirill-Cherkalov

Same issue here but i am not sure is this related with this github repo or not but let me share some findings beside me. I have been using "@infinitered/react-native-mlkit-face-detection" for another project and there was no issue about it. However i decided to try this repo and the others like;

    "react-native-vision-camera": "^4.7.3",
    "react-native-vision-camera-face-detector": "^1.10.1",
    "react-native-web": "~0.21.0",
    "react-native-worklets": "0.5.1",
    "react-native-worklets-core": "^1.6.2"

And after i try to start simulator i noticed the simulator did not started. So i decided to remove ios version, simulators and reinstalled them but error was still there. Also tried to boot simulator and implictly select device with id but it did not resolved neither.

Here is the error:


CommandError: Failed to build iOS project. "xcodebuild" exited with error code 70.
To view more error logs, try building the app with Xcode directly, by opening /Users/xxx/MobileProjects/xxx/ios/xxx.xcworkspace.

Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/xxx/MobileProjects/xxx/ios/xxx.xcworkspace -configuration Debug -scheme xxx -destination id=xxx-C505-4037-9949-39908A0A4177



2025-12-15 14:02:13.307 xcodebuild[3163:22320] Writing error result bundle to /var/folders/px/35brvr4d0tbcd3d8g94nm5ch0000gn/T/ResultBundle_2025-15-12_14-02-0013.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
                { id:ABABC2F8-C505-4037-9949-39908A0A4177 }

        Available destinations for the "xxx" scheme:
                { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:xxx-000E19C20EA3801C, name:My Mac }
                { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
                { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
Build logs written to /Users/xxx/MobileProjects/xxx/expo/xcodebuild.log

Then i said "ok. lets send it to eas for build and skip local issues." but i saw another error on eas about build. and decided to look up the issues so here i am and those are my findings. I will take a look in next days if i can find something i will let you know too!



🍏 iOS build failed:
The "Run fastlane" step failed because of an error in the Xcode build process. We automatically detected following errors in your Xcode build logs:
- include of non-modular header inside framework module 'VisionCamera.VisionCameraProxyDelegate': '/Users/expo/workingdir/build/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h' [-Werror,-Wnon-modular-include-in-framework-module]
- include of non-modular header inside framework module 'VisionCamera.CameraBridge': '/Users/expo/workingdir/build/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h' [-Werror,-Wnon-modular-include-in-framework-module]
- include of non-modular header inside framework module 'VisionCamera.CameraBridge': '/Users/expo/workingdir/build/ios/Pods/Headers/Public/React-Core/React/RCTUIManager.h' [-Werror,-Wnon-modular-include-in-framework-module]
- include of non-modular header inside framework module 'VisionCamera.CameraBridge': '/Users/expo/workingdir/build/ios/Pods/Headers/Public/React-Core/React/RCTViewManager.h' [-Werror,-Wnon-modular-include-in-framework-module]
Refer to "Xcode Logs" below for additional, more detailed lo

isikhi avatar Dec 15 '25 11:12 isikhi