Release Your .NET MAUI iOS App to the Apple App Store

Поділитися
Вставка
  • Опубліковано 9 лип 2024
  • Hooray! You have your .NET MAUI iOS app ready, and want to publish it to the Apple App Store. In this video I will walk you through ALL THE STEPS (there is a lot…) needed to generate a signed .NET MAUI iOS IPA file that can be sent to the App Store, ready for publishing! In addition to showing you how to do this from Visual Studio 2022, I will also tell you how you can do it from your automated build pipeline.
    💝 Join this channel to get access to perks:
    ua-cam.com/channels/ral.html...
    Disclaimer: this channel is done on personal title, in my free time, and not officially affiliated with or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
    🛑 Don't forget to subscribe to my channel for more cool content: ua-cam.com/users/GeraldVerslui...
    🐦 Follow me on Twitter: / jfversluis
    🤝 Join the Discord server: / discord
    🔗 Links
    .NET MAUI Repo iOS Publishing/Archiving Issue: github.com/dotnet/maui/issues...
    Release Your .NET MAUI Android App Video: • Create a Signed and Pu...
    Release Your .NET MAUI Windows App Video: • Create a .NET MAUI Win...
    ⏱ Timestamps
    00:00 - Publish Your .NET MAUI iOS App
    00:21 - How iOS Signing Works
    02:59 - Creating a Signing Certificate
    08:03 - Create Your App Identifier
    09:53 - Create App Provisoning Profile
    12:37 - Connect to Mac Build Host
    14:46 - Add Entitlements.plist
    16:34 - Edit csproj File
    18:43 - Create Distributable IPA File
    21:07 - Important: Little Bug! Be Aware!
    22:10 - Setting the App Bundle Identifier
    23:31 - Important Code Signing Note!
    24:28 - Create an IPA File From a Pipeline
    26:35 - Learn About Other Platforms as Well?
    🎥 Video edited with Camtasia (ref): techsmith.z6rjha.net/AJoeD
    🙋‍♂️ Also find my...
    Blog: blog.verslu.is
    Twitch: / jfversluis
    All the rest: jfversluis.dev
    #dotnetmaui #iOS #archiving #publishing #ipa #appstore #certificate #signing #mobileprovisioning
  • Наука та технологія

КОМЕНТАРІ • 160

  • @jfversluis
    @jfversluis  2 роки тому +5

    Also need to release your app for Android or Windows? Check out these video right here 👉 Android: ua-cam.com/video/jfSVb_RR7X0/v-deo.html
    Windows: ua-cam.com/video/FNwv_W3TtSU/v-deo.html
    macOS coming soon!

    • @RajeshKumar-io6nd
      @RajeshKumar-io6nd 2 роки тому

      Hi Gerald facing below error on publish and also put .csproj file
      C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\15.4.200-rc.2.191\targets\Xamarin.Shared.Sdk.Publish.targets(22,3): error : A ru
      ntime identifier for a device architecture must be specified in order to publish this project. 'iossimulator-x64' is a simulator
      architecture. [D:\Work Project Office\Office Work Project\MAUI Project\ProX\ProX\ProX.csproj]
      also mentioned below

      ios-arm64


      Apple Distribution: Rajesh Kumar (9AAP5DPM8Q)
      ProX Maui

  • @gtcollection6933
    @gtcollection6933 Рік тому +13

    As a licensed M.E with 23 years of service I can officially say; this is the most utterly complex workflow and processes I've ever came across in a life-time.
    Appreciate the time and effort to explain. Although I haven't understood anything workflow/logic-wise, it does clearly highlights the need to outsource this clicking-insanity.
    Thanks for the heads up!

    • @jfversluis
      @jfversluis  Рік тому +2

      Hehe yeah Apple sure likes to make this stuff complicated... Glad I could provide a bit of clarity!

    • @gtcollection6933
      @gtcollection6933 Рік тому

      @@jfversluis Ironically we've just been informed by HQ to get up to speed with HarmonyOS, their DevEco and SDK. Simplicity reinvented. Corporate just signed a device rental account for all staffers (22,500 worldwide). And so we'll be moving away from ill politically motivated western economic warfare & what not, and get on a stable global solution.

  • @robote2436
    @robote2436 2 роки тому

    Thank you so much! This'll be the best step by step user guide for me, much easier than a pdf to understand.

  • @gveduccio
    @gveduccio 2 роки тому +1

    this alone is worth joining your channel...on Xamarin it has always been super easy to make some changes build for Android then I could just throw it up on my Google Drive or such...for IOS always a headache...you are the first one I have seen show how to do it for MAUI IOS...thanks for this and other videos

    • @jfversluis
      @jfversluis  2 роки тому +1

      Thank you so much Gary! Yeah it's a bit of a process, and to be fair, this should actually mostly be applicable to Xamarin.iOS and Xamarin.Forms as well :D hopefully this will be useful to some people...

  • @WaningAndreas
    @WaningAndreas 2 роки тому

    I was looking for a video like this. Thanks for the very good video

    • @jfversluis
      @jfversluis  2 роки тому

      Awesome! Glad it was helpful!

  • @leosouza1520
    @leosouza1520 11 місяців тому +2

    Great job, as always! I would like to suggest a continuation, with the Transport App and showing how to use TestFlight. A little MAUI off-topic, but, essentially, is the final step of this video.

  • @iliebana
    @iliebana 8 місяців тому

    Hi Gerald! Great Tutorial! Helped me a lot! Thank you!

    • @jfversluis
      @jfversluis  8 місяців тому

      You’re most welcome!

  • @bharani4341
    @bharani4341 2 роки тому

    Great info, loved it❤️

    • @jfversluis
      @jfversluis  2 роки тому +1

      Glad you liked it! Thanks!

  • @mwardell18290
    @mwardell18290 2 роки тому +2

    This is one of the best walkthoughs of the Apple Developer Portal On the entire WWW

    • @jfversluis
      @jfversluis  2 роки тому

      Thank you! It’s tough material, glad I was able to make it understandable

  • @PierreBritoM
    @PierreBritoM 2 роки тому

    Amazing!

    • @jfversluis
      @jfversluis  2 роки тому

      Thanks Pierre! This one was quite some work 😄

  • @Chris-ko1ei
    @Chris-ko1ei 6 місяців тому

    Hi Gerard, your videos helped me a lot, and in this case also. But still i get stuck with uploading the ipa file to the store. Any chance you do an update of this video with the latest versions? Update : i figured it out, using xcode i could upload the same ipa file it gave me a usable error message, i selected background thingy in plist, that expected some configuration i didnt have. Still cant upload from visual studio but i could using xcode!

  • @stevehutch
    @stevehutch Рік тому

    Excellent tutorial. I had to find out the hard way in the past how to do this and spent longer on this than developing my app. This tutorial made the whole process much more straightforward. Unfortunately, due to my Mac being a late 2014 model, i am limited to BigSur OS, which will not allow XCode 16.1 to be installed ( limits me to XCode v13.2.1 ). Apple appear to have imposed a rule that to upload an app to the Apple Store you have to have XCode 16.1 or later on your Mac. So i have to weigh up the costs. Will my app generate sufficient revenue to warrant buying a mac that supports XCode 16.1?

  • @sergiotoro9603
    @sergiotoro9603 Рік тому

    Thanks for the video, excellent video, it was very useful for me, I was able to distribute my app to my iphone in an ad hoc way from vs for mac 2022 preview 4, now I have a problem, I made an update of the app and when I try to deploy it to the iphone it gives me this post vs for mac
    "The application has been compiled and loaded or is already up to date.
    Visual Studio can't start the app automatically because it was signed with a Distribution provisioning profile. Tap the app icon on the device to launch it."
    I do not know what to do?

  • @vernkennedy6474
    @vernkennedy6474 2 роки тому +4

    Great video Gerald. Very clear. Only suggestion would be to actually show how to open up Xcode on the mac and check that the certs are installed correctly. You made reference to that but it may be unclear for some.

    • @jfversluis
      @jfversluis  2 роки тому

      Aah good point! Technically if you’ve double-clicked it and Xcode opened it should be good. And I think Visual Studio might even attempt to download it when requested, but not 100% sure on that.
      Thanks for watching and the feedback though. And even more for being a member, much appreciated 🙏

    • @vernkennedy6474
      @vernkennedy6474 2 роки тому +1

      @@jfversluis No problem glad to help. Ya I have never quite figured out if VS attempts to download it or not. I think it might nowadays, but still seems like background voodoo. 🙂

  • @jerrylwatson1
    @jerrylwatson1 Рік тому

    Thanks!

    • @jfversluis
      @jfversluis  Рік тому

      Oh no thank you for your support Jerry! Much appreciated!

  • @gatorwest
    @gatorwest 9 місяців тому +1

    Thanks Gerald for the much needed help. My apps are all written in .Net Maui Blazor. Does what you have show us work for Blazor? Or does Blazor require any extra considerations

    • @jfversluis
      @jfversluis  9 місяців тому +1

      It should work all the same!

  • @MarkHodg72
    @MarkHodg72 Рік тому

    A great video Gerald. I do have an error that comes up in VS 2022 on Windows when it comes to signing the app: error : Warning: unable to build chain to self-signed root for signer "Apple Distribution: Mark Hodgkinson (xxxxxxxxxx)". Part of the error also shows: errSecInternalComponent. Any ideas?

  • @GauravKumar-ss2ic
    @GauravKumar-ss2ic Рік тому +2

    Your tutorial explained in this video is very helpful and I created a .ipa file for adhoc distribution by following your tutorial. When I try to install this on iphone I get the error saying that apps integrity could not be verified so app is not installing on iphone. Can you please share some details or release any tutorial on iOS adhoc distribution as well. Or is there any paid support that you can provide, I will be much greatful to support you.

  • @supercutethestar
    @supercutethestar Рік тому

    Hello Gerald I am using keychain and when im truing to publish I get that its missing the keychain access grupo how can I add it to my certificate o profile ?

  • @kevinfurst8163
    @kevinfurst8163 Рік тому

    I would really need the tutorial for Mac distribution. I'm stuck at the point where I can not upload my build in the Transporter app. I get the error: The product archive package's signature is invalid. Enure that it is signed with your "3rd Party Mac Developer Installer" certificate.
    I would really appreciate any help :(

  • @mohammadyousuf8277
    @mohammadyousuf8277 Рік тому

    Can you also make a video for mac-catalyst and it's signing certificates and profiles

    • @jfversluis
      @jfversluis  Рік тому +1

      That's still on a list todo!

  • @samialfarra4275
    @samialfarra4275 2 роки тому

    thank you so much , this is a great video . i think in xamarin forms it is more easier because i can choose certificate and provision profile from graphical user interface .
    please a small question can i send ipa generated file to customer to test before publish to apple store or i need to change the certificate and provision profile to ad hoc and add devices manually by UDID and create ipa and send to customer for testing ?

    • @jfversluis
      @jfversluis  2 роки тому +1

      For .NET MAUI the GUI will come as well making this much easier. For beta testing you would indeed need a provisioning profile with their device id in it and the ad-hoc certificate. The rest of the process would be the same :)

  • @mohammadyousuf8277
    @mohammadyousuf8277 Рік тому

    probably the only stuff on internet that shows MAUI apps signing and release to App store and Google Play, please make video for mac-catalyst and App Store Connect through pipelines as well

    • @jfversluis
      @jfversluis  Рік тому +1

      Thank you! I’ll see what I can do!

  • @newcryptotrader6982
    @newcryptotrader6982 8 місяців тому

    How to deploy it for macos?

  • @Criss129
    @Criss129 Рік тому

    What should I do when i want to generate .ipa file just for testing on iphone (Iphone that i don't have in hands, just want to send it to someone for tests)?

    • @jfversluis
      @jfversluis  Рік тому

      You still have to get a certificate and stuff… make sure that that device is in the provisioning profile or roll it out through TestFlight

  • @hellooojoe
    @hellooojoe 5 місяців тому

    Goo video but you stopped short. I would have liked to see how you publish the .ipa file to the app store. still 4/5 video. Good job.

  • @shaileshpandey6214
    @shaileshpandey6214 6 місяців тому

    I have publish an app in private mode and approved with processing to available for last 10 days. I contacted to apple support team he guided make an app to public.
    Why i had made a private because this app have not login credentials and now before make a public i want to add login credential, so i want to know that it will go again review process from scratch?

  • @Neha-lh6ok
    @Neha-lh6ok 2 роки тому

    Great video ! can we not pass the release command in Mac machine directly ? without using windows

    • @jfversluis
      @jfversluis  2 роки тому +1

      In theory that should be possible 😄 you won’t need to server address etc. If you decide to try it, let me know how it goes!

    • @Neha-lh6ok
      @Neha-lh6ok 2 роки тому

      @@jfversluis that went well , i was able to generate the ipa file in mac machine
      but the issue is i am unable to install the app it goes blank while opening

  • @gustavoborjas5806
    @gustavoborjas5806 Рік тому

    Do you think a Macbook air from 2017 will be enough to build the Ios app?

    • @jfversluis
      @jfversluis  Рік тому +1

      You can do it, but it will be slow probably

  • @clauselmann7974
    @clauselmann7974 Рік тому

    Hi
    Great content
    Just realize my Mac only support max xcode 14.2
    So i gues i cant use that for appstore deployment
    What i the minimum new hardware if I only need i to do appstore deployment?
    Thanks😊

    • @jfversluis
      @jfversluis  Рік тому

      Oof that sucks! Not sure of the exact hardware. I’ve found that the cheapest option is to get a secondhand Mac mini. But you’ll have to find one that still gets some macOS updates that are recent. Or use a service like macincloud.com

  • @pickleballplus3178
    @pickleballplus3178 9 місяців тому

    Great video. How do I get the Xamarin/XMA/SDK... loaded on Mac?

    • @jfversluis
      @jfversluis  9 місяців тому

      I'm not sure I understand your question. You shouldn't have to, installing the .NET SDK and .NET MAUI workload should be enough along with Xcode and Android SDKs.

    • @pickleballplus3178
      @pickleballplus3178 9 місяців тому

      is that path described in the publish command on windows or mac? Thank you.

  • @LorenzoJimenez
    @LorenzoJimenez Рік тому

    What about a local iphone through a lighting cable for testing or local use for 7 days?

  • @CezarSchwartz
    @CezarSchwartz 10 місяців тому

    Thanks!! How can I change the folder (category) name on IOS for my App?

    • @jfversluis
      @jfversluis  10 місяців тому +1

      Either a setting in your info.plist or the setting in your App Store definition of the app

    • @CezarSchwartz
      @CezarSchwartz 10 місяців тому

      Thanks!@@jfversluis

  • @kevinfurst8163
    @kevinfurst8163 Рік тому

    Hi Geral,
    I could successfully build an app like you described it. I could also upload it via Transporter. Now, if I rebuild the app and try to upload it again via the Transporter App, I get an error saying that I need to increase the bundle version (because it already exists). Where can I increase this version number?

    • @jfversluis
      @jfversluis  Рік тому

      You should do that in the info.plist :)

  • @duncanfirth
    @duncanfirth 2 роки тому

    What about hot restart hot reload. Can't ios be developed in VS with an ios mobile device? There are issues in xamarin forms and hot restart and the certificates. Developing on a Mac is just not possible for some of us.

    • @jfversluis
      @jfversluis  2 роки тому

      You will always need a Mac for a small part of the process. You will need to get a certificate from macOS and the final build that goes to the App Store needs to be done on a Mac.
      The latter can be done through using App Center or Azure DevOps. The former you will somehow need to access a Mac, once a year as the certificates also expire, somehow.

  • @philciraolo820
    @philciraolo820 2 роки тому

    Great video Gerald. I like the attention to details. I followed your video and all woked great until we got to the part where we publish from PowerShell. I'm getting error ld: framework not found System clang: error: linker command failed with exit code 1 (use -v to see invocation). Not sure what this is telling me. One possible cause is that I dont have the /p:_DotNetRootRemoteDirectory=/Users/{macOS username}/Library/Caches/Xamarin/XMA/SDKs/dotnet on my Mac. Should this have been created by the build process or am I missing a step somewhere

    • @jfversluis
      @jfversluis  2 роки тому

      Thank you Phil! This video assumes that you have Xamarin.iOS/.NET MAUI installed on your Mac machine. Maybe that's there this goes wrong?

    • @philciraolo820
      @philciraolo820 2 роки тому +1

      The issue was with the Microsoft.Indentity.Client. It was not compatible with iOS. The newest release has resolved the issue and all is now working. BTW the Mac is hosted on MacinCloud

  • @ttirrell
    @ttirrell 2 роки тому

    This was extremely helpful, however I am getting the follow error. Any ideas?
    Undefined symbols for architecture arm64:
    symbol(s) not found for architecture arm64
    linker command failed with exit code 1

    • @ttirrell
      @ttirrell 2 роки тому

      The only nugets I've added are .Net Maui CommunityToolkit and Microsoft.AppCenter

    • @jfversluis
      @jfversluis  2 роки тому +1

      I would try to remove the AppCenter one, I doubt that one works well with .NET MAUI

    • @WeMakeVideosCA
      @WeMakeVideosCA 2 роки тому

      Make sure your CodeSignEntitlement is commented out

  • @rjbraasch
    @rjbraasch 2 роки тому

    Thanks for the great video.
    Now that I've managed to greate a signed ipa file on my Windows PC, how do I upload it to the App Store? You quickly mentioned "Transporter" but I cannot get any information on how to use it, or install it, on Windows.
    I do not know where the ipa file is stored on my Mac, so there is no way I can do the upload from the Mac.
    It appears I am a bit stuck.
    Thanks

    • @jfversluis
      @jfversluis  2 роки тому

      Transporter only works from your Mac so you’ll have to use that. You can use the ipa you have on Windows though. That should be the same

    • @rjbraasch
      @rjbraasch 2 роки тому

      @@jfversluis Thanks for the prompt reply. Do I copy the ipa on Windows to the Mac, then run Transporter? Or is there an ipa soewhere on the Mac already?

    • @jfversluis
      @jfversluis  2 роки тому

      There should be an ipa on the Mac already as well, but it doesn’t really matter. It should be the same. So you can just copy it to your Mac and upload that

    • @rjbraasch
      @rjbraasch 2 роки тому

      Yes, got it to work by copying to Mac (shared folder), then dragging it into Transporter. Quite simple.

  • @user-yp2ow4yr3p
    @user-yp2ow4yr3p 5 місяців тому

    Hi Gerald, I followed all your steps but getting some error at the end of the command execution as "C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7124\tools\msbuild\iOS\Xamarin.Shared.targets(2732,3): error : Cod
    e signing must be enabled to create an Xcode archive".

    • @jfversluis
      @jfversluis  5 місяців тому

      There usually is an underlaying error when that happens. See for instance: github.com/dotnet/maui/issues/18231

  • @hmj6293
    @hmj6293 2 роки тому +1

    Thanks Gerald. Can .NET MAUI create an .app file and subsequently use .dmg package for installation on the MAC/MACBOOK? This is so I don't have to go through the Apple App store for the MAC OS.

    • @jfversluis
      @jfversluis  2 роки тому +2

      I still need to record the one for macOS. You can at least to a PKG file. See instructions I have so far here: github.com/dotnet/maui/issues/5399

  • @simonhenriquez4590
    @simonhenriquez4590 4 місяці тому

    transporter problems: ".dylib" binary file is not permtited.
    How can this problem be solved?

    • @simonhenriquez4590
      @simonhenriquez4590 4 місяці тому

      Well I solved it. Clean the solution, then delete the "bin" folder and the "obj" folder. Then without compiling the project, I made the publish by saving the "ipa" file to disk. I took the file to the Mac and uploaded it to Transporter without any problem.

    • @jfversluis
      @jfversluis  4 місяці тому

      Glad you figured it out!

  • @MarioLopez-eu8tj
    @MarioLopez-eu8tj 2 роки тому

    But if i choose the automatic provisioning and select my development team then appears a message error : This request is forbidden for security reasons: Authentication Error, Xcode 7.3 or later is required.
    I don't know how to solve it.

    • @jfversluis
      @jfversluis  2 роки тому

      Unfortunately this functionality is bugged right now because of breaking changes on Apples side

    • @WeMakeVideosCA
      @WeMakeVideosCA 2 роки тому

      @@jfversluis When can we expect a fix for this?

  • @ExtrafigHD
    @ExtrafigHD 8 місяців тому

    Does this work if I code in MacInCloud? :)

    • @jfversluis
      @jfversluis  8 місяців тому

      Don't have much experience with that, but it should, yes!

    • @ExtrafigHD
      @ExtrafigHD 8 місяців тому

      @@jfversluis Thanks for answering, appreciate it :)

    • @ExtrafigHD
      @ExtrafigHD 8 місяців тому

      @@jfversluis I want to be more specific and ask another question. Do you need Full Admin/Root Access for going through this video?

  • @WeMakeVideosCA
    @WeMakeVideosCA 2 роки тому

    22:06 is /p:EnableAssemblyILStripping=false still needed in Preview 13?
    I think this video was made a couple days before preview 13 release
    Edit: you can set this true in .net 13

    • @jfversluis
      @jfversluis  2 роки тому

      Try it out and you’ll see soon enough 😄

    • @WeMakeVideosCA
      @WeMakeVideosCA 2 роки тому

      @@jfversluis you can set it to true in .net 13. thank you for the detailed video. Saved me a lot of time

    • @jfversluis
      @jfversluis  2 роки тому

      Perfect, thanks for letting me know! True is the default option so then you can also remove it :)

  • @user-cb4jl6bi1v
    @user-cb4jl6bi1v Рік тому

    This video was very helpful for me. Is there a way to test this .ipa with TestFlight?

    • @jfversluis
      @jfversluis  Рік тому

      Absolutely, follow all this and upload to TestFlight :)

  • @alvinlouiediaz2833
    @alvinlouiediaz2833 Рік тому

    Any idea when I tried to dotnet publish error message saying "A runtime identifier for a device architecture must be specified in order to publish this project. 'iossimulator-x64' is a simulator architecture."

    • @jfversluis
      @jfversluis  Рік тому

      So you set the configuration to release?

    • @alvinlouiediaz2833
      @alvinlouiediaz2833 Рік тому

      @@jfversluis Yes I did. Do you happen to know what cause the issue?

    • @rigobertoespinal8413
      @rigobertoespinal8413 Рік тому

      Hello, I have exactly the same error. Could you help me by telling me how to fix it? thank you

  • @Neha-lh6ok
    @Neha-lh6ok 2 роки тому

    I have uploaded my apps ipa file on transporter and done all publishing formalities but my app is being rejected in review , it has been rejected twice can you please make video on publishing process

    • @jfversluis
      @jfversluis  2 роки тому

      The reason for rejection can be many things. It’s impossible to create something that works for all these scenarios. Read through the reason why it’s rejected and try to find more information online about it.

    • @Neha-lh6ok
      @Neha-lh6ok 2 роки тому

      @@jfversluis , it says app is incomplete although I have checked apps functioning on virtual and physical device through visual studio ,are there any third party tools to install and check the app like androids universal.apk is checked . please let me know

    • @jfversluis
      @jfversluis  2 роки тому

      Maybe they mean it’s incomplete in functionality? Are there any screens that are not completely functional yet? And this is just guessing for me. I don’t know the app or why it was rejected. If you want to know more, ask Apple :)

    • @Neha-lh6ok
      @Neha-lh6ok 2 роки тому

      @@jfversluis okay , thank you for your quick response

  • @SilasAnastacio
    @SilasAnastacio Рік тому

    Thanks Gerald, I followed your steps to create the certificate, but appears the message: certificate is not trusted.

    • @jfversluis
      @jfversluis  Рік тому +1

      Hmm strange. Haven’t really seen that error unfortunately

  • @22737716p
    @22737716p 2 роки тому

    Hi , I'm trying to do this same thing but for an ios app signing and debugging on an ipad. Everything seems to work fine, until I try to distribute the app, at which point if I don't install it directly from visual studio, it gives me a signing error. I see in the project file that there is a section where it says VS: WildCard Development and when I try to change it to a distribution profile of my developer account apple I get the error "No ios signing identities match the specified provisioning profile". How do I make the "HOTRELOAD" allow me to distribute my ios application? THANKS

    • @jfversluis
      @jfversluis  2 роки тому

      You mention Hot Reload, do you mean Hot Restart? Are you developing the iOS app from your Windows machine directly, without a Mac? In that case you can't release it like that.

    • @22737716p
      @22737716p 2 роки тому

      @@jfversluis Sorry for the error, yes, it was hot restart and I actually wanted to configure the ipa to distribute it without mac. So if I have not misunderstood you, it is not possible to specify in visual studio that it uses another certificate that I already have in my account different apple developer than VS: WILDCARD? thnks

  • @CricketThomas
    @CricketThomas 2 роки тому

    Would you show us how to do this using AzDevops?

    • @jfversluis
      @jfversluis  2 роки тому

      Planning to maybe make something like that, it might be with GitHub Actions though...

  • @msoulforged
    @msoulforged 2 роки тому

    When I add the certificate, it says "..... certificate is not valid" in red. Any ideas?

    • @msoulforged
      @msoulforged 2 роки тому

      Ok apparently Apple Developer Relations Intermediate Certificate is updated and if you have outdated version it gives trust error.

    • @jfversluis
      @jfversluis  2 роки тому

      Glad you figured it out!

  • @draganabasaricdb
    @draganabasaricdb Рік тому

    Hi, I am Dragana
    I would be very grateful if you could help me. I am currently trying to publish my MAUI app in ios.
    I followed your video and did everything according to Microsoft documentation but I get the following error:
    A runtime for a device architecture must be specified in order to publish this project. iossinulator is a simulator architecture
    Thank you very much 😊
    Best regards

    • @jfversluis
      @jfversluis  Рік тому

      Are you sure you are publishing with the release configuration?

    • @draganabasaricdb
      @draganabasaricdb Рік тому

      Hi thank you for your answer 😊
      So. I wanted to create ".ipd" with command in the video.
      If I understand correctly then "-c: Release" means that I am publishing with releas configuration?
      Or do I need to set something else besides that?

    • @draganabasaricdb
      @draganabasaricdb Рік тому

      Gerald, thank you for the great video. It was helpful for me.
      I would be nice if you could make a video how to upload this through the Transporter app and make it App available through Testflight 😊

    • @rigobertoespinal8413
      @rigobertoespinal8413 Рік тому

      Hello, I have exactly the same error. Could you help me by telling me how to fix it? thank you

  • @punkouter23
    @punkouter23 Рік тому

    is there an easier way in 2023? Or anyone create a tool to make this easier to get to the store ?

    • @jfversluis
      @jfversluis  Рік тому

      I think there is some UI in Visual Studio these days, but the process is what it is mostly. This is still the best way afaic

    • @punkouter23
      @punkouter23 Рік тому

      @@jfversluis I am creating a simple game with MAUI in VS2022 on windows and can deploy to the phone. Can I create the IPA file on windows and skip the mac? I am just confused exactly at what point in the process I need the mac? For Unity I can create the xcode project on the PC so its just copying that folder to the mac... perhaps on the mac once I am done with the maui project I should copy it to the mac and load it in mac vs2022? Trying to find the easiest way possible to make it through this process.

    • @jfversluis
      @jfversluis  Рік тому

      You can create an ipa on Windows but only if you are connected to a Mac. Apple requires iOS apps to be built on a Mac unfortunately. There is no way around it.

    • @punkouter23
      @punkouter23 Рік тому

      @@jfversluis ok. But that means I need Va for Mac installed right? It I physically don’t need to touch the Mac?

    • @jfversluis
      @jfversluis  Рік тому

      Visual Studio for Mac is the easiest way to get all the prerequisites installed. Once setup you don’t need to touch it and you can connect to it through the network with Visual Studio on Windows. All is described here: learn.microsoft.com/dotnet/maui/ios/deployment/

  • @AhmedTXT
    @AhmedTXT 2 роки тому

    very nice vediooooooooooooooooooooooooooooooooooo
    i love you Bro
    can you please Explain how i can create Developer account on apple
    every time to create have errors
    could you please help me for create account
    thanks and best regards

    • @jfversluis
      @jfversluis  2 роки тому +1

      I doubt I would encounter any error and also I don’t want to pay twice a year 😜 if you see any errors you probably want to contact Apple support and figure it out with them

    • @ATNL4
      @ATNL4 Рік тому

      @@jfversluis by the way thank u for great work, btw do u know how much it cost to joint Apple Developer program ?

    • @jfversluis
      @jfversluis  Рік тому +1

      @@ATNL4 it might differ a bit locally depending on currency but it should be 99 dollar per year

  • @enricoroselino7557
    @enricoroselino7557 4 місяці тому

    then i might also come here once a year

    • @jfversluis
      @jfversluis  4 місяці тому

      😂 see you next year!

    • @enricoroselino7557
      @enricoroselino7557 4 місяці тому

      @@jfversluis i also run into "unable to build chain to self-signed root", thank you.. your blog is saving me once again 😂

  • @ATNL4
    @ATNL4 Рік тому

    I try many time to register in iOS Developer account , but always it give me can't complete, and this iOS support ppl not responding , really this very crazy they don't want money ? they kick ppl not support no responding , no way to help anybody to build software for iOS that why Google will win the market because they know how to deal with customers. really shame on u Apple.

    • @jfversluis
      @jfversluis  Рік тому +1

      Yeah Apple being Apple 😩 sorry you have to go through this!

  • @Momma_bears
    @Momma_bears Рік тому

    This video doesn't help because I am using a Mac and you published through windows

    • @jfversluis
      @jfversluis  Рік тому

      The commands are exactly the same on a Mac

  • @BijinLaoch
    @BijinLaoch Рік тому

    Too Complicated

  • @Sumankumari-wb4vx
    @Sumankumari-wb4vx 7 днів тому

    Hi @jfversluis, I don't have Mac, can I publish Ios app through Visual Studio Maui APP. I have windows, VS and iphone but don't have mac so it is necessary to have MAC for publishing. Bez I am getting Failed to create App Archive

    • @jfversluis
      @jfversluis  7 днів тому

      The build that goes to the App Store needs to be created with a Mac. That is what Apple has decided. You cannot publish to the App Store from Windows.

  • @lukefranky
    @lukefranky Рік тому +1

    Appreciate the tutorial, but who would publish an app made with MAUI to the app store?
    I have been trying to use the platform and it is clearly not fit for purpose. Bug after bug. I've spent more time logging obvious bugs to GitHub than I have done actually getting work done.

    • @jfversluis
      @jfversluis  Рік тому

      There are hundreds of apps available on the app stores today. One is about to be launched by the Dutch government next month with a current user base of 15 million downloads and 5 million active sessions per month.
      Are there absolutely no issues, there definitely are. Can you release your app today, absolutely 100%.
      .NET 8 will have a ton of improvements on quality. It should be more smooth sailing from there hopefully.
      Thanks for making the product better by logging the issues!

    • @lukefranky
      @lukefranky Рік тому

      @@jfversluis I understand the defensiveness, but a quick google shows my experience is not a uncommon one.
      Apologies for my bluntness. My frustration is boiling over. I am not being hyperbolic when I say this framework has stolen the joy out of my work. Simple things are broken and every update brings more regressions than fixes. I'm a .NET fan, but MAUI has been a hard road and I'm at wits end with it.

    • @jfversluis
      @jfversluis  Рік тому

      No defensiveness, you asked who would publish an app, I gave an answer that a lot of people are already doing it.
      I’m sorry you feel this way, we’re working hard to make it better.

  • @RiffySam
    @RiffySam Рік тому

    When I try the following command on my Windows VS 2022:
    dotnet publish -f:net7.0-ios -c:release
    I get the following error:
    C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.1.1477\targets\Xamarin.Shared.Sdk.Publish.targets(22,3): error : A runtime identifier for a device architecture must be specified in order to publish this project. 'iossimulator-x64' is a simulator architecture. [D
    :\VS 2022\Project\Project\Project.csproj::TargetFramework=net7.0-ios]
    Project.csproj has following settings:

    net7.0-maccatalyst;net7.0-android33.0;net7.0-ios
    and

    ios-arm64
    Any ideas why I am getting' iossimulator-x64' error.
    Thanks

  • @BreakingSkiesMedia
    @BreakingSkiesMedia Рік тому +1

    i did this many times with xamarin.forms before, I run this command:
    sudo dotnet publish -f:net6.0-ios -c:Release -r ios-arm64 --self-contained
    But I crash with: Warning: unable to build chain to self-signed root for signer "Apple Distribution: Skillbased GmbH
    I believe it is because I wasnt able to set up an app specific password here, which I usually did in xamarin.forms. Could this be the reason? If so, where would I put this to?
    I am running visual studio mac

    • @jfversluis
      @jfversluis  Рік тому

      Searching for this error gives me a lot of results about Apple and Xcode, so I have a hunch that something isn't setup right

    • @BreakingSkiesMedia
      @BreakingSkiesMedia Рік тому

      @@jfversluis after spending hours on this what I did was: remove ALL profiles that even remotly bear the name of the app in the keychain, also delete all global apple world wide certifactes. then re create just ONE provisioning profile and ONE certificate and put it into the keychain. it will be on "untrusted". now download ALL apple world wide certs that expire after 2023 (its like 4 or 5) and also put them into the keychain. the certificate should now be on trusted. now run the command without the sudo user and it worked!!

  • @ATNL4
    @ATNL4 Рік тому

    Do u know why I got this message ? C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.0.527\targets\Xamarin.Shared.Sdk.Publish.targets(22,3): error : A runtime identifier for a device architecture must be specified in order to publish this project. 'iossimulator-x64' is a simulator architecture. [D:
    \Code\ESTS\ESTS\ESTS.csproj::TargetFramework=net6.0-ios]

    • @jfversluis
      @jfversluis  Рік тому +1

      Maybe have a look at this: stackoverflow.com/questions/72399444/errors-with-dotnet-publish

    • @ATNL4
      @ATNL4 Рік тому

      @@jfversluis really whatever I did, I was unable to publish the project, I don't know why those iOS developers make it as shit, really this annoying, maybe they don't know how to work so they make it complicated, or they do this for a purpose .
      but from what I found, they are a bunch of stupied.

  • @Neha-lh6ok
    @Neha-lh6ok Рік тому

    I followed the video as it is after passing the release command its throwing an error saying "Code signing must be e
    nabled to create an Xcode archive." although i have mentioned the in .csproj property group

    ios-arm64


    Apple Distribution: XXXXXXX Information Systems Private Limited (XXXXXXX)
    MXXXXXXXXXXDev
    true
    79788
    ,

  • @b.official
    @b.official 10 місяців тому

    ci/cd for .net maui

    • @jfversluis
      @jfversluis  10 місяців тому

      Build Your .NET MAUI Android App with GitHub Actions
      ua-cam.com/video/GQuQPm40kys/v-deo.html