Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

react-native iOS release build Error loading local images and icon

$
0
0

After 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.

after giving release build

#React-native version info:CPU: (4) x64 Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz Memory: 4.19 GB / 16.00 GBShell: 3.2.57 - /bin/bash Binaries:Node: 12.15.0 - /usr/local/bin/nodenpm: 6.13.4 - /usr/local/bin/npmWatchman: 4.9.0 - /usr/local/bin/watchmanSDKs: iOS SDK:Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2IDEs: Xcode: 11.5/11E608c - /usr/bin/xcodebuildnpmPackages: react: 16.9.0 => 16.9.0react-native: 0.61.2 => 0.61.2npmGlobalPackages: react-native-cli: 2.0.1.

Expected Results:enter image description here

#My ios folder in my root projectenter image description here


Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>