Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid NSError instance #444

Closed
wants to merge 1 commit into from
Closed

Conversation

werm098
Copy link

@werm098 werm098 commented Dec 15, 2017

Calling default init on NSError now throws an exception (Xcode 9.2)
Warning Message: -[NSError init] called; this results in an invalid NSError instance. It will raise an exception in a future release. Please call errorWithDomain:code:userInfo: or initWithDomain:code:userInfo:. This message shown only once.

Calling default init on NSError now throws an exception (Xcode 9.2)
Warning Message: `-[NSError init] called; this results in an invalid NSError instance. It will raise an exception in a future release. Please call errorWithDomain:code:userInfo: or initWithDomain:code:userInfo:. This message shown only once.`

Change-Id: If6f184f0b15c044e36d5aa3af0aa1f92534c610b
@daltoniam
Copy link
Owner

Ah good catch. I had another branch going with some other fixes so I just pulled this code into version 3.0.4 which I just released! Thanks again.

@daltoniam daltoniam closed this Jan 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants