> For the complete documentation index, see [llms.txt](https://docs.truvera.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.truvera.io/credential-wallet/white-label-wallet/publishing-in-app-stores/ios-build-testing-and-publishing.md). Agents can also search and read this documentation through its [MCP server](https://docs.truvera.io/~gitbook/mcp).

# iOS build testing and publishing

## Configuration phase

1. When the customizations are done and repository updated create a Pull Request (PR)
2. Truvera will review and merge the PR into the master branch. That will trigger a new build. This will usually take \~1 business day.
3. A new release will be created in the distribution repository

* release name will be: wallet-version + wallet-build-number e.g: **v0.4.5\_build-523**
* If only minor changes are made on the whitelabel wallet they will be uploaded to an existing release instead of creating a new one to keep consistency with the Truvera Wallet.

4. Assets will be uploaded to the release in the ../releases

## Testing phase

1. Download the .ipa from the Github release
2. Upload the .ipa to App Store Connect (Testflight)

   * A developer will need to run the following command line to upload the .ipa to Testfilight

   ```
   xcrun altool --upload-app -f ./DockApp.ipa -t ios -u "app-store-connect@email.com" --verbose
   ```

   * Once the upload finished, the app will be available in the Testflight UI iOS builds

   <div align="left"><figure><img src="https://815575130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWRMhdRsPkUzlSqCYzbgF%2Fuploads%2Fgit-blob-ca30861641e251f9c5dd80411aa3486aa183591d%2FTestflight.png?alt=media" alt="" width="375"><figcaption></figcaption></figure></div>
3. Add internal testers in Testflight
4. Testers will need to install Testflight, and accept an invitation sent via email
5. The app will be available in Testflight for testing. [More details from Apple](https://testflight.apple.com/)

## Publishing phase

1. Navigate to the App Store connect
2. Add new iOS App

<div align="left"><figure><img src="https://815575130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWRMhdRsPkUzlSqCYzbgF%2Fuploads%2Fgit-blob-2b307519e26d91513dab383e8f15dc5bd878e6f2%2Fadd_ios_app.png?alt=media" alt="" width="375"><figcaption></figcaption></figure></div>

3. Set the version number. Make sure to match the version number to the wallet version number e.g. **0.4.5**

<figure><img src="https://815575130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWRMhdRsPkUzlSqCYzbgF%2Fuploads%2Fgit-blob-1910151334d97bc30a825d5063abe91c172e2e4d%2Fadd_version_number.png?alt=media" alt=""><figcaption></figcaption></figure>

ℹ️ To ease the review process we suggest adding a comment in the App Review section:

*To import an existing wallet you can use the json file provided. First need to unzip the file and select the json in the wallet, the password is !@1Dock321*

To get a json of your wallet, Install the wallet .apk on an Android phone -> Import a credential -> Generate a wallet backup using the password provided

4. Navigate to the Build section, and click on add build. Make sure to select the build number that was tested

<figure><img src="https://815575130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWRMhdRsPkUzlSqCYzbgF%2Fuploads%2Fgit-blob-d339330a4eb5400a1498d262536f7e475bcb8203%2Fadd_build.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Save, and add the app to review


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.truvera.io/credential-wallet/white-label-wallet/publishing-in-app-stores/ios-build-testing-and-publishing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
