Skip to content

main.jsbundle does not exist. This must be a bug with #29356

@ivarchand

Description

@ivarchand

'error: File /Users/user/Library/Developer/Xcode/DerivedData/NewApp-fvicxnfjlfuonigoqscurptyhntn/Build/Products/Release-iphonesimulator/NewApp.app/main.jsbundle does not exist. This must be a bug with'

React Native version:

react-native info

warn Your project is using deprecated "rnpm" config that will stop working from next release. Please use a "react-native.config.js" file to configure the React Native CLI. Migration guide: https://github.com/react-native-community/cli/blob/master/docs/configuration.md
warn The following packages use deprecated "rnpm" config that will stop working from next release:

Binaries:
Node: 10.18.0 - /usr/local/opt/node@10/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.13.4 - /usr/local/opt/node@10/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman

SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 24, 25, 26, 27, 28
Build Tools: 25.0.0, 25.0.1, 25.0.2, 26.0.1, 26.0.2, 27.0.3, 28.0.0, 28.0.3, 29.0.2
System Images: android-23 | Intel x86 Atom_64, android-23 | Google APIs ARM EABI v7a, android-23 | Google APIs Intel x86 Atom_64, android-26 | Android TV Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom_64, android-26 | Google Play Intel x86 Atom, android-28 | Android TV Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64

IDEs:
Android Studio: 3.5 AI-191.8026.42.35.6010548
Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild

npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.1 => 0.61.1

npmGlobalPackages:
react-native-cli: 2.0.1
react-native-log-ios: 1.5.0

Steps To Reproduce

issue:
'error: File /Users/user/Library/Developer/Xcode/DerivedData/NewApp-fvicxnfjlfuonigoqscurptyhntn/Build/Products/Release-iphonesimulator/NewApp.app/main.jsbundle does not exist. This must be a bug with'

Provide a detailed list of steps that reproduce the issue.

  1. running the app in debug mode i.e., product -> Edit Scheme -> Debug -> Debug Executable enabled - works fine.
  2. running the app release mode i.e., product -> Edit Scheme -> Release -> Debug Executable enabled - main.jsbundle does not exist. This must be a bug with

ways triaged to fix issue are below:

quit the currently running metro-bundler
quit the tsc compiler
quit xcode & simulator
sudo rm -rf node_modules
sudo yarn
applying permission Read & Write manually to node_modules & all of it's enclosed items
sudo watchman watch-del-all
sudo lsof -i :8081
sudo kill -9 processId
open ios/ProjectName.xcworkspace

But i have not reached any solution so far.
As i said before, on debug mode, it works fine, on release mode, throws the error and app did not launch

please help me out to fix this issue & go ahead

Thanks in Advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions