![]() We can access all the available options using the help command $ xcrun simctl help ![]() Again it’s another utility poorly documented by Apple but we can find binary at /Applications/Xcode.app/Contents/Developer/usr/bin/simctl and we can use it with xcrun utility. It’s very similar to the adb for Android. Collecting the simulator logs and other tricksĪpple has ‘simctl’ binary to interact with iOS simulators from command line.Capturing screenshot and record video of simulator.Installing/Uninstalling, launching/Terminating app inside simulator.Creating, Deleting and Booting Simulators. ![]() ![]() In this post, let’s see how to use ‘simctl’ to interact with iOS simulators. Fortunately, Apple has nice command line utility called “simctl”. ![]() Apple’s documentation on getting started in simulator is awesome and we can learn almost everything about controlling simulators from using graphical user interface.Īlthough, simulators are easy to use with GUI, it’s bit painful to script simulator interactions to run on Continuous Integration server. It’s the quick and easy way to test app while development as we can interact with iOS simulators using GUI. While developing iOS apps, simulators are the best friends of developers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |