FROM : Andreas Höschler
DATE : Wed Apr 30 18:47:06 2008
Hello all,
I am an old OPENSTEP developer and have been working with
ProjectBuidlerWO.app on MacOSX 10.2.8 until now. We needed to upgrade
to 10.5.X now for several reasons, so it's time to get our hands dirty
with xCode. I am trying to create a simple framework SRTest exporting a
class Person with only one method
+ (void)print
{
NSLog(@"Hello World!");
}
and call that from main.m of a cocoa tool linking to that framework. I
spent hours on this simple first step and and tearing my hairs out. The
framework project builds successfully and put a SRTest.framework into
/Build/Release. However, this framework does not contain a Headers
directory. So it's clear that building TestTool fails with
error: SRTest/Person.h: No such file or directory
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!
Hints are greatly appreciated!
Thanks a lot!
Regards,
Andreas
DATE : Wed Apr 30 18:47:06 2008
Hello all,
I am an old OPENSTEP developer and have been working with
ProjectBuidlerWO.app on MacOSX 10.2.8 until now. We needed to upgrade
to 10.5.X now for several reasons, so it's time to get our hands dirty
with xCode. I am trying to create a simple framework SRTest exporting a
class Person with only one method
+ (void)print
{
NSLog(@"Hello World!");
}
and call that from main.m of a cocoa tool linking to that framework. I
spent hours on this simple first step and and tearing my hairs out. The
framework project builds successfully and put a SRTest.framework into
/Build/Release. However, this framework does not contain a Headers
directory. So it's clear that building TestTool fails with
error: SRTest/Person.h: No such file or directory
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!
Hints are greatly appreciated!
Thanks a lot!
Regards,
Andreas
| Related mails | Author | Date |
|---|---|---|
| Andreas Höschler | Apr 30, 18:47 | |
| j o a r | Apr 30, 19:07 | |
| Andreas Höschler | May 2, 16:54 | |
| Christiaan Hofman | May 2, 17:24 | |
| Andreas Höschler | May 2, 18:15 | |
| Christiaan Hofman | May 2, 18:21 | |
| Andreas Höschler | May 2, 18:41 | |
| Christiaan Hofman | May 2, 18:49 | |
| Andreas Höschler | May 2, 19:00 |






Cocoa mail archive

