Run your iOS App with Xcode
By WebIntoApp.com on the 25/10/2020 | Related to Dedicated Apps |
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 for you 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 released this tool for the Mac OSs 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 way is less 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 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.
Here are the stages in order to compile and to run your iOS App under the simulator of the Xcode of your Mac.
Download and install the Xcode from the Mac App Store.
Download and extract your iOS App anywhere in your machine, for instance your Desktop.
Open the Terminal and redirect to your iOS App directory.
Now we need to install the CocoaPods. Type and enter:
#sudo gem install cocoapods -n /usr/local/bin
Now install the Google Firebase and the AdMob pods:
Open the directory of your iOS App with the Finder, then open the .xcworkspace file.
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.
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.
This example uses the Qrcode.Plus webapp which allows you to create a smart Qrcode lables.