Builds
Create the iOS and Android simulator builds Sherlo tests, using EAS Build, the React Native CLI, or native build tools.
Make your builds testable
To test your app, your builds must:
- include Storybook, with setup completed
- be runnable on simulators (Android:
.apk, iOS:.app)
Choose a build for your testing method
Select a build type based on your chosen testing method:
- Preview simulator
- Development simulator
Description
These builds include the JavaScript bundle, containing all the code needed to run the app.
Compatible testing methods
StandardEAS Cloud Build Build profile Add the following build profile to your Build commands Run these commands to build your app locally: Android iOS EAS Build compresses iOS builds ( Build command Run this command to build your app on Expo servers: Use the Requires exposed Build commands Run these commands to build your app: Android iOS Requires exposed Build commands Run these commands to build your app: Android iOSHow to build?
eas.json:builds/android.apkbuilds/ios.tar.gz.app) into .tar.gz files.--platform option to select only the platforms you plan to test.android/ and ios/ directories with native code.android/app/build/outputs/apk/release/app-release.apkios/app/Build/Products/Release-iphonesimulator/YourApp.appandroid/ and ios/ directories with native code.android/app/build/outputs/apk/release/app-release.apkios/app/Build/Products/Release-iphonesimulator/YourApp.app
Pass build paths via --android/--ios flags or sherlo.config.json
(For EAS Cloud Build, builds are passed automatically)
Description
These builds exclude the JavaScript bundle, allowing dynamic over-the-air (OTA) code loading at runtime.
Compatible testing methods
EAS Update Build profile Add the following build profile to your Build commands Run these commands to build your app locally: Android iOS EAS Build compresses iOS builds ( Build command Run this command to build your app on Expo servers: Use the Requires exposed Build commands Run these commands to build your app: Android iOS Requires exposed Build commands Run these commands to build your app: Android iOSHow to build?
eas.json:builds/android.apkbuilds/ios.tar.gz.app) into .tar.gz files.--platform option to select only the platforms you plan to test.android/ and ios/ directories with native code.android/app/build/outputs/apk/debug/app-debug.apkios/app/Build/Products/Debug-iphonesimulator/YourApp.appandroid/ and ios/ directories with native code.android/app/build/outputs/apk/debug/app-debug.apkios/app/Build/Products/Debug-iphonesimulator/YourApp.app
Pass build paths via --android/--ios flags or sherlo.config.json