cannot combine with previous 'type-name' declaration specifier

ios, objective-c

Solution

Likewise I had a typo in a random file in the project. It was just some plain text that was accidentally placed before a comment. My suggestion to fix/find it would be to put a ; just before the statement that is flagged. This then drew a warning to the errant text when I compiled.

Problem

My iOS app was working and all of a sudden I'm seeing this error: "cannot combine with previous 'type-name' declaration specifier". Any ideas on what could be causing this error? ``` #import "SalesAPIManager.h" @interface SalesDelegate : NSObject { // error points to this line __unsafe_unretained id<SalesAPIManagerDelegate> delegate_; } @property (unsafe_unretained, nonatomic) id<SalesAPIManagerDelegate> delegate; - (id)initWithDelegate:(id<SalesAPIManagerDelegate>)delegate; @end ```

Original source