GitToTheHub commented on PR #1596:
URL: https://github.com/apache/cordova-ios/pull/1596#issuecomment-3689247515

   > If you are running on an Apple Silicon-based Mac, I think you will have 
double versions of older simulators because they used to be universal builds 
with both the arm64 and x86_64 versions. Xcode 26 (on Apple Silicon) will only 
pull down the arm64 simulators going forward.
   
   Do you think, this is why I had `iPhone 16 Pro` double?
   The interesting is, when I run this PR without hypens in the identifier, it 
works:
   
   ```bash
   cordova run ios --target="iPhone 16 Pro, 18.5"
   ```
   
   But gives a warning:
   
   ```bash
   --- xcodebuild: WARNING: Using the first of multiple matching destinations:
   { platform:iOS Simulator, arch:arm64, 
id:E8DF4860-A689-418F-A524-90AA745E9406, OS:18.5, name:iPhone 16 Plus }
   { platform:iOS Simulator, arch:x86_64, 
id:E8DF4860-A689-418F-A524-90AA745E9406, OS:18.5, name:iPhone 16 Plus }
   ````
   
   But when I run with hypens, it will not work. Command:
   
   ```bash
    cordova run ios --target="iPhone-16-Pro, 18.5"
   ```
   
   Error:
   
   ```bash
   xcodebuild: error: Unable to find a device matching the provided destination 
specifier:
                { platform:iOS Simulator, OS:18.5, name:iPhone 16 Pro }
   
        The requested device could not be found because multiple devices 
matched the request. (
       "<DVTiPhoneSimulator: 0xa8c898000> {\n\t\tSimDevice: iPhone 16 Pro 
(E4D9D5C2-661E-4AA7-B31D-0D5079C002BD, iOS 18.5, Booted)\n}",
       "<DVTiPhoneSimulator: 0xa8c898280> {\n\t\tSimDevice: iPhone 16 Pro 
(0C7B1CB0-BED0-4DE2-A6CC-FC4CD471A114, iOS 18.5, Shutdown)\n}"
   )
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to