feat(devicectl): Use devicectl for deploying to devices#1636
Draft
dpogue wants to merge 1 commit intoapache:masterfrom
Draft
feat(devicectl): Use devicectl for deploying to devices#1636dpogue wants to merge 1 commit intoapache:masterfrom
dpogue wants to merge 1 commit intoapache:masterfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1636 +/- ##
==========================================
- Coverage 80.21% 79.99% -0.23%
==========================================
Files 18 18
Lines 5312 5358 +46
==========================================
+ Hits 4261 4286 +25
- Misses 1051 1072 +21 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
erisu
approved these changes
Mar 16, 2026
Member
erisu
left a comment
There was a problem hiding this comment.
LGTM
Tested:
npm tplatform addbuild iosrun ios- Confirmed that it called
devicectl.install
- Confirmed that it called
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Platforms affected
iOS
Motivation and Context
ios-deploydoes not properly handle deploying to newer iOS versions, and Xcode now includes a built-indevicectltool for this purpose (with the caveat that it does not handle deploying to older iOS versions <17).This also allows us to slowly transition away from requiring a global installation of the
ios-deploytool, whose licence prevents its direct inclusion or distribution with cordova-ios.Ref #419
Closes #429
Closes #1594
Description
Bring in a new
devicectllibrary to support usingdevicectlto install and launch apps on connected devices. We keepios-deployas a fallback.The format of device target identifiers is different between
devicectlandios-deploynamely in that the UDID fromdevicectlincludes a dash. Currently we use that dash to determine (given a target ID) whether to invokedevicectlorios-deploybut I'd like to find a way to avoid that. It would be nice to be able to provide something like--target="My iPhone"(whichdevicectlwill happily support) instead of--target="lotsOfNumbers".Testing
Manual testing deploying an app to a connected iOS 26 device.
Needs more unit tests.
Checklist