Build iOS Apps with or WITHOUT a Mac? Visual Studio, C#, & .NET MAUI with Hot Restart

Sdílet
Vložit
  • čas přidán 11. 07. 2024
  • The first 1,000 people to use the link will get a 1 month free trial of Skillshare: skl.sh/jamesmontemagno01231
    NO MAC REQUIRED! In this video, I'm going to show you multiple ways to build, debug, and deploy your iOS apps from Windows with C#, Visual Studio, and .NET MAUI. Leverage the built-in mac build host connection and use a remoted iOS simulator directly on your Window desktop. Better yet, use iOS Hot Restart for local deployment to an iOS device without the need for a Mac. After watching this video, you'll be ready to build and deploy your apps with ease!
    Links:
    iOS Hot Restart - learn.microsoft.com/dotnet/ma...
    Mac Build Host Pairing - learn.microsoft.com/dotnet/ma...
    Remote iOS Simulator - learn.microsoft.com/dotnet/ma...
    Join this channel to get access to perks:
    / @jamesmontemagno
    👕 Buy some swag! - jamesmontemagno.myspreadshop....
    ☕️ Buy me a coffee - www.buymeacoffee.com/jamesmon...
    Follow:
    👨‍💻 GitHub: github.com/jamesmontemagno
    🦜 Twitter: / jamesmontemagno
    📄 Website: www.montemagno.com
    📰 Newsletter: newsletter.montemagno.com/
    Chapters:
    00:00 - Intro & Mac Build Host Overview
    01:55 - Pair Visual Studio to Mac
    04:10 - Build & Deploy to Remoted iOS Simulator
    09:00 - Skillshare partnership
    10:21 - Enabling iOS Hot Restart
    11:50 - Deploying to local iOS device
    14:10 - Full Hot Restart Guide & Docs & Tips
    Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
    What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco.myshopify.com/
    What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
    Special thanks to Skillshare for sponsoring this video.
    My Setup:
    📷 Canon M50 Mark II - amzn.to/3P8R7lp
    💡 Nanoleaf Elements Lights - amzn.to/3umwJVW
    🎙 Blue Spark Microphone - amzn.to/3qgtYkq
    🎙 Blue Pop Filter - amzn.to/3jEWM3r
    🤳 Rode Microphone Arm - amzn.to/2Z68AlE
    🎧 Sony MDR7306 Headphones - amzn.to/372jxta
    📲 Stream Deck - amzn.to/373Uk1n
    📹 Elgato Cam Link - amzn.to/3a9eGbh
    📷 GoPro Hero - amzn.to/374lm90
    🖱 MX Master 2S Mouse - amzn.to/3d7J2gj
    ⌨️ Tecware Phantom Keyboard - amzn.to/3aUP4y9
    #dotnetmaui #dotnet #visualstudio #iosdeveloper
  • Věda a technologie

Komentáře • 170

  • @mks-h
    @mks-h Před rokem +34

    "No Mac Required", yet the first step is to connect to a Mac...

    • @JamesMontemagno
      @JamesMontemagno  Před rokem +2

      Well two options as I show, both with and without a Mac :)

    • @JohnPeter-yf5jf
      @JohnPeter-yf5jf Před rokem +3

      @@JamesMontemagno Wish you didn't need the an Apple Developer Account to use it straight on the PC to debug..

    • @Ssim2750
      @Ssim2750 Před rokem +2

      @@JamesMontemagnoBut I don’t get it. Should the package be prebuilt on Mac and then you deploy on the phone. Or you really can do IOS development, building and debugging it on iPhone connected to your windows machine completely without ownership of a MacOS device?

  • @Brendan2Alexander
    @Brendan2Alexander Před rokem

    As usual James awesome stuff thank u!

  • @passionforkiteflying
    @passionforkiteflying Před rokem +1

    That is really cool 🙂 now interest again to learn some XAML!

  • @RexRacer1977
    @RexRacer1977 Před 5 dny

    Enjoyed your video a lot. I was wondering if you have a video showing the process of putting a .net maui app created inside VS Windows on the app store for an adhoc deployment to my test iPhone.

  • @user-auto4788
    @user-auto4788 Před rokem +1

    Good~! I like it!

  • @williand.529
    @williand.529 Před rokem

    Awesome!!

  • @VM-zb2xu
    @VM-zb2xu Před měsícem +1

    Great video.

  • @DeepWorksStudios
    @DeepWorksStudios Před rokem +2

    Thanks for this usefull content!
    Keep it up!

  • @johnmaguire2185
    @johnmaguire2185 Před rokem +5

    It would be nice to see the full apple android deployment. Just started coding and have followed this process. Have monkeys on my iPad using the api. Creating a team to select didn’t work straight out the box first time, but I got there.

  • @tanakamawere
    @tanakamawere Před rokem +2

    Yessss. This is the video I needed. Thank you so much

  • @RebelSurge
    @RebelSurge Před 5 měsíci +1

    cool video)

  • @kwesiboateng2646
    @kwesiboateng2646 Před rokem +3

    Watching you over the years, you really got better at engaging your audience in other wise boring content to present.

  • @lynnbennett9007
    @lynnbennett9007 Před 5 měsíci

    Great Video! I bought a Mac for iOS dev just as the news broke that VS on Mac would no longer be supported. Then I was very excited to see all the support for MAUI on VS Code for Mac. I have had good success with using simulators, but I can't figure out how to run my apps on my actual device connected to my Mac. Is Microsoft pushing Mac developers to Windows with these tactics?

  • @PticostaricaGS
    @PticostaricaGS Před rokem +2

    Thanks for the video, very helpful. Could you please do one about deploying MacCatalyst apps for running in a Mac computer?

  • @bettomorrow
    @bettomorrow Před rokem

    Thanks for the video, have you ever came across this error message "An error occurred while generating the SSH keys. Please check that the environment is properly configured. Details: unknown key type ecdsa"?

  • @matiasbordoy
    @matiasbordoy Před rokem

    Hi, nice video! But i have visual studio 2022 Windows, and when i try to debug in IOS Simulators i only have 1 option "Simulator " and i don't see all Iphone devices? How did you get all them??

  • @rezamohamed2112
    @rezamohamed2112 Před 6 měsíci

    are there any troubleshooting steps when you don't see the ios simulators on VS22 even tho you are successfully paired to the mac? I have Xcode up to date, I can see the iPhone 15 simulators in the xcode/devices-simuators window. VS Mac is up to date as well. Connecting from a Windows PC to a Mac M1. I am also connected to my Apple Dev account in VS22 settings as well as Xcode on Mac

  • @jramirezdev
    @jramirezdev Před rokem +3

    I have a Macbook air 2020 with intel CPU and 8Gb of RAM and despite I mostly do all the coding in a Windows machine, the testing/running process on the remote mac is extremely slow but Its because the macbook is not that fast, so it would worth it to have a MacBook Pro and do the coding directly there but then you notice the VS for Mac is a complete pain compared with the one for Windows (lacks of so many features)… so at these times you as a freelancer need to be rich to have a windows machine and also a MacBook Pro if you want to have a good developing experience with Xamarin/MAUI

  • @SimchaCazes
    @SimchaCazes Před 2 měsíci

    Thanks for your video! I've been successfully using the remote ios simulator, connecting my windows to my mac, but now suddenly, the remote simulator isn't showing up on my windows machine. It says successfully deployed but no simulator appears. What can I do for the simulator to appear? Everything is up to date. Thank you

  • @cptechno
    @cptechno Před 8 měsíci +5

    Missing topics that are essential...
    Hi! I viewed several of your videos regarding Visual Studio MAUI. However, I think there are some missing topics that are essential for developers.
    Regarding the deployment of Visual Studio MAUI app to Apple development system, these topics are missing:
    1) How to deploy MAUI app to Apple TestFlight Beta Testing (entire process)
    2) How to deploy MAUI app to Apple App Store (from IPA to store..entire process)

  • @iCore7Gaming
    @iCore7Gaming Před rokem +1

    so it seems 90% of my project has errors due to things not being found in the iOS context. Why wouldn't the basics like Shell for example not be supported? and am i supposed to do? almost seems i have to have seperate projects for iOS and andriod.

  • @andrewsheley
    @andrewsheley Před rokem +1

    Another awesome video, thanks!

  • @robertrobert2954
    @robertrobert2954 Před rokem +47

    99$ for testing app on your own phone.

    • @decton4461
      @decton4461 Před rokem +4

      ugh .... same problem , it is not fair

    • @peymanstd
      @peymanstd Před rokem

      Yep I went this route instead of buying a Mac. Also for me it was a headache to setup the Mac

    • @chezchezchezchez
      @chezchezchezchez Před rokem

      Yes it’s bs but, I’m looking at it as a fun (maybe expensive) hobby.
      Maybe I’ll recoup the $ when I sell my app.

    • @nikoleynikk4250
      @nikoleynikk4250 Před rokem

      How buy it if i live in Russian?

    • @CoffeeToCode11
      @CoffeeToCode11 Před 9 měsíci +1

      If your employer/client is not running with that expense get a used mac mini is cheaper in the long run

  • @nofatchicks6
    @nofatchicks6 Před rokem +12

    “Easily build iOS apps on Windows devices, by simply connecting to an Apple device!”

    • @piedude333ify
      @piedude333ify Před rokem +3

      lmao right?? misleading title.

    • @biokode
      @biokode Před 7 měsíci

      there is nothing easy about Microsoft and Apple

  • @ilanmazuz
    @ilanmazuz Před rokem +8

    Thanks James.
    Can u do a video using Mac in the Cloud? i don't have any iOS devices and i need a way to build the iOS version and the cloud seems to be the right way for me, but i'de love to see a tutorial on this.
    Thanks a lot!

  • @greeksinmars
    @greeksinmars Před rokem +1

    This is why I follow you.....

  • @viveksingh573
    @viveksingh573 Před rokem +1

    You are awesome James ❤

  • @udaiappa
    @udaiappa Před rokem

    Do you know when Intune SDK support is available for MAUI?

  • @dotnetdevni
    @dotnetdevni Před rokem +1

    There was a bug in forms where it didnt allow u to do step by step debugging it just showed the app and then ended the debug etc. In fact your example of using iphone didnt hit the brakepoints so it seems that bug is still present :-(

  • @sebastrese
    @sebastrese Před rokem

    You can do this from a macbook on a different network?

  • @judgewest2000
    @judgewest2000 Před 9 měsíci +2

    This is super cool and if you're building large-scale applications being deployed via the app stores then you would absolutely be running Windows / Mac alongside for the sheer simplicity of that setup to create native slick apps - I would do nothing else.
    If you're creating applications to be used by a more focused audience (i.e. functional apps mainly) PWA man! No mac required, no licence keys from Apple required, one codebase for iOS / Android... the API now supports push notifications which was always the holdback.

    • @GMP93
      @GMP93 Před 8 měsíci

      For credibility and user trust: App > PWA.

    • @judgewest2000
      @judgewest2000 Před 8 měsíci

      @@GMP93 Yeah coz apps on the stores carry a high degree of trust right!?
      I did say for a more focused audience btw (as in not everyone but people you're more likely to have an established relationship with already like existing web customers), you might've missed that.

  • @JamesMCrutchley
    @JamesMCrutchley Před rokem

    Would love to try out using my ipad but Unfortunately when I connect ipad by usb Windows 11 BSOD's. I uninstalled the usb driver and tried rebooting. Then plugged ipad back in and it just BSOD again. I give up. I don't have time to figure out why the drivers don't work. I installed itunes etc. After blue sceen I can connect the ipad and windows sees it. But visual studio and itunes do not!

  • @doublebass120
    @doublebass120 Před rokem +5

    Back when I was developing xamarin apps at work (that project was killed just before MAUI went GA), I had 5 Mac minis. 2 were for debugging and 3 were TeamCity build agents. Every time my certificates had to be renewed, I cried.

  • @sheilainglin863
    @sheilainglin863 Před rokem

    Good Morning 🌞🌻😁

  • @leonabc298
    @leonabc298 Před rokem +3

    As an ex Mono/Xamarin Dev I’m about to give up on Maui and turn my back on MS. The Mac dev environment is so buggy you can’t even deploy release apps to Android devices without turning to the cmd. Can do consecutive builds without changing anything,one works the next breaks. I’m done.

  • @SergKoshelev
    @SergKoshelev Před rokem

    i need to get back in a settings of Hot Reload, to individual, how can i clean this setup?

  • @goofys1313
    @goofys1313 Před rokem

    Hi James, I appreciate your your work on MAUI! I have question, which torments me for a while. Is there a way to implement reCaptcha in a MAUI application ?

    • @JamesMontemagno
      @JamesMontemagno  Před rokem

      I would probably leverage a Blazor web view for thay

    • @Friend_2162
      @Friend_2162 Před 6 měsíci

      Or implement your own obstacle like moving a slidebar to certain percentage with visual representation

  • @larserikbakkland7346
    @larserikbakkland7346 Před rokem

    Can you Do a MAUI Web Authentication Video? For Example: Google, Apple login

  • @tihoblajev4558
    @tihoblajev4558 Před rokem +3

    James where is Live Preview for MAUI, i can’t believe that creating a designer for MAUI has not been a priority for Microsoft

  • @mk-ep7yk
    @mk-ep7yk Před rokem +2

    This video will be very helpful for developers who don't have a Macintosh computer. thank you so much.☺😊

  • @shaileshpandey6214
    @shaileshpandey6214 Před 7 měsíci

    I am getting an error when publish project for distribution.
    Error :
    unable to build chain to self signed root for signer Apple Development created via API (......) In build foder path.
    Windows machine paired with Mac machine.

  • @sergenalishiwa9097
    @sergenalishiwa9097 Před rokem

    I just got a Mac Mini for MAUI development purposes. I wish you also could develop windows app on mac. However VS for mac is not complete yet.

    • @jramirezdev
      @jramirezdev Před rokem

      VS for Mac is a pain in the …. Compared with the VS for Windiws

  • @cheronecom
    @cheronecom Před rokem +2

    Tried it and it worked (I did have to create a new certificate from Tools -> Options -> Xamarin -> Apple Accounts -> View Details. Also, I had to enable Developer Mode and restart my device. I did notice that hot reload (not hot restart?) didn't seem to work, but maybe that is not possible when running through this shell app, not sure.

    • @JamesMontemagno
      @JamesMontemagno  Před rokem +2

      Ahhh yes you do have to turn on developer mode on your phone! Dang forgot to mention that. Hot reload should work though… I will check. Glad you got it working

    • @yiniwang8736
      @yiniwang8736 Před 2 měsíci

      @@JamesMontemagno I also cant get hot reload work with local ios device.

  • @WhimzyInteractive
    @WhimzyInteractive Před 8 měsíci

    Can this use unity remote 5 for testing?

  • @sjbthfc
    @sjbthfc Před rokem +2

    Hi James, is it possible to pair to a Mac that is on another network or over the internet? I have a Mac EC2 instance on AWS which I can connec to via SSH on Windows but Visual Studio refuses to pair with it using IP address of the Mac.

    • @amuga_1
      @amuga_1 Před 7 měsíci

      did you figure out the solution?

    • @sjbthfc
      @sjbthfc Před 7 měsíci

      @@amuga_1 No, could not do it and had to use physical Macs.

  • @umarqulovmuhammad
    @umarqulovmuhammad Před rokem +1

    I have question about MAUI Blazor Hybrid. Why default application is not work on iOS with Xcode 14.2 and visual studio 17.4?

    • @JamesMontemagno
      @JamesMontemagno  Před rokem

      Xcode 14.2 is supported in VS 2022 17.5 preview at this time. Check release notes or install xcodes and install the appropriate version of Xcode for the release

  • @kodiererg
    @kodiererg Před 5 měsíci

    I still can't get an app on my IPad. Maybe walk through the whole account profile provisioning team selecting crap.

  • @btiburkinatradinginternati4823

    Is it possible using a MacBook to emulate on a windows machine ??

  • @functnal3187
    @functnal3187 Před rokem

    Is it possible to build apps using apples other apis, such as HealthKit or WeatherKit using the second method? Or can those dependencies only be installed on a Mac?

    • @JamesMontemagno
      @JamesMontemagno  Před rokem +1

      It depends on the API, most you can do with hot restart and connecting your iOS device to windows, however apis like HealthKit require entitlements so to test them you need to actually build your app with a Mac. You could still code against the apis on windows just fine if that makes sense

  • @dimakryluk1743
    @dimakryluk1743 Před 11 měsíci

    Hello. Can I build Xamarin IOS (native akka not Forms) with such method? With such chain Windows + Local Iphone + Remote Mac?
    Cause now I don't see any option in list of local device

    • @JamesMontemagno
      @JamesMontemagno  Před 11 měsíci

      There is not a way to do this today it is for Xamarin.Forms and .NET MAUI due to how the app packaging works.

  • @pinchojasp
    @pinchojasp Před rokem +1

    Years ago I used a VMWare virtual machine... 😅

  • @alexanderm8169
    @alexanderm8169 Před 9 měsíci

    Did you get an .IPA file after building with iOS/Iphone? Because i can't find mine on my Release or debug directory?

    • @Trippixyz
      @Trippixyz Před 2 měsíci

      Same!
      Please let me know if you ever found a solution!!!!

  • @dotnetdevni
    @dotnetdevni Před rokem +1

    The issue I have is keeping the versions in sync with so many changes you need to switch xcode versions many many times

    • @JamesMontemagno
      @JamesMontemagno  Před rokem

      When the iOS bits are updated a new Xcode is required on the mac if you are doing the connection. Plugging in an iPhone doesn’t require it obviously as there is no mac needed. Checkout my video on xcodes on how to easily manage Xcode versions

  • @persiabudi1555
    @persiabudi1555 Před rokem

    how to create then print pdf ?

  • @IlliaPogodin
    @IlliaPogodin Před rokem

    So basically there is no way to deploy in-house hobbie applications from a Windows machine to an ios device, is this statement correct?

  • @finnianreilly1831
    @finnianreilly1831 Před 7 měsíci

    First couple secs I can see TechLead influence

  • @Looking_Above
    @Looking_Above Před rokem

    Do I need an obfuscator for IOS apps?
    In documentation mentions "iOS apps built using .NET MAUI are fully ahead-of-time (AOT) compiled from C# into native ARM assembly code."
    So I guess no. Right?

    • @JamesMontemagno
      @JamesMontemagno  Před rokem +1

      Nope they are fully ahead of time compiled like you said so all machine code at the end of the day. Same as a swift app basically

    • @Looking_Above
      @Looking_Above Před rokem

      @@JamesMontemagno Thank you!

  • @user-ry5ks3hg6y
    @user-ry5ks3hg6y Před 11 měsíci +1

    For the people that does not have Mac device, in my case i downloaded Mac in VM. In the "Pair to mac" window it did not showing the Mac Vm, so in this case i changed the VMs Network settings to be Bridged Adapter. After that reopened the Vm and the Mac showed in the Pair to mac window!

    • @mebtuabebe8428
      @mebtuabebe8428 Před 11 měsíci

      Great tip, thanks

    • @mq9032
      @mq9032 Před měsícem

      Should i get a vm on virtual box on windows and it should work? How did you do it?

  • @JamesMontemagno
    @JamesMontemagno  Před rokem +8

    The first 1,000 people to use the link will get a 1 month free trial of Skillshare: skl.sh/jamesmontemagno01231

  • @YTtopPAULO
    @YTtopPAULO Před rokem

    hello bro which is faster and good for working and have a good performance and no problem
    visuals studio 2019 or 2017 ?

    • @JamesMontemagno
      @JamesMontemagno  Před rokem

      Visual Studio 2022!

    • @YTtopPAULO
      @YTtopPAULO Před rokem

      @@JamesMontemagno i download it and have a problem when i open my freind project auto size and postion change before run and i cant see the full form and i can edit fully

  • @cptechno
    @cptechno Před rokem

    Can a Microsoft Blazer/MAUI app for iOS, be deployed on Apple Store or any mobile app store where it can be installed on an Apple mobile phone. This is an important question to answer because some of us, are developing apps for our employer and the app is to be distributed to several users across the world. So having a app store to distribute the iOS app is important.

    • @JamesMontemagno
      @JamesMontemagno  Před rokem

      Yup wherever an app can be deployed it can be deployed to. It’s the same as a swift app at the end of the day as far as what you bundle up. Ship it to App Store, internal, app center distribution etc

  • @navidbayat4267
    @navidbayat4267 Před rokem

    I have a question, does MAUI support augmented reality ?

    • @chezchezchezchez
      @chezchezchezchez Před rokem

      Hello! Did you happen to find out? I’d like to know also, thank you!

  • @gjhdigital
    @gjhdigital Před rokem

    Great video, but like you mentioned. you cant do native stuff or add Push Notifications, .p12, .p8 certs, etc... without a mac.

    • @chezchezchezchez
      @chezchezchezchez Před rokem

      Huh? Explain what you can/can’t do please.
      Or link?

    • @gjhdigital
      @gjhdigital Před rokem +1

      @@chezchezchezchez you need a mac to generate a signed .p12 certificate through the key chain and upload to your apple dev account for your app.

    • @chezchezchezchez
      @chezchezchezchez Před rokem +1

      @@gjhdigital thanks. Do you need a Mac just to get the test app on your iPhone?

    • @gjhdigital
      @gjhdigital Před rokem +2

      @@chezchezchezchez yes if you are going to develop on windows and want to deploy the ios app to your iphone/ipad, you will need to pair your windows machine to a mac on your network within visual studio. even if your app just does basic stuff with no push notifications or other apple frameworks. End of the day, bite the bullet and get a cheap (newer) mac, probably a macbook air or something. Unfortunately they never really mention this in the MS docs or on youtube channels. And the mac pairing feature is kinda flakey at least in my experiences over the years. Thats why I just ended up getting a mac.

    • @chezchezchezchez
      @chezchezchezchez Před rokem

      @@gjhdigital thanks. So then you do all of your development on the Mac? Or you do it on the windows, and pair up to the Mac? I like my development set up on my windows.

  • @ricardocasillas5054
    @ricardocasillas5054 Před rokem

    Hi, I develop small tools for my company. I don't have a mac, and would like to develop for internal use only, not distributions, can you do a new video providing what is needed. Is it possible to side load the apps so that we don't have to go through Apple Store? Any help would be appreciated. Best.

    • @JamesMontemagno
      @JamesMontemagno  Před rokem +1

      Yes it is possible, but you will need to get your developer certs and provisioning profiles so you can see things up on GitHub actions or azure devops so it delivers out to you more easily. Or distribute through App Center as well

    • @shawyu8315
      @shawyu8315 Před rokem +1

      My company's choice is go for a mac mini 2020 (m1), which is now lower price after m2 released, and add internal ios devices on apple developer website (100 devices limited), build ipa files with that profile and keep installing and upgrading to internal users. Github actions and Azure app center definitely help, but that's optional

  • @gregc6034
    @gregc6034 Před rokem +2

    sadly, pairing to a mac works about 10% of the time, even when all build tools are up to date and matching across all environments.

  • @LeonoX97
    @LeonoX97 Před rokem

    I'm Thinking buy a Mac mini 2018 only for compiling process I hope before do that could configure a pipeline and an Agent of Mac is Expensive Develop for iOS :(

    • @JamesMontemagno
      @JamesMontemagno  Před rokem +1

      You could also look into CI/CD services like GitHub Actions and Azure DevOps... maybe an easier start. I am a fan of Mac Mini's though, but make sure that they can install the latest OS

    • @LeonoX97
      @LeonoX97 Před rokem

      @@JamesMontemagno thank you 😁

  • @lowhanlindsey
    @lowhanlindsey Před 11 měsíci

    Deploying to ipad it goes to .NET splash screen for 20 seconds then terminates. Any ideas?

    • @JamesMontemagno
      @JamesMontemagno  Před 11 měsíci

      Try it on a newer device. Older slower devices it won’t work. I have it working on an iPhone SE 2 and also an iPhone 11

  • @ChargedPulsar
    @ChargedPulsar Před 8 měsíci

    12:38 Magic. Missing information here is crucial, it's where I got stuck. New dev account, visual studio 2022 all setup, what exactly are we going here which magically worked for you?

  • @aaryavartsolutions5359

    Can we do with windows 10?

  • @ayanpoddar5041
    @ayanpoddar5041 Před 10 měsíci

    man i have the worst experience with my mac developments. its sucks.

  • @shawyu8315
    @shawyu8315 Před rokem

    So any chance that Xamarin will see this "Deploy an iOS app using hot restart"?

    • @JamesMontemagno
      @JamesMontemagno  Před rokem

      Has worked with Xamarin apps for a few years now :)

    • @shawyu8315
      @shawyu8315 Před rokem

      @@JamesMontemagno OM, forgive this man playing Android in cave 🙈

  • @umarqulovmuhammad
    @umarqulovmuhammad Před rokem +1

    Every way is paid or which way is free

    • @umarqulovmuhammad
      @umarqulovmuhammad Před rokem

      I have a question in running MAUI BLAZOR HYBRID application but it doesn't work on iOs. The reason for this this event is paid or not if I use remote Mac os but application is working on the android and windows perfect

    • @JamesMontemagno
      @JamesMontemagno  Před rokem

      We’ll need a Mac or need an iPhone and an apple developer account, which you will need to deploy to the App Store or test on any device unfortunately

    • @umarqulovmuhammad
      @umarqulovmuhammad Před rokem

      @@JamesMontemagno Could you give help to create first realize my application. But it does not need deploy to app store. Application created on MAUI Blazor hybrid. If you can do this in your pc because of this this realized application is important to me. Thank for your answer.

  • @tcrenshaw2718
    @tcrenshaw2718 Před 7 měsíci

    geez all i wanted was to make a small app to track my hours at work and breakdown my pay.. way to many hoops to jump through just to make something i didnt plan on publishing.. oh well 😕

  • @FnOTradingLearner
    @FnOTradingLearner Před rokem

    I think it should work with virtual machine with Mac....

  • @dotnetdevni
    @dotnetdevni Před 5 měsíci

    apple will never change this

  • @jeff-uq2sz
    @jeff-uq2sz Před rokem

    🙌

  • @undead0rbit53
    @undead0rbit53 Před rokem +3

    Awesome guide to development WITHOUT a mac.
    step 1: connect to your mac on your network...

    • @irql2
      @irql2 Před rokem +1

      Yea lol

    • @JamesMontemagno
      @JamesMontemagno  Před rokem +1

      Well there are two approaches. With and without a Mac :) probably should have swapped the order lol but I wanted to show both off as they offer different things

  • @namnbn
    @namnbn Před 2 měsíci

    the screen not good to see

  • @helloworld7796
    @helloworld7796 Před 4 měsíci

    But i still need to have macbook. I need a solution to not use macbook.

  • @mustaphayusuf6091
    @mustaphayusuf6091 Před rokem +1

    I faced an issue where .net maui app crashed on my iPhone 7+, i doesn’t execute and also the Hot Restart is not working fine.

  • @MrDavidoneo
    @MrDavidoneo Před rokem

    So I still need to buy a Mac... Well I will do a webpage instead cause that is not happening...

  • @biokode
    @biokode Před 7 měsíci

    So.. I still need a Mac?

    • @JamesMontemagno
      @JamesMontemagno  Před 7 měsíci

      Not if you use Hot Restart like I showed to deploy directly to your iPhone from windows for development

    • @biokode
      @biokode Před 7 měsíci +1

      @@JamesMontemagno Hmmm... Does it deploy directly to the iPhone though? Because all I saw was a XAML Live Preview in Visual Studio, and it looks like the Hot Reload option in Visual Studio only enables VS to authenticate against the Apple Developer stuff, then somehow unlocking the build. I can't actually debug the app on the USB connected iOS device, right? I would still need an actual Mac for that? No shade thrown towards you personally BTW, I only wish to learn - and this mobile app dev stuff is slowly draining my will to live 😂 I think I actually hate Apple now, even more than Microsoft - haha

  • @ademineshat
    @ademineshat Před rokem +1

    I've been using MacBook lately at work to build xamarin Apps. To be honest, it has been a nightmare 😥 When it works, it works, but when i lt doesn't, you can't do anything about it 🤣

  • @averagemoes
    @averagemoes Před 5 měsíci

    Skip to 11:00

  • @JamesMontemagno
    @JamesMontemagno  Před rokem

    Thanks to Skillshare for partnering on this video: The first 1,000 people to use the link will get a 1 month free trial of Skillshare: skl.sh/jamesmontemagno01231

  • @KibbleWhite
    @KibbleWhite Před rokem +1

    The title is misleading, says without a mac, first step is to pair to a mac? 🤦‍♂️

    • @JamesMontemagno
      @JamesMontemagno  Před rokem

      There are two approaches that I outline with different trade offs. One is with a mac and one without.

    • @guybuchanan9143
      @guybuchanan9143 Před 9 měsíci

      the way you can reply to these comments so calmly I applaud you. I would have blown up on deez fools@@JamesMontemagno

  • @WayneMunro
    @WayneMunro Před rokem +3

    It's so absurd that one requires permission to deploy your own application to your own device.

    • @purplep3466
      @purplep3466 Před rokem +1

      Apple ecosystem is entirely proprietary

    • @WayneMunro
      @WayneMunro Před rokem +1

      @@purplep3466 That's why I choose not to use it.

  • @wanderer29903
    @wanderer29903 Před 5 měsíci

    What's "bananas" is that Apple even makes you jump through all these absurd hoops just to build an app. Like...how about just build locally & run an emulator without all this "connect to a remote Mac" garbage? The fact that we even need to run a remote emulator & show the image back on the local system is what's bananas.

  • @WaahaidIWKY
    @WaahaidIWKY Před rokem

    or just rent a mac server from CSP that offer hackintosh or a legit mac, couple a bucks

  • @happyraptor7986
    @happyraptor7986 Před 2 měsíci

    Build without a Mac! Step 1. Connect to your Mac! :)

  • @kasimsche2812
    @kasimsche2812 Před rokem

    Who the hell uses C# for Mac or iOS ??? There is no market...... haha haha ..... why to waste time...

    • @JamesMontemagno
      @JamesMontemagno  Před rokem +1

      Well there are 6+ Million C# developers and also every Unity game is C# so there is that ;) also some of the most popular apps are built with C#/.NET on the app store

    • @kasimsche2812
      @kasimsche2812 Před rokem

      @@JamesMontemagno Also I have very bad feedback and experience from those who develop Android, iOS apps using C# and Xamarin due to framework's and RTS's performance on this platform. I am trying to improve it on ARM platforms. Please do provide your possible help if any. Thank you in advance.

    • @tawandagamedevs
      @tawandagamedevs Před rokem

      @@JamesMontemagno i think you cant actually run c# code in ios. Unity have their custom c# compiler which compiles to native code

  • @gnul
    @gnul Před rokem

    I have a Mac, but MacOS is painful. I use Arch Linux on my workstation and Jetbrains Rider as IDE, what is missing? iOS dotnet workload.
    Rider even on Linux can connect / pair a Mac like VisualStudio, but without the not existing dotnet workloads for iOS / maccatalyst, everything of a iOS / Mac Catalyst project errors..
    Before .net 7 they didn’t even offer the android workload, but at least it is working now again with net 7.
    Can you use your ‚influencer‘ magic reach to reach to MS or whomever, so we can get iOS / maccatalyst workloads for Linux? :) ❤️
    And of course Maui for Linux is missing too, currently only developing Maui Android works on Linux.
    And the templates are broken, as long as iOS workload is unavailable for Linux, for e.g. shared project they should disable all iOS / maccatalyst TFMs
    e.g. :
    $(DotnetVersionMobile)-android;
    $(TargetFrameworks)$(DotnetVersionMobile)-ios;$(DotnetVersionMobile)-maccatalyst
    $(TargetFrameworks);$(DotnetVersionMobile)-windows10.0.19041.0