Vs2015+xamarin uses C #. NET development of cross-platform app is completely feasible, the WP and UWP programs, are MS, there must be no problem.
For Android, it is straightforward to develop, deploy to simulators and real machines in vs.
For iOS programs, it's easier to use an emulator, as long as you have the VS and mac+xamarin configured, you can play it basically.
Then if the use of the iphone, ipad and other real machines there are more steps need to set up, this article is mainly for the iOS real-computer test settings are introduced for your reference.
iOS programs developed with VS2015 can use real-life testing for both iOS native and xamarin.forms.
Prerequisites:
1, has been configured VS2015 (with Xamarin), Mac Agent, the iphone and ipad on hand to do testing.
2, you need to have AppleID login (not necessarily a $99 developer account) and log in to Xcode. You need a Xamarin account to log in to Xamarin in VS and Mac.
Configuration start:
1, create a project overview:
Using VS to create a good solution such as, note that because of the mediation test for iOS and Android, you can unload the project winows and the UWP (which can be canceled when the project is created).
2. Locate the properties of the iOS project, such as the assembly name, and copy it down.
3, in Xcode to establish a program of the same name (type select sv,md,tabbed can), note the following bundle identifier is very important.
4, after creating a good project, in the project information such as see there is a warning "No matching provisioning profiles found", there is a "Fix Issue" button, click this button, wait to complete. For some information please confirm each. Write down the bundle identifier
5, after "Fix Issue" in the previous step, as shown in the page, just the warning message has been gone.
6, as shown, run the program, will be deployed to the real device, display information, please refer to. After the following message appears, check that the program is running on the device.
7, for example, in xcode/preferences ... /accouts page, in the lower left corner, find "View Details ..." and click.
8, after clicking on the "View Detail ... "appears as shown, click on" Download All "and finally click" Done ".
9, then go back to the iOS project information in VS, as shown in the tips, be sure to select the option in "Provisioning profile" that ends with the bundle identifier value in Xcode for the above steps. Repeat the experiment if it does not appear as shown in the figure.
10, as in, modify the value of the identifier entry to the bundle identifier value in the previous Xcode.
11, Setup complete, press Ctrl+f5 (currently to confirm that the iOS project is the startup item), wait one or two minutes, view iphone or ipad app has run up, indicating success. (This program overwrites the program originally deployed by Xcode)
enjoy! Happy Holidays!
The
VisualStudio2015 uses C #. NET development of iOS programs when you set up a reference for a true machine test