πŸ”ƒUploading a Build File

To upload build files to GPT Driver, please ensure the following build requirements are met:

Android

For Android, upload the .apk containing your app.

After your app is built, either via Android Studio or by running the command ./gradlew assembleDebug in your project directory, look in:

<project-name>/<app-module-name>/build/outputs/apk/

iOS

For iOS, upload a .zip or .tar.gz file containing your compressed .app bundle.

Your .app bundle must represent a iOS Simulator build of your app. A simulator build can be run in the iOS Simulator via Xcode. This is different than a IPA file, which is compiled for ARM architecture CPUs and can only be run on physical iOS devices.

One way to get the iOS Simulator build is to run your app in an iOS Simulator, and then to find the file that is automatically generated. After running in the iOS Simulator via Xcode, look in:

~/Library/Developer/Xcode/DerivedData/<project-name>/Build/Products/Debug-iphonesimulator/

You may also generate the iOS Simulator build of your app by building it directly via the command line using xcodebuild.

If you have a .xcodeproj file, you may run:

xcodebuild -sdk iphonesimulator

If you have a .xcworkspace file, you may run:

xcodebuild -sdk iphonesimulator -workspace <your_workspace_name>.xcworkspace/ -scheme <your-scheme> -configuration Debug.

In order to get the name of your Scheme, you may run:

xcodebuild -list -workspace <your_workspace_name>.xcworkspace

Once the build command completes successfully, you may then zip the .app bundle found in:

build/Debug-iphonesimulator/

Manual Upload of a Build File

Starting from the main page (Tests Overview), head over to the Builds section.

Choose the Upload Build button located in the top right of the screen. Navigate to and select the relevant build file. After a successful file upload, the last uploaded file will be reflected at the top of the Builds list.

CI/CD Integrated Upload Options

Please refer to the following documentation for uploading a new build.

Deleting a Build

Please see here for details.

Last updated