问题
I'm developing xamarin forms apps. I can generate the APKs and run it on my android devices. But how can I do the same for iPhones without having a mac? Is there a way to build my apps on app center or azure devops where it generates the ipa files?
Thanks
回答1:
Here is guidance about how to build Xamarin apps for Android and iOS in azure-devops:
Build Xamarin apps azure-devops
Here is document about how to build Xamarin iOS app in AppCenter:
Building Xamarin apps for iOS in AppCenter
If you want to build a xamarin.iOS project locally, you must connect to a network-accessible Mac to build Xamarin.iOS applications. Because building native iOS applications requires access to Apple's build tools, which only run on a Mac.
Refer: Pair to Mac for Xamarin.iOS development
回答2:
With Visual Studio 2019 preview you have the Hot Restart that allow you to deploy with the iTunes to your local iphone/ipad...
https://docs.microsoft.com/es-es/xamarin/xamarin-forms/deploy-test/hot-restart
来源:https://stackoverflow.com/questions/61469856/how-do-i-build-an-iphone-xamarin-app-without-a-mac