bamlab / react-native-make

A collection of everyday React Native CLI tools
MIT License
761 stars 87 forks source link

iOS does not update Splashscreen from Command line build #38

Open umeshiyer opened 4 years ago

umeshiyer commented 4 years ago

I have created some scripts that update Splash Screen Image with version number. Once this script runs I run "react-native set-splash" with the path set to the updated splash image. I see that Images.xcasset/SplashImage.imageset is updated with new Splash Images. However when I build iOS using "react-native run-ios" The app launches with the previous version of the Splash image Only to update is to open Xcode and Launch the workspace through that. Any steps we can do from command line (clean cache etc) that could help rectify this?

karimxpert commented 4 years ago

I have created some scripts that update Splash Screen Image with version number. Once this script runs I run "react-native set-splash" with the path set to the updated splash image. I see that Images.xcasset/SplashImage.imageset is updated with new Splash Images. However when I build iOS using "react-native run-ios" The app launches with the previous version of the Splash image Only to update is to open Xcode and Launch the workspace through that. Any steps we can do from command line (clean cache etc) that could help rectify this?

Same problem, any solution?