Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carbon framework - Public headers




On 7 May 2006, at 18:49 , Chris Espinosa wrote:


On May 7, 2006, at 9:08 AM, Patrick Perroud wrote:

My XCode 2.2.1 project is a carbon framework using MacOSX10.4u.sdk and a target build architecture set to "ppc i386".

This framework has public headers - to go into 'A'.

Adding a new build phase to copy these headers at building time doesn't work since the built framework doesn't have any "Headers" folder into "A".

I'm getting quite bored of doing this manually everytimes - the real thing then the symlinks - therefore there is my question: how could I set my XCode project so it would create this missing "Headers" folder into "A" at building time, letting me copy my public headers in there using a simple "Copy" build phase?

Have you set up the project according to the guidelines in "Creating Versioned Frameworks" in the Xcode user guide?


http://tuvix.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/ index.html

Specifically, set the Framework Version build setting to "A" .

Chris

>

I think I do: the framework tree looks correct - it just doesn't add the Headers folder.

And since you mentionned the Framework programming guide - the tree is exactly similar to the one shown on page 14 of the PDF documentation (2006-03-08)

IOW - it was created without the "Headers" folder I need.

On page 15 - it is said that "to create additional directories in your frameworks, you must add build phases to the appropriate target in XCode".

It also says that "the Copy Files build phase lets you create directories" - but I was unable to do that.

So - I guess the overall issue could be summarized to this: how do we create folders with the Copy Files build phase?

Best regards

Patrick Perroud

- - - - - - - - -
http://p.perroud.free.fr/



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Carbon framework - Public headers (From: Patrick Perroud <email@hidden>)
 >Re: Carbon framework - Public headers (From: Chris Espinosa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.