Watchman is a useful framework to utilize when developing both Android and iOS apps. Projects can be easily started within IDE's such as Visual Studio Code, Xcode, and IntelliJ.
MacinCloud's Managed Server Plan can be conveniently used with Watchman, as we preinstall Watchman, Cocoapods, and Xcode on every server. Use Watchman with a Mac Server by obtaining a Managed Server Plan to quickly get started!
Getting Started with Watchman
- Initiate a new Watchman project with the command below or import a existing project:
npx react-native init <project_name>
- If asked to install Cocoapods, like the quote below, type "y".
** Do you want to install Cocoapods now?** (Only needed if you run your project directly in Xcode) y/N Note
- Launch Xcode.
- Open existing .xcodeproj file by navigating to "Open Existing Project" on the Xcode main menu.
- On the Menu Bar, click on Product, then select "Build" or use "cmd + B" to build your project.
- Launch your desired simulator with the following steps below:
- On the Menu Bar, select "Xcode".
- Hover over "Open Developer tool".
- Click on, "Simulator".
- On your Mac dock, right click on the simulator app.
- Hover over, "Device".
- Select OS Version and Device type.
- Once the simulator is fully loaded, click "Run" in the main Xcode window. Once your application is loaded into the simulators, your application will automatically open.