On Mon, Apr 27, 2009 at 5:31 PM, Daniel Child <wch...@hawaii.edu> wrote:
> I am trying to create a framework out of some files that I use in a few
> apps. I expected this to be easy, but instead got a kazillion warnings, all
> of which take the form:
>
> objc_class_name_<NAME> referenced from
> <some method> in <some file>.o
> [MANY METHODS AND FILES LISTED]
>
> or
>
> objc_msgSend<msg> referenced from
> <some method> in <some file>.o
>
> or
>
> NSLog referenced from
> <some method> in <some file>.o
>
> Since the files originally came from projects that work (and do have Cocoa.h
> imported), I'm at a loss as to why this error would come up. If someone
> knows, or knows where I could read about this issue, I'd really appreciate
> it. Thanks.

Link your framework against Cocoa as well as importing it.

Mike
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to