margelo / margelo/react-native-vision-camera

🛠️ (iOS) Not possible to build for simulator with react-native-vision-camera-barcode-scanner on iOS 26

Open
#3,823 20 comments 14 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
9.6k
Forks
1.4k
Avg merge
1d 28m
Merged PRs (30d)
4

Description

Prerequisites
Full build error output
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/gabrielcalistro/code/playground/camera/ios/camera.xcworkspace.

Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/gabrielcalistro/code/playground/camera/ios/camera.xcworkspace -configuration Debug -scheme camera -destination id=E1E63D1E-C0AD-4811-8CD7-C71579112CF3



2026-04-28 16:27:04.026 xcodebuild[21142:10723142] Writing error result bundle to /var/folders/43/zsfr27ys0q59ryf0199d07kh0000gn/T/ResultBundle_2026-28-04_16-27-0004.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ id:E1E63D1E-C0AD-4811-8CD7-C71579112CF3 }

	Available destinations for the "camera" scheme:
		{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008132-001621DA11F0801C, name:My Mac }
		{ platform:iOS, arch:arm64, id:00008120-000834583EA1A01E, name:iPhone de Gabriel }
		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
		{ platform:iOS Simulator, arch:x86_64, id:D2ED355C-95A1-4FF8-9B37-21FD19D69585, OS:18.6, name:iPhone 16 }
Build logs written to /Users/gabrielcalistro/code/playground/camera/.expo/xcodebuild.log
VisionCamera version

5.0.8

React Native version

0.81.5

React Native architecture

New Architecture (Fabric / bridgeless)

Expo?

Expo (managed, EAS Build)

Host macOS version

macOS 26.3 (Tahoe) on Apple Silicon (M4)

Xcode version

Xcode 26.4.1 (17E202)

iOS Deployment Target

15.5

CocoaPods version

1.16.2

Ruby version

4.0.3

Build target

Simulator

Package manager

npm

Reproduction repository

https://github.com/gabrielcalistro/vision-camera-issue

Additional context

Installing react-native-vision-camera-barcode-scanner seems to cause some problem in xcode scheme, making it impossible to build for simulator on iOS 26. I've tested on iOS 18.6 and android, works perfectly. If i remove the package, works too.
I didn't try to build for physical device.

Submission
  • I pasted the full error output as text (not a screenshot).
  • I wrote this report in my own words. I did not paste AI-generated summaries of the error.
  • The reproduction repository I linked is public and reproduces the build error on a fresh clone. I understand the issue will be closed without one.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked reproduction repository and its .expo/xcodebuild.log, then reproduce the simulator build using the reported VisionCamera 5.0.8, React Native 0.81.5, Expo, and Xcode 26.4.1 versions. Compare the build with and without react-native-vision-camera-barcode-scanner, including the available simulator destinations. Done means the reproduction builds for an iOS 26 simulator while retaining the package.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.