On 2009 Apr 27, at 14:31, Daniel Child 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,

-- Sorry to interrupt you in mid-sentence, but your expectation is wrong --

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]

objc_msgSend<msg> referenced from
<some method> in <some file>.o

NSLog referenced from
<some method> in <some file>.o

Sounds similar to what happened to me not long ago. Wrong prefix header. Read this:

http://www.cocoabuilder.com/archive/message/xcode/2009/3/15/27679

But, more importantly, read this:

http://talblog.info/archives/2007/05/look_ma_no_fram.html

Also click on and read the linked articles in there, in particular the article by Wil Shipley.

Then, after considering all the better alternatives, if you still think that you want to create a framework from your files and if you (or, I should say, WHEN you) have further trouble, you should ask over on xcode-us...@lists.apple.com since they know more about building with frameworks.

_______________________________________________

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