Devolopping iOS apps with xamarin - xamarin.forms

i want to start a project that consist in mobile apps. can i develope native apps with Xamarin.Forms to the three platforms with a pc (Sony Vaio) and visual studio.

You can develop for Windows (Phone, or better yet Universal Windows Platforms Apps) and Android. They just work with Visual Studio.
If you want to build an iOS app as well, you are going to need a Mac. Building for iOS cannot be done without a Mac. There are a few options:
Buy a Mac laptop with a Windows VM; this is an option you see for most developers, however it is an expensive one because you're going to want a good MacBook Pro with a 1TB disk.
Buy a (cheap-ish) Mac (Mini); Xamarin is built so that you can let a standalone Mac machine do all the iOS building. All you have to do is install it with XCode and Xamarin, connect it to your network and you are ready to go. With the new Xamarin iOS Simulator for Windows you don't have to look at your Mac ever again. Let's be clear: the Simulator for Windows isn't a Simulator which runs on Windows. It simply mirrors the Simulator from your Mac.
Rent a Mac in the cloud. There are solutions like macincloud.com which let you rent a Mac hosted by them. They have different plans depending on your needs. The concept stays the same; you connect to a Mac in 'your network' (which is now over the internet) to build your iOS app.
Whichever option you choose; you are going to have to spend some extra money on Apple hardware to get to develop your iOS app.

Related

Is Windows-10-Qt-quick-QML code cross-compatible with IOS

If I am developing an application using Qt quick QML on windows 10, can I deploy my project and test it on an ios device? I have read this post Developing iOS app on Windows but it seems to be somewhat in conflict with what I have read. The chosen answer in that question says that you need a macOS to develop IOS applications. Qt's documentation and other posts have said that you can port applications onto various platforms with the same code "Code once, deploy everywhere". So will I be able to actively test my qt quick QML code on an ios device from a Windows 10 development platform?
No, you can't. You need either macOS computer or virtual machine with this system.

Can't debug application on IOS Device

I created a vanilla PCL project in xamarin forms. I tried to run on Android and it works fine.
But when I change de target to IOS and select my real device (Ipad with IOS 11.4.1), Visual studio only allows me to build solution, I wanna to run application on it but I can't.
The target IOS is 8.0, and I already authenticated with my apple account and created a provisioning profile.
I already done this on another project before and works fine.
I really don't know why Visual Studio don't allow me to debug, when I open my oldest project with this device it allows me to debug.
What OS are you running Visual Studio on? IOS requires MAC, whereas Android is compatible with all OS. It's been a while, but I know there's an option to wirelessly connect to a MAC OS so that you can run your IOS Xamarin Forms application anywhere.
I found the solution.
I was trying to use "Debug", and it works fine on the emulator, but to real device I need to use "Debug | Iphone" or otherwise it only builds.
Even when I try to use "Release" it's the same trick.

deploying Xamarin forms application to android phone

I am very new to xamarin forms. I developed a simple autocomplete application in Xamrin forms using Visual studio 2017 enterprise version. I want to deploy that application to android phones. When I created the application, I selected Cross Platform app (xamarin.forms or Native). below is the image of visual studio run button:
and the properties of the project are below:
any article or any steps to deploy this application to android phones will be highly appreciated.
Set Up Device for Development - source - https://developer.xamarin.com
Enable Debugging on the Device - By default, it will not be possible to debug applications on a Android device.
Install USB Drivers - This step is not necessary for OS X computers. Windows computers may require the installation of USB drivers.
Connect the Device to the Computer - The final step involves connecting the device to the computer by either USB or WiFi.
Once a device is connected to your computer you will see your device like this
Now Click the green arrow to start deploy and debug.
additional - This link will show you how to debug and prepare APK for release
https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/

Must I have a Mac OS platform even if I develop my app with PhoneGap?

I had a Web Application written on Visual Studio (C#) and I want to create mobile applications for iOS and Android.
Do I have to get a Mac OS platform (e.g. a MacBook) to develop an iOS application?
Yes. To be able to publish your ios app to the appstore, you do need a machine with a Mac OS.
In order to develop for iOS, you need to use Xcode, which is a Mac-exclusive piece of software. So unless you emulate a Mac environment on windows, you need to get a mac. PhoneGap is simply an API for the iOS platform (a great one, too!), and it would be in addition to the built-in iOS frameworks. From what I can tell from your question, you are simply asking about how to develop on iOS. It's a great process, and there are plenty of great books to get you started with iOS.
However, to answer your question, yes. In order to develop for iOS, you need a Mac environment.

Smart device Application in .net

Im learning basics in smart device application development.i developed small app using USA windows mobile 5.0 Pocket PC emulator. Im having basic doubts regarding emulator and deployment.
1.According to the smart phone devices we have to download emulator and develop applications or else default emulator will support for all windows devices?
2.How to deploy and install those deployed those files into my windows phone
Windows Mobile applications are not compatible with Windows Phone.
To develop Windows Phone application you need to install Windows Phone SDK. It will install WP emulator and a bunch of tools. You'll be able to deploy application to emulator or device using Visual Studio or tool called XAPDeploy which comes along with Windows Phone SDK.
Is this what are you asking for?

Resources