[App Store] Push-Notifications Problem

eisenmad

Erdapfel
Registriert
11.09.17
Beiträge
1
Hallo

ich möchte eine iOS App zu Testflight übermitteln (als Vorbereitung für den Upload zum App Store). Ich verwende Xamarin Forms, da die App auch für Android entwickelt wird.

Ich entwickle auf meiem Windows 10 Enterprise PC mit Xamarin 4.6.0.299 und Visual Studio Professional 2015. Auf meinem MacBook ist ein macOS Sierra 10.12.6, sowie Xcode 8.3.3 installiert. Als minimales Target habe ich iOS 9 eingestellt, damit ich AppThinning nutzen kann. Ich habe im Apple Developer Portal ein Distribution Zertifikat erstellt (und im Schlüsselbund des MacBook installiert), sowie ein Provisioning Profile (in XCode installiert) und eine App-ID. Die IPA wird gebaut und ich konnte inzwischen alle Rückmeldungen von Testflight bis auf eine eliminieren:

Dear developer,

We have discovered one or more issues with your recent delivery... Your delivery was successful, but you may wish to correct the following issues in your next delivery:

Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library...s.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.

After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.



Ich verwende keine Push-Notifications. Daher ist mir nicht klar wieso Apple behauptet, dass ich welche registriere. Ich habe explizit darauf geachtet, dass im Provisioning Profile Push-Notifications disabled sind. In der Entitlement.plist ist ebenfalls kein Haken für Push-Notifications. In der AppDelegate.cs habe ich zu Beginn zudem die Methode UnregisterForRemoteNotifications() eingebaut.

Leider bleibt die obige e-mail Meldung, jedesmal aufs Neue wenn ich die IPA in den Application Loader übergebe.

Hat jemand eine Idee wie ich da weiter vorgehen kann?

Vielen Dank und Grüße