40 likes | 232 Views
Continuous Integration for Xamarin. Jim Zimmerman Current: Director of Mobile at Solavei Past: ASP.NET MVP, Azure MVP, Facebook PMD. Steps to Get Started. Download TeamCity for free for your mac http://www.jetbrains.com/teamcity / Cd /Library/ TeamCity /bin ./ runAll.sh start
E N D
Continuous Integration for Xamarin Jim Zimmerman Current: Director of Mobile at Solavei Past: ASP.NET MVP, Azure MVP, Facebook PMD
Steps to Get Started • Download TeamCity for free for your mac • http://www.jetbrains.com/teamcity/ • Cd /Library/TeamCity/bin • ./runAll.shstart • Open Browser to http://localhost:8111/ • Download provisioning profiles from Apple • Create a project and add your source control credentials
Command Line Scripts • Use command line scripts for builds • Easier and more extendable • Compile and Build • '/Applications/XamarinStudio.app/Contents/MacOS/mdtool' -v build '--configuration:Ad-Hoc|iPhone' AddressBook.sln • Need to compile sln, not cproj • Zip up Provisioning Profile for TestFlight • zip -r AddressBook.Touch/bin/iPhone/Ad-Hoc/AddressBookTouch.app.dSYM.zipAddressBook.Touch/bin/iPhone/Ad-Hoc/AddressBookTouch.app.dSYM • Upload To TestFlight • curl http://testflightapp.com/api/builds.json -F file=@AddressBook.Touch/bin/iPhone/Ad-Hoc/AddressBookTouch-1.0.ipa
Issues • TestFlight no longer supports Android • Alternatives • HockeyApp • Google Play – beta-testing and staged rollouts • Getting certificates and provisioning certficates set up on mac mini is a pain