Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS test hangs on splash screen and crashes. #1042

Closed
KevinGulj opened this issue Nov 13, 2018 · 8 comments
Closed

iOS test hangs on splash screen and crashes. #1042

KevinGulj opened this issue Nov 13, 2018 · 8 comments

Comments

@KevinGulj
Copy link

Description

React Native iOS build hangs on splash screen, then after about 5 seconds, the app closes.
Also the metro bundler starts with detox build command, but no JS will start loading from that.
In detox init, it hangs on beforeAll.

Detox conf

"detox": {
"specs": "e2e",
"configurations": {
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/Cashpoint_Native.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/Cashpoint_Native.xcodeproj -UseNewBuildSystem=NO -scheme Cashpoint_Native -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet",
"type": "ios.simulator",
"name": "iPhone 7 Plus"
},
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/Cashpoint_Native.app",
"build": "xcodebuild -project ios/Cashpoint_Native.xcodeproj -UseNewBuildSystem=NO -scheme Cashpoint_Native -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 7 Plus"
},
"android.emu.debug": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
"type": "android.emulator",
"name": "Nexus 5X API 28 x86"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "pushd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
"type": "android.emulator",
"name": "Nexus 5X API 28 x86"
}
},
"test-runner": "jest",
"runner-config": "e2e/config.json"
}

Detox, Node, Device, Xcode and macOS Versions

  • Detox: "detox": "^9.0.5",
  • React Native: "react-native": "0.55.4",
  • Node: 10.9.0
  • Device: iPhone 7+
  • Xcode: 10.1
  • macOS: mojave

Device and verbose Detox logs

detox test --configuration ios.sim.debug --debug-synchronization 1000 --loglevel trace
'configuration="ios.sim.debug" loglevel="trace" debugSynchronization="1000" artifactsLocation="artifacts/ios.sim.debug.2018-11-13 15-08-29Z" node_modules/.bin/jest e2e --config=e2e/config.json --maxWorkers=1 '--testNamePattern=^((?!:android:).)*$'
● Deprecation Warning:

 Option "setupTestFrameworkScriptFile" was replaced by configuration "setupFilesAfterEnv", which supports multiple paths.

 Please update your configuration.

 Configuration Documentation:
 https://jestjs.io/docs/configuration.html

 console.log e2e/init.js:12
   before All

detox[26206] INFO:  [DetoxServer.js] server listening on localhost:61034...
detox[26206] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:61034
detox[26206] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"login","params":{"sessionId":"25e55649-cee7-2f75-da36-2913bf191f0b","role":"tester"},"messageId":0}
detox[26206] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=25e55649-cee7-2f75-da36-2913bf191f0b
detox[26206] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=25e55649-cee7-2f75-da36-2913bf191f0b
detox[26206] TRACE: [AsyncWebSocket.js/WEBSOCKET_MESSAGE] {"type":"loginSuccess","params":{"sessionId":"25e55649-cee7-2f75-da36-2913bf191f0b","role":"tester"},"messageId":0}

detox[26206] DEBUG: [exec.js/EXEC_CMD, #0] /usr/bin/xcrun simctl list -j
detox[26206] TRACE: [exec.js/EXEC_SUCCESS, #0] {
 "devicetypes" : [
   {
     "name" : "iPhone 4s",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 4s.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-4s"
   },
   {
     "name" : "iPhone 5",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 5.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-5"
   },
   {
     "name" : "iPhone 5s",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 5s.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-5s"
   },
   {
     "name" : "iPhone 6",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6"
   },
   {
     "name" : "iPhone 6 Plus",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6 Plus.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus"
   },
   {
     "name" : "iPhone 6s",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6s.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s"
   },
   {
     "name" : "iPhone 6s Plus",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6s Plus.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus"
   },
   {
     "name" : "iPhone 7",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 7.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7"
   },
   {
     "name" : "iPhone 7 Plus",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 7 Plus.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus"
   },
   {
     "name" : "iPhone 8",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 8.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8"
   },
   {
     "name" : "iPhone 8 Plus",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 8 Plus.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus"
   },
   {
     "name" : "iPhone SE",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone SE.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE"
   },
   {
     "name" : "iPhone X",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone X.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-X"
   },
   {
     "name" : "iPhone Xs",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xs.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XS"
   },
   {
     "name" : "iPhone Xs Max",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xs Max.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max"
   },
   {
     "name" : "iPhone Xʀ",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xʀ.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XR"
   },
   {
     "name" : "iPad 2",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad 2.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-2"
   },
   {
     "name" : "iPad Retina",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Retina.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Retina"
   },
   {
     "name" : "iPad Air",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air"
   },
   {
     "name" : "iPad Air 2",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air 2.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-2"
   },
   {
     "name" : "iPad (5th generation)",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (5th generation).simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--5th-generation-"
   },
   {
     "name" : "iPad Pro (9.7-inch)",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (9.7-inch).simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-"
   },
   {
     "name" : "iPad Pro (12.9-inch)",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch).simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro"
   },
   {
     "name" : "iPad Pro (12.9-inch) (2nd generation)",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (2nd generation).simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-"
   },
   {
     "name" : "iPad Pro (10.5-inch)",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (10.5-inch).simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-"
   },
   {
     "name" : "iPad (6th generation)",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (6th generation).simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--6th-generation-"
   },
   {
     "name" : "iPad Pro (11-inch)",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch).simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-"
   },
   {
     "name" : "iPad Pro (12.9-inch) (3rd generation)",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (3rd generation).simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-"
   },
   {
     "name" : "Apple TV",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/AppleTVOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple TV.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p"
   },
   {
     "name" : "Apple TV 4K",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/AppleTVOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple TV 4K.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K"
   },
   {
     "name" : "Apple TV 4K (at 1080p)",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/AppleTVOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple TV 4K (at 1080p).simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p"
   },
   {
     "name" : "Apple Watch - 38mm",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch - 38mm.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm"
   },
   {
     "name" : "Apple Watch - 42mm",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch - 42mm.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm"
   },
   {
     "name" : "Apple Watch Series 2 - 38mm",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 2 - 38mm.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm"
   },
   {
     "name" : "Apple Watch Series 2 - 42mm",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 2 - 42mm.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm"
   },
   {
     "name" : "Apple Watch Series 3 - 38mm",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 3 - 38mm.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-38mm"
   },
   {
     "name" : "Apple Watch Series 3 - 42mm",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 3 - 42mm.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-42mm"
   },
   {
     "name" : "Apple Watch Series 4 - 40mm",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 4 - 40mm.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm"
   },
   {
     "name" : "Apple Watch Series 4 - 44mm",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 4 - 44mm.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm"
   }
 ],
 "runtimes" : [
   {
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime",
     "availabilityError" : "",
     "buildversion" : "16B91",
     "availability" : "(available)",
     "isAvailable" : true,
     "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-12-1",
     "version" : "12.1",
     "name" : "iOS 12.1"
   },
   {
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/AppleTVOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/Runtimes\/tvOS.simruntime",
     "availabilityError" : "",
     "buildversion" : "16J602",
     "availability" : "(available)",
     "isAvailable" : true,
     "identifier" : "com.apple.CoreSimulator.SimRuntime.tvOS-12-1",
     "version" : "12.1",
     "name" : "tvOS 12.1"
   },
   {
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/Runtimes\/watchOS.simruntime",
     "availabilityError" : "",
     "buildversion" : "16R591",
     "availability" : "(available)",
     "isAvailable" : true,
     "identifier" : "com.apple.CoreSimulator.SimRuntime.watchOS-5-1",
     "version" : "5.1",
     "name" : "watchOS 5.1"
   }
 ],
 "devices" : {
   "com.apple.CoreSimulator.SimRuntime.tvOS-12-0" : [
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple TV",
       "udid" : "D5C959B9-B5A3-40BA-B7CB-5E08F98D6C4C",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple TV 4K",
       "udid" : "C4064372-8857-47BA-A9A4-23E3DFDF7B10",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple TV 4K (at 1080p)",
       "udid" : "0DBD4395-9226-4193-A4DC-A4B2454B8129",
       "availabilityError" : "runtime profile not found"
     }
   ],
   "com.apple.CoreSimulator.SimRuntime.iOS-12-0" : [
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 5s",
       "udid" : "584B3A18-B146-454D-8F64-578871CAA95E",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 6",
       "udid" : "E3EA2DC3-70E6-4B2D-9CDD-18419C39F8D3",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 6 Plus",
       "udid" : "0569153A-8CB4-4E74-898C-976023EE9661",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 6s",
       "udid" : "65A36383-9E77-4AAA-A6BA-2ADC79CD484F",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 6s Plus",
       "udid" : "9E3E710C-07B2-4956-8D2E-08AB67E15295",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 7",
       "udid" : "B058FA3C-0CD6-4348-AD0D-C4F5BD0B5B6F",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 7 Plus",
       "udid" : "84988AA7-AD35-4222-8F47-F2410D7F832D",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 8",
       "udid" : "78C0F91F-AB10-40C2-9BEE-59CA4C5AAC7C",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 8 Plus",
       "udid" : "FF950A46-8A72-4089-8291-EFE122A63385",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone SE",
       "udid" : "EFE9DA77-967A-46AB-8394-6031304906CA",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone X",
       "udid" : "FF0CF2E1-1C18-41E9-AAA2-6A1EA39CDE69",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone XS",
       "udid" : "56E8ED16-B7FA-474F-AF99-F69261E2EC6E",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone XS Max",
       "udid" : "DF7572F0-4387-4BDF-91C4-0AF6AE188396",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone XR",
       "udid" : "83A207DF-865E-403E-AF54-643331D4ECBF",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Air",
       "udid" : "232349A1-CE9F-4641-B53B-83EAE9BBDE01",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Air 2",
       "udid" : "2E7BB2F2-71C4-4636-B20D-720508ABDB6C",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad (5th generation)",
       "udid" : "1DE12CB9-A71E-4452-9DFA-775C0B4642D6",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Pro (9.7-inch)",
       "udid" : "469BFE4F-BDDE-453D-89A9-4AE3907BF1F6",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Pro (12.9-inch)",
       "udid" : "D3873F5D-BFA5-43D2-B75E-55C197CEEB91",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Pro (12.9-inch) (2nd generation)",
       "udid" : "8BA70338-4747-49CC-B90A-98AFE25A4FF0",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Pro (10.5-inch)",
       "udid" : "628EE65F-3327-4465-BF8D-17BDC950FF56",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad (6th generation)",
       "udid" : "5F706C8A-1517-43CA-95C1-930E1160FB42",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Pro (11-inch)",
       "udid" : "11B0EB47-EAAB-48AF-9C2E-70B60AE2337F",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Pro (12.9-inch) (3rd generation)",
       "udid" : "D2D136EC-4235-418C-82AC-F34F5A4F9C48",
       "availabilityError" : "runtime profile not found"
     }
   ],
   "watchOS 5.1" : [
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "Apple Watch Series 2 - 38mm",
       "udid" : "24D59971-2D47-4C28-8C6C-5ADB98E2297C",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "Apple Watch Series 2 - 42mm",
       "udid" : "CBCA4D51-3E72-4C4A-AB53-DB0D60DA287C",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "Apple Watch Series 3 - 38mm",
       "udid" : "DC0C2D89-126B-4D8D-AFD2-43506BC1AD5D",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "Apple Watch Series 3 - 42mm",
       "udid" : "62292118-4BBE-4693-82D2-930C8112585E",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "Apple Watch Series 4 - 40mm",
       "udid" : "6807E3E7-4376-4086-8DC0-A856396EAD98",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "Apple Watch Series 4 - 44mm",
       "udid" : "D1D40083-C933-4A69-BD13-A349289E339A",
       "availabilityError" : ""
     }
   ],
   "com.apple.CoreSimulator.SimRuntime.tvOS-11-4" : [
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple TV",
       "udid" : "CBFFBA6C-F799-4581-859B-8BA9A20A083D",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple TV 4K",
       "udid" : "E9B4F8DE-D41C-4AB0-BB36-6AC3F13EB80F",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple TV 4K (at 1080p)",
       "udid" : "41E52ECB-8A3D-4A1B-8C30-C0521433E5CF",
       "availabilityError" : "runtime profile not found"
     }
   ],
   "com.apple.CoreSimulator.SimRuntime.iOS-11-4" : [
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 5s",
       "udid" : "BF78C5A7-6CB3-48F4-AFF5-BB5853DF7B94",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 6",
       "udid" : "A5BD8346-6C31-48CB-92F4-3F571FD54300",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 6 Plus",
       "udid" : "E0D6AF69-E866-46C4-80B6-87B0BA07E98D",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 6s",
       "udid" : "8F21846D-2403-4A33-92BF-CDC462DB975B",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 6s Plus",
       "udid" : "C0933101-7B7F-4F64-9997-322F05371C71",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 7",
       "udid" : "79DFD9D6-F3DE-423D-BD91-1F744829A7A1",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 7 Plus",
       "udid" : "722A118C-0779-45E5-B8F4-0918416B0FF6",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 8",
       "udid" : "3E6A0A0D-37C6-4687-966A-11753715078A",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone 8 Plus",
       "udid" : "5F9EA8AB-FA1F-4C48-82D8-4ECC5B069E03",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone SE",
       "udid" : "E5B92747-AA71-4109-AF22-21E6DC8B15F2",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPhone X",
       "udid" : "40AFB62D-4023-4821-A27A-3A85902DA27D",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Air",
       "udid" : "124C8ABC-0D44-4A21-97C7-E8B76DB00DA4",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Air 2",
       "udid" : "C0CD043F-B0D5-40BE-9607-24A663002409",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad (5th generation)",
       "udid" : "0CC6FBCD-0815-4DB9-BFE8-2764027D8E85",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Pro (9.7-inch)",
       "udid" : "826E5BC3-975A-437D-8C79-F0AB35317341",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Pro (12.9-inch)",
       "udid" : "65858CDE-C72F-4B0F-8B9B-8BAA7F0C3114",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Pro (12.9-inch) (2nd generation)",
       "udid" : "D13C2828-7C4C-474B-885E-1DD18F0E1AAB",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad Pro (10.5-inch)",
       "udid" : "2BB08C48-F63B-4E8D-9CBF-4C095C40FB8F",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "iPad (6th generation)",
       "udid" : "20B4976A-1C89-4479-A6E0-650DE6A44B1D",
       "availabilityError" : "runtime profile not found"
     }
   ],
   "com.apple.CoreSimulator.SimRuntime.watchOS-4-3" : [
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch - 38mm",
       "udid" : "90F3712B-CCD0-4024-95F0-51A5B44028CA",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch - 42mm",
       "udid" : "B22C91D5-AA98-419E-A176-08A4EC3E2012",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 2 - 38mm",
       "udid" : "AD6294AE-18E8-45BB-B996-B3E03B152DBB",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 2 - 42mm",
       "udid" : "23506CA7-5E7B-4455-91DB-858C83BBDE4E",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 3 - 38mm",
       "udid" : "093A358F-5FBE-42C6-BFDD-0D53705E5630",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 3 - 42mm",
       "udid" : "A9EEF8FC-B71A-4644-912F-0A05C63644A9",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 4 - 40mm",
       "udid" : "0AAF334B-D3E9-4811-841B-C6774AFE02A8",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 4 - 44mm",
       "udid" : "F51700C6-D2B2-4E2A-976C-406A3EB424E7",
       "availabilityError" : "runtime profile not found"
     }
   ],
   "iOS 12.1" : [
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone 5s",
       "udid" : "BD397061-15D9-4130-8F4C-6CDA749C475F",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Booted",
       "isAvailable" : true,
       "name" : "iPhone 6",
       "udid" : "E17680DF-489D-4A19-8294-37C16A5625AF",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone 6 Plus",
       "udid" : "92A1C696-66E4-45F8-A399-8F42C9E32D92",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone 6s",
       "udid" : "03F05FA7-5BE0-4409-9B84-6FFD9A2DB9F7",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone 6s Plus",
       "udid" : "49AC1AFD-A33B-4EBA-A2E0-9BA183D1DEB2",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone 7",
       "udid" : "3646EA0F-28E8-4741-A41A-836B654F26A8",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Booted",
       "isAvailable" : true,
       "name" : "iPhone 7 Plus",
       "udid" : "E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone 8",
       "udid" : "B45AF9F3-A539-4FC7-8038-EFAB541DECA4",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone 8 Plus",
       "udid" : "6444F6F7-0450-4A07-89F2-E5091E66EC0B",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone SE",
       "udid" : "9C6844B9-247F-4ECE-95F8-65330DC750F0",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone X",
       "udid" : "44908F7B-D541-47EC-92E5-1B075A3D56DA",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone XS",
       "udid" : "D13B0563-6669-4F9A-8765-78C28081E4F0",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone XS Max",
       "udid" : "2886032D-D635-4DB4-B077-D8B1A586A799",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPhone XR",
       "udid" : "BE0D68B8-6419-43FB-AD6E-902C20206EE9",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPad Air",
       "udid" : "2781CA6B-3199-43C8-8F21-D6CA961235B4",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPad Air 2",
       "udid" : "BC9EF980-48E4-48E5-ACCD-0C97A665C045",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPad (5th generation)",
       "udid" : "0276125E-5F83-4BB4-8555-145381DF7053",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPad Pro (9.7-inch)",
       "udid" : "F82266DA-51C8-40E1-ABAB-33AB599D19AF",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPad Pro (12.9-inch)",
       "udid" : "0D5CAAE8-4B3A-46C8-BD96-21E2798731C7",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPad Pro (12.9-inch) (2nd generation)",
       "udid" : "FA827EE9-D32B-4152-8349-B991A4EDC811",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPad Pro (10.5-inch)",
       "udid" : "392A06B4-8B03-4B83-9F5A-91F1B98E7851",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPad (6th generation)",
       "udid" : "A8D3E882-1DB9-4F9C-B6F8-89E14EF6B9BC",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPad Pro (11-inch)",
       "udid" : "E763E99A-EF35-42DF-B1E6-3B734DA223F7",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "iPad Pro (12.9-inch) (3rd generation)",
       "udid" : "55A1B532-1CD0-4830-A8E1-4B72A7C2DA0A",
       "availabilityError" : ""
     }
   ],
   "com.apple.CoreSimulator.SimRuntime.watchOS-5-0" : [
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 2 - 38mm",
       "udid" : "0C6C38C4-B314-4EFB-A785-0D6BC987658A",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 2 - 42mm",
       "udid" : "B52DF117-B246-4783-9A21-221586F784CC",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 3 - 38mm",
       "udid" : "32F5D73C-4E3D-408A-A207-A570507DCEFD",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 3 - 42mm",
       "udid" : "73EFA49F-8CF9-4C69-BE17-AD13A74FEC28",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 4 - 40mm",
       "udid" : "616A6927-4FEE-402E-994B-883C8F8337F0",
       "availabilityError" : "runtime profile not found"
     },
     {
       "availability" : "(unavailable, runtime profile not found)",
       "state" : "Shutdown",
       "isAvailable" : false,
       "name" : "Apple Watch Series 4 - 44mm",
       "udid" : "B0DD6B09-7144-4996-BB7A-9350F5DBE50C",
       "availabilityError" : "runtime profile not found"
     }
   ],
   "tvOS 12.1" : [
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "Apple TV",
       "udid" : "76A1C7F8-8811-46A5-B5BA-BB2EB6AD2293",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "Apple TV 4K",
       "udid" : "CAD33112-9B56-42F5-AABB-C5006B012C1C",
       "availabilityError" : ""
     },
     {
       "availability" : "(available)",
       "state" : "Shutdown",
       "isAvailable" : true,
       "name" : "Apple TV 4K (at 1080p)",
       "udid" : "3D342AA9-6F8B-4BE4-99C9-38D8E7783381",
       "availabilityError" : ""
     }
   ]
 },
 "pairs" : {
   "2AFC33FA-296F-467B-AA3D-E295A91345B2" : {
     "watch" : {
       "name" : "Apple Watch Series 2 - 42mm",
       "udid" : "23506CA7-5E7B-4455-91DB-858C83BBDE4E",
       "state" : "Shutdown"
     },
     "phone" : {
       "name" : "iPhone 7 Plus",
       "udid" : "722A118C-0779-45E5-B8F4-0918416B0FF6",
       "state" : "Shutdown"
     },
     "state" : "(unavailable)"
   },
   "775F67BE-E84E-4AC6-9942-66E7136BA5E8" : {
     "watch" : {
       "name" : "Apple Watch Series 4 - 40mm",
       "udid" : "616A6927-4FEE-402E-994B-883C8F8337F0",
       "state" : "Shutdown"
     },
     "phone" : {
       "name" : "iPhone XS",
       "udid" : "56E8ED16-B7FA-474F-AF99-F69261E2EC6E",
       "state" : "Shutdown"
     },
     "state" : "(unavailable)"
   },
   "07E3BB5D-B0F0-4EBB-ACD9-B99FD90FF541" : {
     "watch" : {
       "name" : "Apple Watch Series 4 - 44mm",
       "udid" : "B0DD6B09-7144-4996-BB7A-9350F5DBE50C",
       "state" : "Shutdown"
     },
     "phone" : {
       "name" : "iPhone XS Max",
       "udid" : "DF7572F0-4387-4BDF-91C4-0AF6AE188396",
       "state" : "Shutdown"
     },
     "state" : "(unavailable)"
   },
   "1851B788-8872-48CE-A908-42AA481DD24B" : {
     "watch" : {
       "name" : "Apple Watch Series 3 - 38mm",
       "udid" : "093A358F-5FBE-42C6-BFDD-0D53705E5630",
       "state" : "Shutdown"
     },
     "phone" : {
       "name" : "iPhone 8",
       "udid" : "3E6A0A0D-37C6-4687-966A-11753715078A",
       "state" : "Shutdown"
     },
     "state" : "(unavailable)"
   },
   "FE0F4480-62E2-4DDE-95A1-BE619EEE3F14" : {
     "watch" : {
       "name" : "Apple Watch Series 3 - 42mm",
       "udid" : "A9EEF8FC-B71A-4644-912F-0A05C63644A9",
       "state" : "Shutdown"
     },
     "phone" : {
       "name" : "iPhone 8 Plus",
       "udid" : "5F9EA8AB-FA1F-4C48-82D8-4ECC5B069E03",
       "state" : "Shutdown"
     },
     "state" : "(unavailable)"
   },
   "64F2631C-4C1E-481A-BCD2-AF76C5500728" : {
     "watch" : {
       "name" : "Apple Watch Series 2 - 38mm",
       "udid" : "AD6294AE-18E8-45BB-B996-B3E03B152DBB",
       "state" : "Shutdown"
     },
     "phone" : {
       "name" : "iPhone 7",
       "udid" : "79DFD9D6-F3DE-423D-BD91-1F744829A7A1",
       "state" : "Shutdown"
     },
     "state" : "(unavailable)"
   },
   "58338B1C-C2CD-4A79-A8E0-EA8ACE040DB0" : {
     "watch" : {
       "name" : "Apple Watch Series 4 - 40mm",
       "udid" : "6807E3E7-4376-4086-8DC0-A856396EAD98",
       "state" : "Shutdown"
     },
     "phone" : {
       "name" : "iPhone XS",
       "udid" : "D13B0563-6669-4F9A-8765-78C28081E4F0",
       "state" : "Shutdown"
     },
     "state" : "(active, disconnected)"
   },
   "D5FFD62E-E1E4-4703-8CC1-B20511C6B004" : {
     "watch" : {
       "name" : "Apple Watch Series 4 - 44mm",
       "udid" : "D1D40083-C933-4A69-BD13-A349289E339A",
       "state" : "Shutdown"
     },
     "phone" : {
       "name" : "iPhone XS Max",
       "udid" : "2886032D-D635-4DB4-B077-D8B1A586A799",
       "state" : "Shutdown"
     },
     "state" : "(active, disconnected)"
   }
 }
}

detox[26206] DEBUG: [exec.js/EXEC_CMD, #1] applesimutils --list --byType "iPhone 7 Plus" --byOS "12.1"
detox[26206] DEBUG: [exec.js/EXEC_TRY, #1] Searching for device matching iPhone 7 Plus...
detox[26206] TRACE: [exec.js/EXEC_SUCCESS, #1] [
 {
   "availabilityError" : "",
   "os" : {
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime",
     "availabilityError" : "",
     "buildversion" : "16B91",
     "availability" : "(available)",
     "isAvailable" : true,
     "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-12-1",
     "version" : "12.1",
     "name" : "iOS 12.1"
   },
   "availability" : "(available)",
   "deviceType" : {
     "name" : "iPhone 7 Plus",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 7 Plus.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus"
   },
   "udid" : "E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9",
   "isAvailable" : true,
   "state" : "Booted",
   "name" : "iPhone 7 Plus"
 }
]

detox[26206] DEBUG: [exec.js/EXEC_CMD, #2] applesimutils --list --byId "E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9"
detox[26206] TRACE: [exec.js/EXEC_SUCCESS, #2] [
 {
   "availabilityError" : "",
   "os" : {
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime",
     "availabilityError" : "",
     "buildversion" : "16B91",
     "availability" : "(available)",
     "isAvailable" : true,
     "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-12-1",
     "version" : "12.1",
     "name" : "iOS 12.1"
   },
   "availability" : "(available)",
   "deviceType" : {
     "name" : "iPhone 7 Plus",
     "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 7 Plus.simdevicetype",
     "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus"
   },
   "udid" : "E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9",
   "isAvailable" : true,
   "state" : "Booted",
   "name" : "iPhone 7 Plus"
 }
]

detox[26206] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBootDevice({ coldBoot: false,
 deviceId: 'E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9' })
detox[26206] DEBUG: [exec.js/EXEC_CMD, #3] /usr/bin/xcrun simctl uninstall E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9 org.ektacoas.compucash
detox[26206] DEBUG: [exec.js/EXEC_TRY, #3] Uninstalling org.ektacoas.compucash...
detox[26206] TRACE: [exec.js/EXEC_SUCCESS, #3] 
detox[26206] DEBUG: [exec.js/EXEC_SUCCESS, #3] org.ektacoas.compucash uninstalled
detox[26206] DEBUG: [exec.js/EXEC_CMD, #4] /usr/bin/xcrun simctl install E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9 "/Users/kevin/Documents/Projects/Cashpoint_Native/ios/build/Build/Products/Debug-iphonesimulator/Cashpoint_Native.app"
detox[26206] DEBUG: [exec.js/EXEC_TRY, #4] Installing /Users/kevin/Documents/Projects/Cashpoint_Native/ios/build/Build/Products/Debug-iphonesimulator/Cashpoint_Native.app...
detox[26206] DEBUG: [exec.js/EXEC_TRY, #4] Installing /Users/kevin/Documents/Projects/Cashpoint_Native/ios/build/Build/Products/Debug-iphonesimulator/Cashpoint_Native.app...
detox[26206] TRACE: [exec.js/EXEC_SUCCESS, #4] 
detox[26206] DEBUG: [exec.js/EXEC_SUCCESS, #4] /Users/kevin/Documents/Projects/Cashpoint_Native/ios/build/Build/Products/Debug-iphonesimulator/Cashpoint_Native.app installed
detox[26206] DEBUG: [exec.js/EXEC_CMD, #5] /usr/bin/xcrun simctl terminate E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9 org.ektacoas.compucash
detox[26206] DEBUG: [exec.js/EXEC_TRY, #5] Terminating org.ektacoas.compucash...
detox[26206] TRACE: [exec.js/EXEC_SUCCESS, #5] 
detox[26206] DEBUG: [exec.js/EXEC_SUCCESS, #5] org.ektacoas.compucash terminated
detox[26206] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBeforeLaunchApp({ bundleId: 'org.ektacoas.compucash',
 deviceId: 'E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9',
 launchArgs:
  { '-detoxServer': 'ws://localhost:61034',
    '-detoxSessionId': '25e55649-cee7-2f75-da36-2913bf191f0b' } })
detox[26206] DEBUG: [exec.js/EXEC_CMD, #6] /bin/cat /dev/null >/Users/kevin/Library/Developer/CoreSimulator/Devices/E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9/data/tmp/detox.last_launch_app_log.out 2>/Users/kevin/Library/Developer/CoreSimulator/Devices/E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9/data/tmp/detox.last_launch_app_log.err && SIMCTL_CHILD_DYLD_INSERT_LIBRARIES="/Users/kevin/Library/Detox/ios/5ddd01666c07232c0f366bb55c2414bf13a63a74/Detox.framework/Detox" /usr/bin/xcrun simctl launch --stdout=/tmp/detox.last_launch_app_log.out --stderr=/tmp/detox.last_launch_app_log.err E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9 org.ektacoas.compucash --args -detoxServer ws://localhost:61034 -detoxSessionId 25e55649-cee7-2f75-da36-2913bf191f0b
detox[26206] DEBUG: [exec.js/EXEC_TRY, #6] Launching org.ektacoas.compucash...
detox[26206] TRACE: [exec.js/EXEC_SUCCESS, #6] org.ektacoas.compucash: 26244

detox[26206] DEBUG: [exec.js/EXEC_SUCCESS, #6] org.ektacoas.compucash launched. The stdout and stderr logs were recreated, you can watch them with:
       tail -F /Users/kevin/Library/Developer/CoreSimulator/Devices/E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9/data/tmp/detox.last_launch_app_log.{out,err}
detox[26244] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onLaunchApp({ bundleId: 'org.ektacoas.compucash',
 deviceId: 'E0315A4A-CFAB-47E0-B7A0-891FE72F1AE9',
 launchArgs:
  { '-detoxServer': 'ws://localhost:61034',
    '-detoxSessionId': '25e55649-cee7-2f75-da36-2913bf191f0b' },
 pid: 26244 })
detox[26206] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"isReady","params":{},"messageId":-1000}
detox[26206] TRACE: [DetoxServer.js/MESSAGE] role=tester action=isReady (sessionId=25e55649-cee7-2f75-da36-2913bf191f0b)
detox[26206] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=25e55649-cee7-2f75-da36-2913bf191f0b)

then it timeOuts
@KevinGulj
Copy link
Author

I also tried disabling all of the setTimeOut methods in my app, as mentioned in some other similiar issue, but it had no effects. When starting the metro bundler before running tests, it also does not start loading JS.

@LeoNatan
Copy link
Contributor

What is the crash? I don't see a crash stack trace in the logs you posted.

@LeoNatan
Copy link
Contributor

In the future, please use Stack Overflow for usage questions. Once you have all the information and still think it's a Detox issue, only then open an issue here.

@KevinGulj
Copy link
Author

Thanks for responding.
There is no crash in the Detox part, it just stops at CANNOT_FORWARD.
The app does not also really crash, but just closes after about 5 seconds after Detox installing and launching the app.
I have been looking for a solution for a week now (also from StackOverflow). I can't find a single error message from the macOS console or anywhere else so I don't know where to start debugging it.

@LeoNatan
Copy link
Contributor

Try following https://github.com/wix/Detox/blob/master/docs/Guide.DebuggingInXcode.md and see if something appears in Xcode.

@KevinGulj
Copy link
Author

KevinGulj commented Nov 19, 2018

I am not sure what I do differently now, but after messing around with the detox server without result and finally reverting back to my initial state, it now load JS when running "detox test" and can detect simple testID's. Most tests deeper into the app still hang for some reason. But that's probably a different problem.
Thank you for the help @LeoNatan :)

@LeoNatan
Copy link
Contributor

Strange. Thanks for letting us know.

@KevinGulj
Copy link
Author

One of the biggest and main problems must have been that on my landing page, I have a fading background (using https://github.com/chagasaway/react-native-fading-slides) which is done with the Animated library, and this hangs the detox tests completely. When I remove it, then everything works.
It is mentioned here #1008

@lock lock bot locked as resolved and limited conversation to collaborators Nov 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants