Closed airdrummingfool closed 2 years ago
Possibly relevant cordova-ios
feature request: https://github.com/apache/cordova-ios/issues/595
Based on https://github.com/facebook/flipper/commit/795a3d30a0638ff0e2ccbd0571415d0f6d92710c, it looks like xcrun xctrace list devices
is a good replacement, though the output does not line up exactly.
instruments -s devices
output format:
iPhone 12 (14.5) [0AFC41A6-E65C-484A-89C8-EC756B330821] (Simulator)
iPhone 12 (14.5) + Apple Watch Series 5 - 44mm (7.4) [DC773D49-C704-4BA2-A3C1-A6FCAA68B047] (Simulator)
iPhone 12 Pro (14.2) [431BEFD5-C804-47F4-AD53-C246CD5CA844] (Simulator)
[...]
xcrun xctrace list devices
output format:
iPhone 12 Pro Simulator (15.0) (14B3DA19-0752-4484-B393-AC95EF2D46F8)
iPhone 12 Pro Simulator (15.0) + Apple Watch Series 5 - 40mm (8.0) (0F1B3157-681A-4562-8331-896A30D569BE)
iPhone 12 Pro Max Simulator (15.0) (35E8AAE8-1FFC-42E4-9039-EAA5FC48E458)
Bug Report
Problem
What is expected to happen?
I can run
cordova-paramedic
to test an iOS app with Xcode 13 installed on my machine.What does actually happen?
cordova-paramedic
callsinstruments
to list the available simulators, but theinstruments
command was deprecated in Xcode 12 and removed in Xcode 13. The process crashes on this call.Information
Deprecation warning when calling
instruments
on Xcode 12:Stack trace of the crash on Xcode 13:
Command or Code
npx cordova-paramedic --platform ios --plugin my-plugin --verbose
Environment, Platform, Device
macOS Big Sur, Xcode 13
Version information
macOS: 11.6 Xcode: 13.0 cordova-paramedic: latest (1.0.0-dev) ios-deploy: 1.11.4
Checklist