Skip navigation.
 
mlRe: First steps in xCode
FROM : Andreas Höschler
DATE : Fri May 02 16:54:29 2008

Hi all,

>> How can I convince xCode to create a framework with a Headers
>> directory? I have
>>
>> Targets
>> SRTest
>>  Copy Headers
>>    Person.h
>>
>> in Groups & Files and assumed this would tell xCode to copy to create
>> the Headers dir. But this does not seem to be the case. A framework
>> without a Headers is absolutely useless. I googled for hours but
>> found nothing. I am currently running xCode 3.0 but have also already
>> tried newer builds. Nope!

>
>
> Select the "Copy Headers" build phase and look in the Detail View
> where you will find the header files listed. Look for the "Role"
> column, and make sure to mark all headers that you want to have copied
> to the Headers folder as "Public".


In the meanwhile I figured out how to export the headers of a
framework. The http://rentzsch.com/share/embeddingFrameworks.mov
explains this in greate detail, also how to embed a framework into an
application. However, I want to install the Frameworks in
/Library/Frameworks so that multiple applications can access them. I
opened "Get Info " on the Target and made sure "Installation directory"
is set to "/Library/Frameworks". Unfortunately this setting seems to be
ignored. The Framework is installed in /Build/Release instead.

Any idea?

Thanks,

  Andreas

Related mailsAuthorDate
mlFirst steps in xCode Andreas Höschler Apr 30, 18:47
mlRe: First steps in xCode j o a r Apr 30, 19:07
mlRe: First steps in xCode Andreas Höschler May 2, 16:54
mlRe: First steps in xCode Christiaan Hofman May 2, 17:24
mlRe: First steps in xCode Andreas Höschler May 2, 18:15
mlRe: First steps in xCode Christiaan Hofman May 2, 18:21
mlRe: First steps in xCode Andreas Höschler May 2, 18:41
mlRe: First steps in xCode Christiaan Hofman May 2, 18:49
mlRe: First steps in xCode Andreas Höschler May 2, 19:00