Before you can train and test against a build of your app locally or in the cloud, you need to export the simulator build or emulator build from your mobile development IDE:
- iOS apps: export your simulator build as a .app folder from Xcode
- Android apps: export your build as a .apk file from Android Studio
This article explains how to export iOS and Android builds for testing in mabl.
For best results, we recommend generating a build with notifications and pop-ups turned off.
iOS
To create an iOS build for testing in mabl, make sure the build scheme targets an arm64 iOS simulator. mabl cannot train against builds that target an iOS device.
Setting the build target to an iOS simulator
WebViews
If your app uses WebViews, make sure they are marked as inspectable. For example: if #available(iOS 16.4, *) {webView.isInspectable = true}
. Learn more.
After selecting a build scheme that targets an iOS simulator, choose Product > Build to build your application. The .app
file downloads to your local machine.
To locate your exported build on your computer, choose Product > Show Build Folder in Finder.
You are now ready to test your iOS build in mabl!
.ipa file types not supported
You must use a .app file to test iOS applications in mabl.
Android
When building an Android app in Android Studio, make sure the project is configured to build for emulator X86_64 ABI.
WebViews
If your app uses WebViews, make sure the javaScriptEnabled
web setting is set to true
. Learn more.
To export your build, click on Build > Build Bundle(s) / APK(s) > Build APK(s).
Exporting a .apk file from Android Studio
When the export is complete, click on the "Locate" popup in the bottom right corner to see the location of the .apk file on your computer.
Locate .apk location