Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Crash in String+APNS.swift #33

Open
sadiq81 opened this issue Mar 18, 2017 · 2 comments
Open

Crash in String+APNS.swift #33

sadiq81 opened this issue Mar 18, 2017 · 2 comments
Assignees

Comments

@sadiq81
Copy link

sadiq81 commented Mar 18, 2017

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

Make the whole app crash

@matthijs2704
Copy link
Owner

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.

@sadiq81
Copy link
Author

sadiq81 commented Mar 20, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants