how to build ios app

goldpickergoldpicker xin nieCNMember

I with to auto build ad-hoc ipa and appstore file

I wish can use command tools to compile and build Ad-Hoc ipa file and appstore file.

I search the doc in xamarin.com, but not fund any help.

Can any one give me a detail : How to do it?

Best Answer

Answers

  • prashantvcprashantvc Prashant Cholachagudda USXamarin Team, Insider, Beta Xamurai

    The App Distribution Overview documentations covers the compiling and distributing Ad-Hoc IPAs
    http://docs.xamarin.com/guides/ios/deployment,_testing,_and_metrics/app_distribution_overview

    Hope it helps

  • goldpickergoldpicker xin nie CNMember

    I ask how to do it use command, I Wish to do it auto.

  • goldpickergoldpicker xin nie CNMember

    @john
    Yes,This is what I mean.

    I want to see a document like here
    http://docs.xamarin.com/guides/android/advanced_topics/build_process

    Complete description of the IOS release process, compile exe app ipa
    How about in.........

    this is why I buy a business version.

  • JohnMillerJohnMiller John Miller USForum Administrator, Xamarin Team Xamurai
    edited May 2013

    @goldpicker

    Do you have further questions, or have you found all the documents you need?

    If you have further questions, it might help for you to answer these questions first:

    I have seen talk from others on the forums that they use Jenkins to create a build server for their app building (http://jenkins-ci.org).

  • goldpickergoldpicker xin nie CNMember

    @john

    yes, I plan to use jenkins server to auto build ipa if I can.

    I have a slave node in mac.

    So I need know how to complete ths build and package ipa (ad-hoc or appstore) in command(shell)

    many thanks!

  • jpotts18jpotts18 Jeff Potter USMember

    @goldpicker. I am building an Jenkins build server on my macbook too. I first looked into making it build from the command line with mtouch like @John suggested but I ran into some trouble with that and found mdtool which bundles a lot of lower level commands like mtouch.

    mdtool does the following

    1. executes Mono C# compiler msc. This performs the main compiliation

    2. Interface builder ibtool which compiles the interface definitions.

    3. Copies the content files and prepares directories

    4. Prepares the images by using pngcrush

    5. Mtouch which compiles to native code.

    6. Finally, mdtool updates the application manifest, debug configuration file, and settings manifest.

    I think all that is left is to execute codesign which will sign the package and allow me to use it on all my provisioned devices.

  • MatsAndreassenMatsAndreassen Mats Andreassen USMember

    I've also been trying to auto-build IPA from the command line to use with our CI server.

    Here's my attempt:

    I've created an MSBuild target: http://pastebin.com/umqi4xft

    When I run it, it fails like this:

    _BuildNativeApplication:
    Saying hello to the remote server at http://192.168.111.39:50018/
    C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(233,3): error : Unable to connect to the remote server
    C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(233,3): error : Server command 'Info': information about server not available
    C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(233,3): error : Command execution task ended with exception
    C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(233,3): error : Exception System.Net.WebException: Unable to connect to the remote server
    C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(233,3): error : Exception details can be found in the log file
    C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(233,3): error : Remote build step failed.

    Can anyone help? And where is this log file it talks about?

Sign In or Register to comment.