vapor-apns icon indicating copy to clipboard operation
vapor-apns copied to clipboard

Crash in String+APNS.swift

Open sadiq81 opened this issue 7 years ago • 2 comments

Line 44 try newText.write(toFile: self, atomically: false, encoding: .utf8)

Make the whole app crash

sadiq81 avatar Mar 18 '17 19:03 sadiq81

Make sure you have read and write access to the key file. The keyfile is in a wrong file format when downloaded from apple and therefore it needs to be altered in order for it to be readable/parsable.

matthijs2704 avatar Mar 19 '17 10:03 matthijs2704

Could you perhaps also write it in the documentation. Sometimes the web server will not have +w rights on the server instance.

sadiq81 avatar Mar 20 '17 08:03 sadiq81