How can I publish my Xamarin App to the App Store?

TID97 20 Zuverlässigkeitspunkte
2024-03-04T15:07:58.1666667+00:00

Hello everyone,

I tried to publish my application in the App Store, but during this process I've faced an issue. I already prepared everything I need for the distrubution. I have a certificate, an identifier with the same bundleID like my application and a provisioning profile. Anytime I try to build my application, everything worked fine until the distribution process. I already defined the build options of my IOS project, I selected the distribution certificate and the provisioning profile I generated and I included the property list file (info.plist) into the build options. So anytime I try to publish the application through the visual studio assistant it gets to the point, an .ipa file gets generated and afterwards it complains with the message "unable to validate archive". My next try was opening the created archive file with XCode and trying to publish the application with XCode itself. Even there anything worked without issues, until I had to choose a provisioning profile for the distribution. After selecting the created provisioning profile XCode complained about missing entitlements inside the provision profile, although I already defined them inside the property list file of my Xamarin IOS project. Inside my Apple Development account I don't have the opportunity to set any entitlements like in the property list. I also tried to contact the Apple Development Support, whether they can give me a permission to edit those entitlements inside the provisioning profile. But they rejected my request, due to the fact that I use a thrid party plattform (visual studio) for the distribution.
Now my question is, how can I solve the conflict between the missing entitlements inside the provisioning profile and the property list I've already included into my build options? Or is there another possibility to add such entitlements inside the provisioning profile?
If anyone knows how to solve that issue or knows what I could have missed during this process, please let me know.

Thanks in advance.

Xamarin
Xamarin
Eine Open-Source-App-Plattform von Microsoft zum Erstellen von Android- und iOS-Apps mit .NET und C#
1 Frage
.NET
.NET
Microsoft-Technologien, die auf dem .NET-Softwareframework basieren.
15 Fragen
0 Kommentare Keine Kommentare
{count} Stimmen

Akzeptierte Antwort
  1. Ivan Dragov (CONCENTRIX Corporation) 1.310 Zuverlässigkeitspunkte Microsoft-Anbieter
    2024-03-05T11:48:08.4766667+00:00

    Hallo TID97,

    Welche Funktionen möchtest Du Deiner Datei "Entitlements.plst" hinzufügen? Nicht alle Funktionen können mit der automatischen Bereitstellung hinzugefügt und verwaltet werden. Um nicht unterstützte Funktionen hinzuzufügen, verwendest Du die manuelle Bereitstellung, und führst Du die Schritte im Abschnitt Developer Center aus. Um ein Bereitstellungsprofil ordnungsgemäß zu erstellen, musst Du möglicherweise auch zusätzliche Berechtigungen (Berechtigungsschlüssel in der Datei „Entitlement.plist“ sowie Datenschutzschlüssel in der Datei „Info.plist“) festlegen. Dieser Artikel bietet weitere Informationen:

    Arbeiten mit Funktionen in Xamarin.iOS

    Gruß,

    Ivan Dragov

0 zusätzliche Antworten

Sortieren nach: Am hilfreichsten