Mailing Lists: Apple Mailing Lists

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

Using custom framework



Hi,

I've written a framework, ObjCGI (no prizes for guessing what it does ;-) which builds and creates a target objcgi.framework. I then go to write a test app...new Foundation Tool project 'objcgitest' in XCode, locate my framework's build directory and dragged the objcgi.framework directory into the 'objcgitest' project, under the "External Frameworks and libraries" folder. The following code snippit doesn't work because it can't find the header file...so what have I missed?

#import <Foundation/Foundation.h>
#import <cgiobjc/GJLObjCGIController.h> /* This line fails it */

int main (int argc, const char * argv[]) {
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

    // insert code here...
    NSLog(@"Hello, World!");
    [pool release];
    return 0;
}

Thanks,

Graham.
--
Graham Lee                       GPG Key ID: 01D5B9D8
UNIX Systems Manager,
Oxford Physics Practical Course
http://nextstep.sdf-eu.org               01865 273450

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

This email sent to 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.