iOS build/provisioning help

Tom Hall 1 Reputation point
2022-11-04T14:01:03.777+00:00

Hello,
I've built an app using Xamarin Forms in Visual Studio 2022. I'm ready to push the iOS version to Test Flight so a few others can test it. I'm struggling to get this to work. I have a mac paired with my PC to do the iOS builds, and have successfully built and used the iPhone simulator on my PC. I've gone in circles creating certificates, provisioning profiles, etc. I've been trying this for 2 days now and feel like I need to start from scratch. I'd list where my issues were but to be honest, I've been back and forth on this so much that I wouldn't know where to start listing them. Can anyone help me by giving me a step by step process to accomplish this? ex: from successfully doing a debug build on my PC Visual Studio -> publishing app to Test Flight.

any information is very much appreciated.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,274 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,516 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,341 Reputation points Microsoft Vendor
    2022-11-07T04:53:24.063+00:00

    Hello @Tom Hall ,

    You could refer to this doc- Publishing Xamarin.iOS apps to the App Store - Xamarin | Microsoft Learn, and pay attention to the following key points:

    1. Configure your App in APP Store Connect
    2. Create a Distribution Certificate and Create a Distribution Profile, it's recommended to create an explicit App ID (copy the Bundle identifier in info.plist of your iOS project)
    3. Make sure pair to mac and select the Distribution Profile in your Xamarin.iOS Project
    4. Be aware of the app-specific password when building and submitting your app, it may ask for the password on your Mac. If the waiting time is too long when submitting, you can choose Ad-Hoc, then export the ipa, and use Apple Transporter to upload.

    If you have any other issues, please feel free to let me know.

    Best Regards,
    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments