Simplified App Signing with Secure Files in Visual Studio Team Services

JingletonJingleton DEForum Administrator, Xamarin Team, Insider, University, Developer Group Leader Xamurai
edited November 2017 in Xamarin Blog

@JamesMontemagno just posted a blog about simplifying app signing with secure siles in Visual Studio Team Services.

Read it HERE. Feel free to comment and discuss below :)


  • MarkDownesMarkDownes USUniversity ✭✭

    Can both the Android and iOS apps be built using the 'Hosted' agent queue?

  • JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

    There are currently PC and Linux hosted agents.

    You can install an agent on any Mac though locally or you can use mac in cloud:

  • ColinDabritzColinDabritz USUniversity ✭✭
    edited December 2017

    @JamesMontemagno - We're trying to put this into practice and switch to the new hosted mac agents.

    Both the cert install and provisioning profile installs steps both run without issue and appear to work correctly from what I see in the logs.

    The error we end up with is familiar, no valid iOS code signing keys:

    /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(606,3): error : No valid iOS code signing keys found in keychain. You need to request a codesigning certificate from [/Users/vsts/agent/2.126.0/work/1/s/App/Field.Mobile/Field.Mobile.iOS/Field.Mobile.iOS.csproj]

    To double check, we should be using only production certificates, with passphrases of course, and downloading the production provisioning profile from the apple developer portal.

    What next steps would you recommend for troubleshooting this build on a hosted mac agent?

Sign In or Register to comment.