@@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?
@@MisterKCave yeah you only need a mac to deploy to the app store. That's if Apple tell you what the issuer ID is, which they now seem to have hidden. Maddening.
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
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
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!
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.
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
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.
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!
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 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.
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.
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?
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
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.
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.
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?
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.
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
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
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.
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 :-(
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
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
Hi James, I am getting this error after pairing to Mac and start building : MSB3030 Could not copy the file "obj/Release/net8.0-ios/iossimulator-arm64/nativelibraries//libSystem.Globalization.Native.dylib" because it was not found. DDSMobile (net8.0-ios) C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk.net8.0_18.0\18.0.8303\tools\msbuild\iOS\Xamarin.iOS.Common.After.targets Thanks
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?
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
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!
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??
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"?
I can't find Issuer ID anywhere on App Store Connect, they've removed it from where it was and not updated any documentation so I can't get Hot Restart to work at all. Can you do a step by step to set that up please? Just just skirt over it here.
Do you need a Mac for the initial setup like in your first step or does it work completely without a physical Mac when using iTunes and a locally connected device?
@@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
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)
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.
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?
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 ?
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.
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
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 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.
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 :(
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
@@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.
@@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.
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.
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
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
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
yes, you need to build and compile production apps with production certs on a mac, no way around it. it can be a ci/cd service though, but ideally if doing iOS/mac development, best to have a mac
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 😕
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 🤣
@@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
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.
The first 1,000 people to use the link will get a 1 month free trial of Skillshare: skl.sh/jamesmontemagno01231
"No Mac Required", yet the first step is to connect to a Mac...
Well two options as I show, both with and without a Mac :)
@@JamesMontemagno Wish you didn't need the an Apple Developer Account to use it straight on the PC to debug..
@@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?
@@MisterKCave yeah you only need a mac to deploy to the app store.
That's if Apple tell you what the issuer ID is, which they now seem to have hidden. Maddening.
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
“Easily build iOS apps on Windows devices, by simply connecting to an Apple device!”
lmao right?? misleading title.
there is nothing easy about Microsoft and Apple
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
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!
Great idea!
I would need that too...
@@JamesMontemagno did you ever make it ?
Nope :( but I should
@@JamesMontemagno Please do it :-)
99$ for testing app on your own phone.
ugh .... same problem , it is not fair
Yep I went this route instead of buying a Mac. Also for me it was a headache to setup the Mac
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.
How buy it if i live in Russian?
If your employer/client is not running with that expense get a used mac mini is cheaper in the long run
James where is Live Preview for MAUI, i can’t believe that creating a designer for MAUI has not been a priority for Microsoft
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.
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
@@JamesMontemagno I also cant get hot reload work with local ios device.
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.
dang.
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!
Great tip, thanks
Should i get a vm on virtual box on windows and it should work? How did you do it?
Watching you over the years, you really got better at engaging your audience in other wise boring content to present.
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.
For credibility and user trust: App > PWA.
@@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.
hahahah pouring tea right in front of the camera -- "OH! Hello!?!" hahaha hilarious
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.
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?
I have question about MAUI Blazor Hybrid. Why default application is not work on iOS with Xcode 14.2 and visual studio 17.4?
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
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.
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.
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?
You can do this from a macbook on a different network?
That is really cool 🙂 now interest again to learn some XAML!
Do we need all the Apple IDs, Certificates, Profiles to do the first way?
Good~! I like it!
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.
did you figure out the solution?
@@otitoalgos No, could not do it and had to use physical Macs.
This is why I follow you.....
The issue I have is keeping the versions in sync with so many changes you need to switch xcode versions many many times
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
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
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.
Yessss. This is the video I needed. Thank you so much
What u build?
As usual James awesome stuff thank u!
Years ago I used a VMWare virtual machine... 😅
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 :-(
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
There is not a way to do this today it is for Xamarin.Forms and .NET MAUI due to how the app packaging works.
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
Do you know when Intune SDK support is available for MAUI?
Hi James,
I am getting this error after pairing to Mac and start building :
MSB3030 Could not copy the file "obj/Release/net8.0-ios/iossimulator-arm64/nativelibraries//libSystem.Globalization.Native.dylib" because it was not found. DDSMobile (net8.0-ios) C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk.net8.0_18.0\18.0.8303\tools\msbuild\iOS\Xamarin.iOS.Common.After.targets
Thanks
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?
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
Is it possible using a MacBook to emulate on a windows machine ??
i need to get back in a settings of Hot Reload, to individual, how can i clean this setup?
My VS2022 don't pair with macbook, problem with different version of .NET 8.07 and 8.06 in my mac, but 8.07 is installed.
You are awesome James ❤
Can this use unity remote 5 for testing?
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!
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??
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"?
Good Morning 🌞🌻😁
I can't find Issuer ID anywhere on App Store Connect, they've removed it from where it was and not updated any documentation so I can't get Hot Restart to work at all. Can you do a step by step to set that up please? Just just skirt over it here.
Do you need a Mac for the initial setup like in your first step or does it work completely without a physical Mac when using iTunes and a locally connected device?
Works completely without one
@ Thank you! I will give it one more try!
hello bro which is faster and good for working and have a good performance and no problem
visuals studio 2019 or 2017 ?
Visual Studio 2022!
@@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
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.
VS for Mac is a pain in the …. Compared with the VS for Windiws
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)
if we're talking about macos app (not ios), which one is the best? flutter vs .NET MAUI vs KMP vs react native
Swift with mac catalyst
Can you Do a MAUI Web Authentication Video? For Example: Google, Apple login
Did you get an .IPA file after building with iOS/Iphone? Because i can't find mine on my Release or debug directory?
Same!
Please let me know if you ever found a solution!!!!
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.
This video will be very helpful for developers who don't have a Macintosh computer. thank you so much.☺😊
cool video)
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?
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
@@JamesMontemagno Thank you!
Thanks for this usefull content!
Keep it up!
I have a question, does MAUI support augmented reality ?
Hello! Did you happen to find out? I’d like to know also, thank you!
Another awesome video, thanks!
Thank you!
I still can't get an app on my IPad. Maybe walk through the whole account profile provisioning team selecting crap.
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 ?
I would probably leverage a Blazor web view for thay
Or implement your own obstacle like moving a slidebar to certain percentage with visual representation
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.
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
First couple secs I can see TechLead influence
Awesome!!
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.
Every way is paid or which way is free
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
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
@@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.
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 :(
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
@@JamesMontemagno thank you 😁
Thanks for the video, very helpful. Could you please do one about deploying MacCatalyst apps for running in a Mac computer?
Great video, but like you mentioned. you cant do native stuff or add Push Notifications, .p12, .p8 certs, etc... without a mac.
Huh? Explain what you can/can’t do please.
Or link?
@@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.
@@gjhdigital thanks. Do you need a Mac just to get the test app on your iPhone?
@@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.
@@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.
how to create then print pdf ?
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.
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
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
So basically there is no way to deploy in-house hobbie applications from a Windows machine to an ios device, is this statement correct?
Use hakintoch in a vm
Can we do with windows 10?
Absolutely, I was using windows 10 in the video
Deploying to ipad it goes to .NET splash screen for 20 seconds then terminates. Any ideas?
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
So any chance that Xamarin will see this "Deploy an iOS app using hot restart"?
Has worked with Xamarin apps for a few years now :)
@@JamesMontemagno OM, forgive this man playing Android in cave 🙈
Awesome guide to development WITHOUT a mac.
step 1: connect to your mac on your network...
Yea lol
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
Ok, you show hotread iOS app without mac, but not build production version. This is only avaliable if you have mac connected. Still, video is valid
yes, you need to build and compile production apps with production certs on a mac, no way around it. it can be a ci/cd service though, but ideally if doing iOS/mac development, best to have a mac
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 😕
Welcome to the world of iOS.
Getting the message "Developer Mode Required" trying to run the app
You have to enable developer mode on iPhone. See my video on iPhone deploy from VS Code. Used to not have to
Thanks
I did and it works.
Not working anymore due to the Broker error.
apple will never change this
you can never know
Skip to 11:00
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.
Can you help me out?
You may need a newer device that can run the latest OS. For hot restart you need a more powerful device
Ok, thank you james.
man i have the worst experience with my mac developments. its sucks.
I think it should work with virtual machine with Mac....
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 🤣
You solve it?
So.. I still need a Mac?
Not if you use Hot Restart like I showed to deploy directly to your iPhone from windows for development
@@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
the screen not good to see
So I still need to buy a Mac... Well I will do a webpage instead cause that is not happening...
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.
It's so absurd that one requires permission to deploy your own application to your own device.
Apple ecosystem is entirely proprietary
@@purplep3466 That's why I choose not to use it.
But i still need to have macbook. I need a solution to not use macbook.
The title is misleading, says without a mac, first step is to pair to a mac? 🤦♂️
There are two approaches that I outline with different trade offs. One is with a mac and one without.
the way you can reply to these comments so calmly I applaud you. I would have blown up on deez fools@@JamesMontemagno
or just rent a mac server from CSP that offer hackintosh or a legit mac, couple a bucks
LOL
🙌
Build without a Mac! Step 1. Connect to your Mac! :)