In MAC computer Things are a bit different than Windows PC because when we develop apps in MAC using Xcode for iOS devices for react native than it’ll automatically starts the highest version iOS simulator. Which sometimes developer dose not required. There are almost 12 + iOS simulators devices available. So in Today’s tutorial we would learn about changing default iOS simulator device for react native and Run React Native Project on Specific iOS Simulator Device in MAC Example Tutorial.

Hey everyone, I recently got a macbook air and I'm really enjoying it. It's a really good computer and I would recommend it to anyone who is in the market fo. If you don’t own an iPhone or iPad, you may be looking for a way to experience the Apple magic. Whilst it is virtually impossible to run iPad and iPhone apps natively on Windows and Mac, there are some ways to get the same experience and features through the best iOS simulators/ emulators.

Contents in this project Run React Native Project on Specific iOS Simulator Device in MAC:

1. In React Native we would use react-nativerun-ios--simulator='Simulator Name' command to run react native project in specific iOS emulator device. In above command we have to pass the simulator name which shows at top of simulator. So first start your iOS simulator in MAC. In my case my iOS emulator device name is iPhone 5s with 12.1 version.

2. Open react native project folder in Terminal like i did in below screenshot.

3. Execute react-nativerun-ios--simulator='iPhone 5s' command. Here iPhone 5s is my simulator name. In your case here you should pass your simulator name. Now hit Enter.

4. It will take some time to compile the complete program. After few minutes your project will be successfully loaded in already opened simulator.

Run

Screenshot of iOS simulator after successfully running the project:

Here you go guys. Using this method you can easily run any react native project in MAC in specific iOS simulator device 🙂 .

Run iphone simulator on mac downloadRunRun Iphone Simulator On Mac

Also Read :


After you have successfully configured your development environment for iOS application development, you can run your Delphi iOS application on the iOS simulator as follows:

  1. Run the Platform Assistant on the Mac.
  2. In RAD Studio:
    1. On the Project Manager, expand the Target Platforms node and double-click the iOS Simulator target platform to activate that platform. The active target platform is displayed using a bold font.
    2. Expand the iOS Simulator node in the Project Manager, expand the Target node, and double-click a simulator node (iPad, iPhone or iPhone 5) to activate that simulator. The active simulator is displayed using a bold font.
    3. Run your application, either with debugging (Run > Run) or without debugging (Run > Run Without Debugging).

RAD Studio builds your application for the iOS Simulator, connects to your Mac using the connection profile you assigned to the iOS Simulator platform. The Platform Assistant running on the Mac launches your application on the iOS Simulator.

Note: RAD Studio might look frozen at some points until it launches your application on the iOS simulator, but it is just preparing to run your application.

The following message is displayed on the development system:

Ios Simulator For Mac

Go to your Mac, where you should see the iOS Simulator running.

How To Run Ios Simulator On Mac

Note: C++Builder does not support running iOS apps on the iOS Simulator, but does support Mobile Preview and the iOS Device.

Run Iphone Simulator On Mac Computer

See Also