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.

Unable to launch app in real device with no errors(ios)

See original GitHub issue

Hello, I have an issue with running app on real device.

Building app on simulator seems to work fine react-native run-ios and building from .xcworkspace has no problem.

HOWEVER

running on real device (iPhone 8+) has problem. Every time I try to build inside on my real device either through Xcode or terminal, build succeeded, but then app launches in the device, it crashes just after splash screen.

Through Xcode, It throws only “unable to launch {bundle identifier}” with no errors.

Here is what I did to fix the problem

  1. I tried to fix this problem by rebooting both of my laptop and phone.
  2. I unchecked Debug executable in Product -> Scheme -> Edit Scheme.
  3. I did all my signings (Provisioning Profile and Signing Certificate) again.
  4. I changed Build System to Legacy…
  5. I tried to build app with Release mode

Please help!!

React Native version:

System:
    OS: macOS 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
    Memory: 457.54 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.15.0 - /usr/local/bin/node
    Yarn: 1.15.2 - /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.4, macOS 10.14, tvOS 12.4, watchOS 5.3
  IDEs:
    Android Studio: 3.3 AI-182.5107.16.33.5314842
    Xcode: 10.3/10G8 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6 
    react-native: 0.60.4 => 0.60.4 
  npmGlobalPackages:
    react-native-cli: 2.0.1
    react-native-git-upgrade: 0.2.7

buildsucceed

unabletolaunch

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

1reaction
sogangCSmastercommented, Sep 2, 2019

Hi guys… I was able to fix this, but not sure the real reason… I fix it by creating a new project with react-native 0.60.5 Copied my codes and modules… I think version 0.60.5 has no problem.

0reactions
schoenblcommented, Dec 31, 2019

I’m still having this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

error: failed to launch app -- iPh… | Apple Developer Forums
The only workaround I have found is locking the device, running the debugger, letting it wait for about 1 minute, then unlocking the...
Read more >
Xcode Unable to launch app on real device - Stack Overflow
I am trying to run my Xcode project (exported from Unity directly) on my iphone. The project was installed on the device successfully...
Read more >
Unable to launch application successfully on real iOS device
When I am executing tests on simulator its working fine but when I am trying to launch app on a real device it...
Read more >
Troubleshoot known issues with Android Emulator
This page lists known issues, workarounds, and troubleshooting tips for the Android Emulator. If you encounter an issue not listed here or ...
Read more >
Unable to start application real ios device - Katalon Community
It seems like there is an issue with the appium XCUITest driver. What version of appium are you using and are you able...
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 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