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!


Setting Up A New Watchman Project


  1. Initiate a new Watchman project with the command below or import an existing project:
    npx react-native init <project_name>
  2. Install Cocoapods if prompted. When you see a message like:
    Do you want to install Cocoapods now? (Only needed if you run your project directly in Xcode) y/N

    Type "y" to install.


  3. Launch Xcode


  4. Open your project by navigating to "Open Existing Project" on the Xcode main menu and selecting your .xcodeproj file.

  5. Build your project by clicking on Product in the Menu Bar, then select "Build" or use "cmd + b". 

  6. Launch your desired simulator:
    • 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


  7. Run your application by clicking "Run" in the main Xcode window. Once your application loads into the simulator, it will automatically open.

If you are running into Watchman permissions issues review: Troubleshooting Watchman "Operation not permitted" Error on MacinCloud Servers 


Interested in MacinCloud Managed Servers?

Visit the Managed Server Plan page to obtain a Managed server.


Do you require full root/admin privileges on a MacinCloud Server?

Find out more about MacinCloud Dedicated Server Plans
.