First steps in xCode

Andreas Höschler ahoesch at smartsoft.de
Fri May 2 07:54:29 PDT 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



More information about the MacOSX-dev mailing list