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

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

Closed
sogangCSmaster opened this issue Aug 22, 2019 · 8 comments
Closed

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

sogangCSmaster opened this issue Aug 22, 2019 · 8 comments
Labels
Bug Platform: iOS iOS applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@sogangCSmaster
Copy link

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

@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Aug 22, 2019
@innocces
Copy link

I have the same issue!everything is ok in debug, but archive for ipa is crash after splash

@ChrisC2
Copy link

ChrisC2 commented Aug 29, 2019

I'm running into the same exact issue as well. Build succeeds and crashes right after the splash screen without errors on my device. Runs fine on the simulator.

@alexandrecanuto
Copy link

Same here... Sometimes I'll reach the Downloading JavaScript bundle part, but it takes forever or hangs at around 40%.

@sogangCSmaster
Copy link
Author

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.

@schoenbl
Copy link

I just started to have the same issue.

@stale
Copy link

stale bot commented Dec 23, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 23, 2019
@stale
Copy link

stale bot commented Dec 30, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Dec 30, 2019
@schoenbl
Copy link

I'm still having this issue

@facebook facebook locked as resolved and limited conversation to collaborators Dec 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: iOS iOS applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

6 participants