1

I'm working on react native, but the problem is that it keeps generating old build and any changes in the code doesn't reflect on my app anymore I've tried all possible solutions but nothing works for me. Can anyone knows the solution.

react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios/assets this command produces me this error which is in picture

enter image description here

1 Answers1

0

You'll need to give your RN version, and a little more specification on what changes you are making in your code.

I have added a reference of a similar question. React native is stuck at old version app

liqiankl
  • 1
  • 5
  • Im trying to change bg color but this doesn't reflect on my app – Shafay Azeem Mar 09 '22 at 12:40
  • There are many way to add bg color. You need to be more clear with your doubts. . Reference from the docs : https://reactnative.dev/docs/style – liqiankl Mar 09 '22 at 12:58
  • yeah i know but any changes in my code doesn't reflect on my app so what should i do know. my code generating the old apk not the updated one. – Shafay Azeem Mar 10 '22 at 05:43
  • My react native is stuck at old version of app – Shafay Azeem Mar 10 '22 at 07:38
  • You will have to re-bundle your project assets but seems like you don't have permission to run the script you are trying. Change your admin permission or directly build it from xcode – liqiankl Mar 10 '22 at 09:43