[Xarmrin.ios] Using build Host to build IOS programs and debug on Windows

Source: Internet
Author: User

When using Xamarin to launch an iOS program,

You have to be able to edit the program on your Mac, and if you want to edit it on the Windows system, you can do it through the build host.

But there's a Mac computer that's XD.

First of all, your Mac has to be ready for Xamarin.

The following is using the visual Studio2010

Open Visual Studio and click

Tools → option →xamarin→ios Settings

Click Configue in the Mac build host on the right side.

Then it jumps out of the screen, where you move directly to the Mac that you want to be the build host,

Press Configure Host manually to enter the IP location or name of the Mac

When the input is complete, press OK, and the left key selects the build host item that you just created, and you start the connection,

See the Status:ready rep has been connected successfully.

If jumping out of this message means that the iOS SDK for this machine is different from the version on your Mac, the press is automatically updated.

After the update, you'll jump out of this message, and then you can turn Visual Studio off and back up and make sure.

Then you can start an iOS case and try

This is done directly using the range provided in the iOS case ~

Open a new case and choose Ios→helloworld Application.

The opening of the case is a little bit different from the Mac, and there are no xib files.

At this point, when you see the choice of devices, there are no devices to choose from, and it is necessary to switch the solution platform to the emulator.

Select the options → toolbars → customize

In the Customize Commands page, click the Tools column and select Standard.

Press the join command to select the build in the category, and then click OK on the right side of the scenario platform.

After you've set it up, you'll see a lot more options for the platform to choose from, select Iphonesimulator

The original devices place can be chosen.

Press to start the bug let him run to see ~

If executed successfully, the Iphonesimulator (emulator) on the Mac should automatically be called and execute.

Debug in the same way as before, directly added to the point can be debug.

References

References 2

[Xarmrin.ios] Using build Host to build IOS programs and debug on Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.