0

We are in process of creating CI builds for iOS apps using Azure DevOps.

I am following this link, to create build definitions. Could anyone guide me on how to build iOS apps with extensions in Azure DevOps

During our research, we did come across Visual Studio app center as an option, are there any other tools or add-ons to achieve the same.

Santhosh
  • 671
  • 12
  • 36

2 Answers2

-1

Building iOS apps with an extension is not supported by default iOS build task provided by Azure DevOps.

The workaround is to create a shell script to build an iOS app by passing the extension app name as a parameter.

Santhosh
  • 671
  • 12
  • 36
-1

Unfortunately, there is not a straight forward way for the iOS application with App extension in Azure. The only way to create CI for such an application is the command line.

  1. To make it work you'll have to do a couple of changes in the project that are recommended on this link.
  2. Afterward, you'll be able to build and archive the application using xcodebuild Docs. because you'll have a variable pointing to each provisioning profile.
  3. On your MAC try xocdebuild command in the terminal and note down the full commands to achieve a specific file.
  4. Use CmdLine@2 task in the pipeline with these commands to build, archive & export your IPA.

Note: I have posted a Gist covering the pipeline for such an iOS application.

The full explanation to create a CI for iOS application with App extension within Azure DevOps is shared on a similar thread. Kindly check the solution I have posted there.

Hopefully, it will work!

Shakaib
  • 59
  • 9