Apple Push Services created instead of Apple Production iOS Push Services

后端 未结 4 2040
遇见更好的自我
遇见更好的自我 2020-12-13 18:19

I\'m trying to create a certificate for Production iOS Push Services. Instead I get an Apple Push Services. How can I create a dedicated

4条回答
  •  我在风中等你
    2020-12-13 19:04

    Apple Change Apple Production IOS Push Services cert name to Apple Push Services if you used pushsharp , you need go to github https://github.com/v-tsymbalistyi/PushSharp download zip and used visual studio recombile because the code change if (production && !subjectName.Contains("Apple Production IOS Push Services") && !subjectName.Contains("Apple Push Services")) throw new ArgumentException("You have selected the Production server, yet your Certificate does not appear to be the Production certificate! Please check to ensure you have the correct certificate!");

                if (!production && !subjectName.Contains("Apple Development IOS Push Services") && !subjectName.Contains("Pass Type ID"))
                        throw new ArgumentException("You have selected the Development/Sandbox (Not production) server, yet your Certificate does not appear to be the Development/Sandbox certificate!  Please check to ensure you have the correct certificate!");            
    

    and you just copy PushSharp.Apple.dll to server then everything OK

提交回复
热议问题