Closed lblblong closed 6 months ago
When I run "npm run ios", I get an error "CommandError: No iOS devices available in Simulator.app"
xcrun simctl list devices --json:
{ "devices" : { "com.apple.CoreSimulator.SimRuntime.iOS-17-0" : [ { "dataPath" : "\/Users\/matson\/Library\/Developer\/CoreSimulator\/Devices\/BA65D695-0416-4BCD-94D0-61AD03A45D25\/data", "dataPathSize" : 18337792, "logPath" : "\/Users\/matson\/Library\/Logs\/CoreSimulator\/BA65D695-0416-4BCD-94D0-61AD03A45D25", "udid" : "BA65D695-0416-4BCD-94D0-61AD03A45D25", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation", "state" : "Shutdown", "name" : "iPhone SE (3rd generation)" }, { "lastBootedAt" : "2023-11-21T09:17:50Z", "dataPath" : "\/Users\/matson\/Library\/Developer\/CoreSimulator\/Devices\/65372D72-A1E5-4806-A65B-B45AD03D2E4B\/data", "dataPathSize" : 1057120256, "logPath" : "\/Users\/matson\/Library\/Logs\/CoreSimulator\/65372D72-A1E5-4806-A65B-B45AD03D2E4B", "udid" : "65372D72-A1E5-4806-A65B-B45AD03D2E4B", "isAvailable" : true, "logPathSize" : 53248, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15", "state" : "Booted", "name" : "iPhone 15" }, { "dataPath" : "\/Users\/matson\/Library\/Developer\/CoreSimulator\/Devices\/74485A16-B61F-42F7-85D8-DAF1DFC06899\/data", "dataPathSize" : 18337792, "logPath" : "\/Users\/matson\/Library\/Logs\/CoreSimulator\/74485A16-B61F-42F7-85D8-DAF1DFC06899", "udid" : "74485A16-B61F-42F7-85D8-DAF1DFC06899", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Plus", "state" : "Shutdown", "name" : "iPhone 15 Plus" }, { "dataPath" : "\/Users\/matson\/Library\/Developer\/CoreSimulator\/Devices\/ADBE9109-BBA1-4681-9D70-35FA001F50B3\/data", "dataPathSize" : 18337792, "logPath" : "\/Users\/matson\/Library\/Logs\/CoreSimulator\/ADBE9109-BBA1-4681-9D70-35FA001F50B3", "udid" : "ADBE9109-BBA1-4681-9D70-35FA001F50B3", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro", "state" : "Shutdown", "name" : "iPhone 15 Pro" }, { "lastBootedAt" : "2023-11-21T09:17:01Z", "dataPath" : "\/Users\/matson\/Library\/Developer\/CoreSimulator\/Devices\/5E9D052B-34C5-491B-A2D0-14D80739610E\/data", "dataPathSize" : 1170497536, "logPath" : "\/Users\/matson\/Library\/Logs\/CoreSimulator\/5E9D052B-34C5-491B-A2D0-14D80739610E", "udid" : "5E9D052B-34C5-491B-A2D0-14D80739610E", "isAvailable" : true, "logPathSize" : 73728, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro-Max", "state" : "Booted", "name" : "iPhone 15 Pro Max" }, { "dataPath" : "\/Users\/matson\/Library\/Developer\/CoreSimulator\/Devices\/0A470D5E-7788-47DE-A192-6DC5C8A1E64F\/data", "dataPathSize" : 18337792, "logPath" : "\/Users\/matson\/Library\/Logs\/CoreSimulator\/0A470D5E-7788-47DE-A192-6DC5C8A1E64F", "udid" : "0A470D5E-7788-47DE-A192-6DC5C8A1E64F", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-5th-generation", "state" : "Shutdown", "name" : "iPad Air (5th generation)" }, { "dataPath" : "\/Users\/matson\/Library\/Developer\/CoreSimulator\/Devices\/33006009-04B4-4168-98B0-5C9E6576D766\/data", "dataPathSize" : 18337792, "logPath" : "\/Users\/matson\/Library\/Logs\/CoreSimulator\/33006009-04B4-4168-98B0-5C9E6576D766", "udid" : "33006009-04B4-4168-98B0-5C9E6576D766", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-10th-generation", "state" : "Shutdown", "name" : "iPad (10th generation)" }, { "dataPath" : "\/Users\/matson\/Library\/Developer\/CoreSimulator\/Devices\/04D1F02F-3A06-4B17-A0DF-57A117DEE9D3\/data", "dataPathSize" : 18337792, "logPath" : "\/Users\/matson\/Library\/Logs\/CoreSimulator\/04D1F02F-3A06-4B17-A0DF-57A117DEE9D3", "udid" : "04D1F02F-3A06-4B17-A0DF-57A117DEE9D3", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation", "state" : "Shutdown", "name" : "iPad mini (6th generation)" }, { "dataPath" : "\/Users\/matson\/Library\/Developer\/CoreSimulator\/Devices\/439E8490-8F1C-4D39-860B-3B702D5ACFFE\/data", "dataPathSize" : 18337792, "logPath" : "\/Users\/matson\/Library\/Logs\/CoreSimulator\/439E8490-8F1C-4D39-860B-3B702D5ACFFE", "udid" : "439E8490-8F1C-4D39-860B-3B702D5ACFFE", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-4th-generation-8GB", "state" : "Shutdown", "name" : "iPad Pro (11-inch) (4th generation)" }, { "dataPath" : "\/Users\/matson\/Library\/Developer\/CoreSimulator\/Devices\/4265EAFB-782F-443B-9266-7BCF492CFBFF\/data", "dataPathSize" : 18337792, "logPath" : "\/Users\/matson\/Library\/Logs\/CoreSimulator\/4265EAFB-782F-443B-9266-7BCF492CFBFF", "udid" : "4265EAFB-782F-443B-9266-7BCF492CFBFF", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-6th-generation-8GB", "state" : "Shutdown", "name" : "iPad Pro (12.9-inch) (6th generation)" } ] } }
System: OS: macOS 14.1.1 Shell: 3.2.57 - /bin/sh Binaries: Node: 21.1.0 - /opt/homebrew/bin/node Yarn: 1.22.21 - /opt/homebrew/bin/yarn npm: 10.2.0 - /opt/homebrew/bin/npm SDKs: iOS SDK: Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0 IDEs: Android Studio: 2022.3 AI-223.8836.35.2231.11005911 Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild npmPackages: expo: ~49.0.15 => 49.0.19 react: 18.2.0 => 18.2.0 react-native: 0.72.6 => 0.72.6 Expo Workflow: managed
ios 15
No response
npm run ios
same issue
Summary
When I run "npm run ios", I get an error "CommandError: No iOS devices available in Simulator.app"
xcrun simctl list devices --json:
Environment
System: OS: macOS 14.1.1 Shell: 3.2.57 - /bin/sh Binaries: Node: 21.1.0 - /opt/homebrew/bin/node Yarn: 1.22.21 - /opt/homebrew/bin/yarn npm: 10.2.0 - /opt/homebrew/bin/npm SDKs: iOS SDK: Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0 IDEs: Android Studio: 2022.3 AI-223.8836.35.2231.11005911 Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild npmPackages: expo: ~49.0.15 => 49.0.19 react: 18.2.0 => 18.2.0 react-native: 0.72.6 => 0.72.6 Expo Workflow: managed
Please specify your device/emulator/simulator platform, model and version
ios 15
Error output
No response
Reproducible demo or steps to reproduce from a blank project
npm run ios