Configuring TeamCity for Xamarin.iOS Projects
In one of my previous blogs I explained
how to configure
TeamCity Build Agent on MAC, which is an essential
pre-requisite for setting up Teamcity for Xamarin.iOS
projects
Now as we
have it up and running, we can start setting up TeamCity for
Xamarin.iOS projects.
In this
blog I have tried to explain in simple steps the whole setup
process with an assumption that we have the code maintained as
a GIT repository and we have some
Nuget references as well.
Follow the below steps:
1. Create a
TeamCity Project
Under
Administration -> Projects choose the option
"Create Project".
Enter
basic project details and click on
Create.
2. Enter Project
Settings
- General
Settings: Under this save the default
setting as they appear.
- VCS
Roots: Under this click "Create
VCS root" and enter the details as given below.
-
Build
Configuration
With the
above configuration done, TeamCity will be able to fetch the
code.
The next
step is to add build configuration for building this
code.
Next add
below build steps.
Build Step
1: "Restore nuget packages"
Add this
build step to restore nuget dependencies.
Build Step
2: "Build"
Add this
build step to build the Xamarin.iOS project
Give
following as the "Custom Script"
/Applications/Xamarin\
Studio.app/Contents/MacOS/mdtool build
"--configuration:Release"
- Triggers
Add a new
trigger with the default trigger configurations
Lovely post
ReplyDeleteTeamCity is a constant coordination server intended to consequently run tests against a venture each time you roll out an improvement. You can Build TeamCity to consequently submit changes to variant control when your tests pass or convey your progressions to a remote domain.
ReplyDelete