Appium : Step by step Native IOS App Automation - Part 2 (Xcode)



In this Part 2, we are learning about Xcode usage like - building a project, running an application on iOS Simulator.

As you know Xcode is IDE provided for Apple software development. Once you build your project, you can deploy your app on Simulator. 

Now we start with creating a project in Xcode. Since we will be working with Sample IOS Application (UICatalog) which can be downloaded from link provided in Part 1


1. Once you download UICatalog Sample Code, go to the folder and click on UIKitCatalog.xcodeproj





2. It will open in Xcode and looks like this


3.Now on Xcode click on: Product -> Build for -> Testing and you will observe build Succeeded message

4. Again go to Product menu and click on Run, you will see iOS Simulator booting up.
 (Make sure to choose installed simulator on your Mac OS using - Product->Destination->IOS Simulator on Xcode)

5. You can see UIKitCatalog app installed on your iOS Simulator 

If you want to add more devices (iOS simulators), you can go to 

  On Xcode :  Window ->Devices , it will open a Devices Windows



You can go to bottom-left and click on + sign and add your simulator.

Hope this helps, click here for Part 1


Please stay tuned for Part 3, where you will learn running iOS simulator using command line etc.

No comments:

Post a Comment

πŸ””Announcement : Visit the new website/blog πŸ””

πŸ””πŸ””πŸ”” Announcement :  Visit the new website/blog πŸ””πŸ””πŸ”” Dear readers, Thank you for reading my blog. If you could have used the little info...