iOS
Last updated
Was this helpful?
Last updated
Was this helpful?
This all assumes you've got Xcode plus Simulator runtimes installed. If you haven't, and want to know how, we've made a video walkthrough:
Maestro currently supports iOS Simulator builds (.app), AppStore distribution device builds (.ipa) are not currently supported. The easiest way to get an app installed on the simulator is by building and running it from Xcode (make sure that simulator target is selected):
If you want to install the .app manually, the file can be found under the Products folder at Xcode Menu: Product -> Show Build Folder in Finder -> Then go to path Products/Debug-iphonesimulator
The .app file can then be installed on the simulator by simple dragging and dropping the file or via Xcode command line tools by running:
The .app file can be then found under /build folder
If you use Flutter to build your app you can create a debug build for simulators using the following command:
You can then find your app file in the build/ios/iphonesimulator/
directory.
Once you've got your .app file, installing it should be as simple as dragging and dropping it onto the running Simulator.
To build an app with Xcode command line tools xcrun xcodebuild should be used. Here is an example on how to build app for iOS simulator target:
If you use for your automation pipelines the script should look the following way: