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




  1. Initiate a new Watchman project with the command below or import a existing project: 
    npx react-native init <project_name>

  2. 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
  3. Launch Xcode. 
  4. Open existing .xcodeproj file by navigating to "Open Existing Project" on the Xcode main menu.
     

  5. On the Menu Bar, click on Product, then select "Build" or use "cmd + B" to build your project. 
  6. Launch your desired simulator with the following steps below:
    1. On the Menu Bar, select "Xcode".
    2. Hover over "Open Developer tool".
    3. Click on, "Simulator".
    4. On your Mac dock, right click on the simulator app.
    5. Hover over, "Device".
    6. Select OS Version and Device type. 
  7. 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.