How to create valid .app or .zip archive for automating iOS with Appium? How to create valid .app or .zip archive for automating iOS with Appium? xcode xcode

How to create valid .app or .zip archive for automating iOS with Appium?


The easiest way I've found to make this work is to:

  1. Build and run the app for the simulator in xcode.
  2. Go to Products in the left-hand nav in Xcode and control-click (right-click) on YourApp.app and Select Show In Finder. (This is the .app you want to use)
  3. If you want a .zip just control-click (right-click) on the app and Select "Compress YourApp.app"


  1. Build you project.
  2. Click on the organizer icon (top right).
  3. Click on the arrow next the "Derived Data" directory (something like ~/Library/Developer/Xcode/DerivedData/YouApp-ajsnkjasngjkans).
  4. Finder will open in the derived data directory, go to /Build/Products/Debug-iphonesimulator.
  5. There is, you found your .app file. Point appium to it and enjoy.


Also you van build app in terminal:

xcodebuild VALID_ARCHS="i386" -sdk iphonesimulator -configuration your_configuration -target your_target