TeamCity Adds Guided iOS Delivery for Kotlin Multiplatform Projects

TeamCity Adds Guided iOS Delivery for Kotlin Multiplatform Projects

AI-generated editorial illustration; not a documentary photograph.

JetBrains has shipped a guided TeamCity integration for Kotlin Multiplatform developers building iOS apps. The workflow starts inside the IDE after an initial Git push and covers pipeline generation, remote builds and tests, TestFlight publishing, and automated builds triggered by subsequent pushes.

CI Setup Inside the IDE

The Kotlin Multiplatform plugin presents a Configure CI option after the developer pushes a project. TeamCity plugin installation is included in the same flow, reducing the need to leave the development environment to find documentation or configure CI/CD separately.

Hosted macOS Builds

The integration creates a TeamCity Cloud workspace and runs the first build on a hosted macOS agent, addressing the Mac infrastructure requirement for iOS compilation. JetBrains says TeamCity Cloud offers a free starting tier with a monthly build-minute allowance, although the source does not specify the allowance or later pricing.

Before that build starts, developers can review four generated local files: teamcity.yaml, Fastfile, Appfile, and Gemfile. They remain uncommitted while TeamCity builds and tests them remotely, leaving the developer to decide when to commit and push the pipeline configuration.

Signing and TestFlight

Publishing requires developers to provide App Store Connect API credentials, including the issuer ID, key ID and .p8 private key, along with the team ID, bundle ID and distribution certificate. TeamCity stores this material as secure deployment credentials and uses it to create a signed build for TestFlight.

Automation After Validation

Once the repository is connected, each GitHub push can start a hosted macOS build, run tests, sign the application and upload it to TestFlight. JetBrains says the design was refined through about 10 moderated usability sessions with Kotlin Multiplatform developers in June, including participants without prior CI/CD experience.

The workflow is intended specifically for Kotlin Multiplatform projects targeting iOS and depends on TeamCity Cloud, GitHub and Apple's publishing credentials. JetBrains has also added a configuration tutorial to its standard Kotlin Multiplatform publishing guides.

Source: Designing the Kotlin Multiplatform and TeamCity Integration

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *