Run Ios App On Xcode
Open the directory of your ios app with the finder then open the xcworkspace file.
Run ios app on xcode. Xcode supports debugging testing and profiling your ios app natively on macs with apple silicon. However if you want to run your app in the ios simulator you will need to have xcode installed. You can also run ios and tvos apps on a wireless device if you pair the device with xcode.
To run the xcode project you can click the play run button on the top left corner or you can simply press command r. Make sure you select which specific device or simulator you want the app to run on since the generic ios device won t work. Now click the install button below the xcode icon.
Run the xcode project. For example you can pair an apple tv that s already on your network with xcode so it appears as a run destination in the toolbar. The xcode will open your ios app and will do some things in the background in order to run your app for the first time.
There might be a need to provide your apple id if you didn t enter it when configuring the macos virtual machine or re enter it if you did so. For watch only apps you can run the watchos app over the paired ios device. Then select your real iphone device under device menu.
Then in xcode click product destination menu item in the top menu bar. Once you have installed xcode via the app store open the xcode and the menu bar choose xcode preferences as follows. The tools that you would require to build an efficient application are all supported by the system software.
Then you can click the run button triangle button at top to run the app on the target iphone. Once the app has started type xcode in the search field located at the top right corner. That s it now you can click on the play button the xcode tool will open the iphone simulator and will run your ios app on it.