This is an automated email from the ASF dual-hosted git repository.

GitToTheHub pushed a commit to branch 
pr-fix-actions-iphone-16e-not-found-on-macos-26
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git

commit 80871d7dbad6869160e9bb477039ec7515efad6d
Author: Manuel Beck <[email protected]>
AuthorDate: Sat May 16 15:23:16 2026 +0200

    fix(actions): IPhone 16e not found on macOS 26 for latest OS
    
    - xcodebuild is called with destination: platform=iOS Simulator, 
name=iPhone 16e. Xcode interprets that as OS:latest, so it looks for iPhone 16e 
on the latest simulator runtime. On macos-26, latest runtime is 26.4.1, and 
there is no iPhone 16e for 26.4.1 (only iPhone 17e, iPhone 17, etc.). Therefore 
xcodebuild exits with:
    Unable to find a device matching the provided destination specifier
    npm exits with code 70 because npm run test:xcode failed.
    - iPhone 17 is now used for macOS 26 and iPhone 16e otherwise
---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ac415912..1e049d49 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -42,7 +42,7 @@ jobs:
             node-version: 24.x
 
     env:
-      CDV_IOS_SIM: iPhone 16e
+      CDV_IOS_SIM: ${{ matrix.os == 'macos-26' && 'iPhone 17' || 'iPhone 16e' 
}}
 
     steps:
       - uses: actions/checkout@v6


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to