Skip to content

Commit

Permalink
cloud doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
matzuk committed Jun 27, 2023
1 parent e55b0f0 commit f53795b
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions docs/docs/cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Note the relative paths of applications, as they will be required for running th
- Application: `/home/john/sample/build/Build/Products/Debug-iphonesimulator/sample.app`
- Test APK: `/home/john/sample/build/Build/Products/Debug-iphonesimulator/sampleUITests-Runner.app`

One important thing to note is that `*.app` files are actually folders in disguise. To transfer them, it's necessary to convert these bundles into standard zip archives:
One important thing to note is that `*.app` files are actually folders in disguise. To transfer them, it's necessary to convert these bundles into `.ipa` format or standard `zip` archives:

```shell
# file structure
Expand All @@ -69,6 +69,7 @@ One important thing to note is that `*.app` files are actually folders in disgui
# ...
# |--sample.xcodeproj
cd build/Build/Products/Debug-iphonesimulator
# convert to zip archive in this format
zip -r sample.zip sample.app
zip -r sampleUITests-Runner.zip sampleUITests-runner.app
```
Expand Down Expand Up @@ -142,19 +143,21 @@ Now you can start running your tests. Use the following command to execute the C

```shell
marathon-cloud \
-api_key api_key \
-apk sample.zip \
-testapk sampleUITests-Runner.zip
-api-key api_key \
-app sample.zip \
-testapp sampleUITests-Runner.zip \
-platform iOS
```

</TabItem>
<TabItem value="Android" label="Android">

```shell
marathon-cloud \
-api_key api_key \
-apk app.apk \
-testapk appTest.apk
-api-key api_key \
-app app.apk \
-testapk appTest.apk \
-platform Android
```

</TabItem>
Expand Down

0 comments on commit f53795b

Please sign in to comment.