Skip to content

Add support for launching watchOS apps#2875

Open
rockbruno wants to merge 1 commit intobazelbuild:mainfrom
rockbruno:rochab/watch-run
Open

Add support for launching watchOS apps#2875
rockbruno wants to merge 1 commit intobazelbuild:mainfrom
rockbruno:rochab/watch-run

Conversation

@rockbruno
Copy link
Contributor

watchOS rules were missing executable info, but everything that existed for iOS could be ported to it with some minor changes related to payload paths and where the device information comes from.

Screenshot 2026-02-03 at 14 28 17

)
developer_path = xcode_select_result.stdout.rstrip()
devicectl_path = os.path.join(developer_path, "usr", "bin", "devicectl")
device_identifier = os.environ.get("BAZEL_APPLE_DEVICE_UDID", device_identifier),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Context: https://bazelbuild.slack.com/archives/CD3QY5C2X/p1769867973947299

Instead of adding another build flag just for watchOS, I thought that using an env would be better overall. Can make this as a separate PR too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant