1

I've been really enjoying using the Shoutem builder to create a starter template for React Native. However I want to use my own IDE (Deco IDE) to run a simulator locally and change the code.

However, after I "pull" my app from Shoutem via the CLI and run NPM install + react-native link the application won't compile for the simulator. If I use the command shoutem run the application will build and run perfectly, but this is not as convenient as having a simulator and being able to see the code as I change it.

Any help getting a shoutem app running locally in an simulator?

For anyone interested the error I am getting is: Print: Entry, ":CFBundleIdentifier", Does Not Exist

Robert
  • 23
  • 3

1 Answers1

0

There are 2 ways to run Shoutem app locally.

One way is the shoutem run command. It is designed to work with Shoutem Preview application which you can download from the Google play or the App store. It can be reloaded to see the changes you've made to the local code. This command bundles only the JS code using the packager. Doesn't build native.

Beside shoutem run there are shoutem run-ios and shoutem run-android commands to build and run an RN project for the platform you've chosen. This way you get fully functional RN application which can be debugged as any other RN app. Both the JS code and native are built.

Do not forget to link extensions you're working on by using shoutem link.

Mr Br
  • 3,831
  • 1
  • 20
  • 24