question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debug a real device doesn't work, boots the app and freezes iOS 12.3

See original GitHub issue

Boot to a real device in debug mode doesn’t work, app freezes iOS 12.3

I have also tested this on a fresh install of react native and the issue still happens. When you build in Xcode 10.2.1 with the scheme set to the following (default)

Build Configuration: Debug Debug executable: ticked

The app will boot on to the device but not connect to the metro bundler. Then Metro bundler is there and boots up don’t change from this

Screenshot 2019-05-24 at 1 39 00 pm

When the app is installed on the device the splash screen shows and freezes. After about 3 / 5mins it will show you the first screen of the app it’s then frozen again. Finally, it crashes the app.

I have also built the app in Release and this is fine. Not really sure where to go from here?

React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
      Memory: 60.91 MB / 8.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.15.3 - /usr/local/bin/node
      Yarn: 1.16.0 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
      Android SDK:
        API Levels: 23, 26, 27, 28
        Build Tools: 28.0.3
        System Images: android-26 | Intel x86 Atom_64, android-27 | Intel x86 Atom_64, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 3.4 AI-183.6156.11.34.5522156
      Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3 
      react-native: 0.59.8 => 0.59.8 
    npmGlobalPackages:
      react-native-cli: 2.0.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:6

github_iconTop GitHub Comments

1reaction
legshampoocommented, May 28, 2019

seems the issue was because my laptop was hardwired via ethernet cable to the router, while the device on wifi.

Fixed issue by putting both devices on wifi

incidentally updated software in the process: macOS 10.14.5 iOS 12.3.1 Xcode 10.2.1

0reactions
ThomasLargecommented, Jul 3, 2019

Seems to be an issue with my internet as it’s custom

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debug a frozen app | Apple Developer Forums
A user says my distributed app is freezing up after a few seconds. I don't have access to his phone. I have no...
Read more >
XCode 12.3 constantly freezing? : r/iOSProgramming - Reddit
Impossible to code or debug on my device. 12.2 did not have this issue for me, and it only started occurring with 12.3....
Read more >
Get root on macOS 12.3.1: proof-of-concepts for Linus Henze's ...
On a M1 Mac Mini with macOS 12.3.1 and SIP enabled, running this spawn_root app will give you a root shell: zhuowei-mini:~ zhuowei$...
Read more >
2020-002 Update Causes Some Macs to Freeze When Using ...
Some Intel Only GPU Based Macs are Freezing Crashing Locking Up when using HW Accelerated Video or Conf Apps after installing the 2020-002...
Read more >
All Releases - checkra1n
Fixes A10 and A10X devices crashing when trying to jailbreak on iOS 14.3 or ... checkra1n does not currently work on Apple Silicon...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found