I have created a static library in Iphone SDK in which I used some UIDevice properties. When I run the app, this xcode show this error UIDevice Undeclared... Even the same code is running perfectly fine while I don't create static libraries and just build the source files.
Asked
Active
Viewed 7,963 times
20
-
I'm getting this too in my new static library, for UIDevice and also for UIApplicationWillTerminateNotification - the references worked fine in my main app. They are both in UIKit.framework, which I've added to my library's 'Link Binaries With Libraries' list, but I get undeclared errors. – Surfbutler Sep 29 '11 at 15:30