- Download and install Xcode: Go to the Mac App Store and search for Xcode. Download and install the latest version of the app.
- Open Xcode: Once Xcode is installed, open it from your Applications folder.
- Create a new project: Once Xcode is open, select “Create a new Xcode project” from the Welcome to Xcode window.
- Select the iOS Simulator: From the template chooser, select “iOS” and then choose “Single View App”. Click “Next” to continue.
- Configure the project: Fill out the product name, organization name, and organization identifier fields. Select “Use SwiftUI” and “Include Unit Tests” and then click “Next”.
- Select a folder to save the project: Choose a location to save your project and click “Create”.
- Select the iOS Simulator: Once your project is created, select the iOS Simulator from the list of available devices.
- Run the project: Click the “Play” button to build and run the project on the iOS Simulator. The iOS Simulator will open and your app will launch.
- Install iOS apps on Simulator: You can install iOS apps on the simulator by going to the simulator’s menu and select “File” > “Open Developer Tool” > “iOS Simulator”.
Please note that, not all iOS apps will work perfectly on the simulator, and some may not work at all. Some apps may also require additional setup or configuration to work properly on the simulator.
Additionally, it’s worth to mention that running iOS apps on M1 Macs with Xcode’s Simulator app is only for development and testing purposes. It is not intended for daily use or as a replacement for an iOS device.