MacGapProject / MacGap1

Desktop WebKit wrapper for HTML/CSS/JS applications.
Other
3.55k stars 208 forks source link

When I try to build the app in xcode, I get a protocol declaration error. #58

Open arun057 opened 11 years ago

arun057 commented 11 years ago
/MacGap/Classes/Commands/Notice.h:13:31: Cannot find protocol declaration for 'NSUserNotificationCenterDelegate' from file: /MacGap/Classes/WebViewDelegate.m:9:9: In file included from /MacGap/Classes/WebViewDelegate.m:9: any ideas?
douyw commented 11 years ago

I got just the same error.

arun057 commented 11 years ago

@douyw I figured it was because either I was not on the new mountain lion or because I didnt have growl installed (is there a dev version? ). Either way, I reverted to a previous version just before growl was included and bam! it worked.

p.s : I think its the new notification center api included with the new os.

douyw commented 11 years ago

@arun057 You are right! Thank you!

seinfeld commented 11 years ago

I got this error because i wasn't building with Base SDK set to OS X 10.8 in Build Settings.