Skip to content

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

@gabrielcalistro

Description

@gabrielcalistro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions