PushSharp Apple - The message received was unexpected or badly formatted
问题 I am using version 2.1.2 of PushSharp. The app is .NET 4.5.1 (although I have also tried targeting .NET 4.5 and .NET 4) I am trying but not succeeding to send push messages through the sandbox Apple APNS. I am successfully sending messages using a PHP script provided here on Ray Wenderlich's walkthrough using the same certificate and sending to the same device ID as for my PushSharp app. I have tested by exporting the completed cert as p12 from the key chain. Exporting the completed cert and