question

TomHall-0825 avatar image
0 Votes"
TomHall-0825 asked WenyanZhang-MSFT commented

iOS build/provisioning help

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.

dotnet-xamarinvs-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @TomHall-0825 , May I know whether your issue has been solved or not? If not, please share it in here. We can work together to figure it out.

0 Votes 0 ·

1 Answer

WenyanZhang-MSFT avatar image
0 Votes"
WenyanZhang-MSFT answered

Hello @TomHall-0825 ,

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.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.