Skip to content

native:run ios fails to locate destination specifier ( simulator id ) #67

@aotearoait

Description

@aotearoait

What were you trying to do?

Trying to run my app on a simulator in ios 26.3 used following commands
php artisan native:install ios --force
php artisan native:run ios 721E1593-5EDD-47DA-9936-4EAD7B57F4B6 -v
The id of the simulator i deployed, and verified it is running as i use similar for xcode builds.

What happened?

The build fails with:

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:721E1593-5EDD-47DA-9936-4EAD7B57F4B6 }

Available destinations:
{ platform:iOS, name:Any iOS Device }
{ platform:iOS Simulator, name:Any iOS Simulator Device }

Even though:

The simulator exists
The simulator is booted
The correct UDID is passed
simctl lists the device correctly

Additionally, Xcode logs:
DVTDeviceOperation: Encountered a build number "" that is incompatible with DVTBuildVersion.

How to reproduce the bug

Install NativePHP mobile
Install iOS simulator runtime (iOS 26.x)
Create a simulator:

xcrun simctl create "iPhone 16e 26.3" \
  "iPhone 16e" \
  "com.apple.CoreSimulator.SimRuntime.iOS-26-3"

xcrun simctl boot 721E1593-5EDD-47DA-9936-4EAD7B57F4B6

php artisan native:run ios
Select the simulator when prompted

Debug Output

simctl confirms device exists:
iPhone 16e 26.3 (721E1593-5EDD-47DA-9936-4EAD7B57F4B6) (Booted)
xcodebuild destinations:

Available destinations:
{ platform:iOS, name:Any iOS Device }
{ platform:iOS Simulator, name:Any iOS Simulator Device }

(no real simulator devices listed)

Build error:
Unable to find a destination matching the provided destination specifier
Additional warning:
DVTDeviceOperation: Encountered a build number "" that is incompatible with DVTBuildVersion.

Which operating systems have you seen this occur on?

macOS

Which platforms were you trying to build for?

iOS (Simulator)

Notes

Works fine with android build and native jump

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions