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

NSError category class method problem #66

Closed
JeremyAgost opened this issue May 30, 2012 · 1 comment
Closed

NSError category class method problem #66

JeremyAgost opened this issue May 30, 2012 · 1 comment

Comments

@JeremyAgost
Copy link

As it is, *+ (NSString )gitLastErrorDescriptionWithCode:(NSInteger)code is declared before the other class methods. When I build any target, it fails because two of the other methods in the NSError category call that class method. Fixed by moving *+ (NSString )gitLastErrorDescriptionWithCode:(NSInteger)code method to the top of the category.

@joshaber
Copy link
Member

joshaber commented Jun 2, 2012

Sounds like you need to update to Xcode 4.3. The newer LLVM doesn't require method declaration before their use.

@joshaber joshaber closed this as completed Jun 2, 2012
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

No branches or pull requests

2 participants