iOS release build Error loading local images and icon
See original GitHub issueAfter upgrading my RN version from 0.61.0 to 0.61.2 when i made a release build then it shows error saying that No bundle url present
. then i delete my main.jsBundle from xcode and create that file again using that command
react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios
after release build ‘No bundle Error’ gone but in my release build there is no local images or icon.
Note: ios simulator everything works fine.
React Native version:
CPU: (4) x64 Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz Memory: 4.19 GB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 12.15.0 - /usr/local/bin/node npm: 6.13.4 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2 IDEs: Xcode: 11.5/11E608c - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.2 => 0.61.2 npmGlobalPackages: react-native-cli: 2.0.1.
Steps To Reproduce
- In release build this issue happening
- After archiving, generate a .ipa file.
Expected Results
it must load all local images and icon
Snack, code example, screenshot, or link to a repository:
my ios folder in my root project
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8
Please check out my comment here: https://github.com/facebook/react-native/issues/29364#issuecomment-682276573
There are temporary work arounds to get images to load
That’s OK. A minimal code block or repo to reproduce the issue would be fine.