Run your iOS app

This tutorial will guide you to run your iOS App in your own Mac under the simulator of the Xcode tool.

Our App Maker will create a complete iOS App with navigation toolbar, the icons set for all the iPhone and the iPad versions, you can push notifications to your iOS App users and get the usage statistics of your App by using the Google Firebase service (FREE) and even earn money with the Google AdMob service.

In order to run your iOS App, Apple requires you to have a Mac computer with the Xcode tool installed on it. The Xcode is the primary development tool of Apple for developing applications for the Apple products. Unfortunately, Apple release this tool for the Mac PCs only and there is no legitimate way to install it on Windows / Linux PCs. You can install the Mac OS in a Virtual Machine (such as Virtualbox) under Windows or Linux OSs and then install the Xcode on it, but this is not recommended.

This tutorial will guide you to run your iOS App in your own Mac computer under the simulator of the Xcode tool.

In the related links section you will find a more useful information of how to use more advanced features of your iOS App, such as installing it on your iPhone or iPad device, push notifications to your App users and publish your App in the Apple App Store.

Requirements:
  1. A Mac computer
  2. macOS 10.14 Mojave
  3. Xcode 11


Here are the stages to compile and run your iOS App in your Mac under the simulator of the Xcode tool:
  1. Download and install the Xcode from the Mac App Store.


  2. Download and extract your iOS App anywhere in your machine, for instance your Desktop.

  3. Open the Terminal and redirect to your iOS App directory.

  4. Now we need to install the CocoaPods. Type and enter:
    #sudo gem install cocoapods

  5. Now install the Google Firebase and the AdMob pods:
    #sudo pod install

  6. Open the directory of your iOS App with the Finder, then open the .xcworkspace file.


  7. 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.


  8. 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.


  9. This example uses the Qrcode.Plus webapp which allows you to create a smart Qrcode lables.





Related Links:



Discussion: