• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Where to install custom framework to support a plug-in architecture?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to install custom framework to support a plug-in architecture?


  • Subject: Re: Where to install custom framework to support a plug-in architecture?
  • From: Erik Stainsby <email@hidden>
  • Date: Mon, 13 Feb 2012 20:30:30 -0800

*sigh*

Well, I have two projects set up under one workspace: they are side by side in the same folder: Code/Trixie/RSPanel (the framework), and RSTrixie (the app).  They appear in Xcode as sibling projects.

I stuck in a Copy Headers step in the build phases and the Header folder now shows and has content in the app project.

When I build they both build. If I clean either, the framework is marked red in both. When the build completes the log shows no errors and the framework is black again in the navigator.

It is the no errors which is frustrating me. No errors but no window either. This is a tiny rudimentary project, and the AppDelegate is untouched save for adding an instance of a single class object from the framework:


For the record:

#import <Cocoa/Cocoa.h>

@interface RSPanel : NSObject

@property (retain) IBOutlet NSString * title;

@end


And then the application calling this stub class:


#import "RSAppDelegate.h"

@implementation RSAppDelegate

@synthesize rspanel;
@synthesize window = _window;

- (void) awakeFromNib {
	NSLog(@"%s- [d] %@", __PRETTY_FUNCTION__, __LINE__, @"");
}

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
	// Insert code here to initialize your application
}

@end

Cheers,
Erik


On 2012-02-13, at 12:36 PM, Chris Hanson wrote:

> Select the project containing your framework target in the project navigator at left of your workspace window, and to the right you'll get an editor for it. In that editor's left column, select your framework's target and choose the Settings tab. That's where you can edit build settings for your framework's target; you should be able to just paste in a copy of the "DYLIB_INSTALL_NAME_BASE" line from my previous email there to add that setting. (It'll show up as a custom setting.)
>
> You can do the same to edit the build settings for your application target.
>
> In general, Xcode 4 has a left-to-right master-detail progression in its user interface.
>
>  -- Chris
>


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

This email sent to email@hidden


References: 
 >Where to install custom framework to support a plug-in architecture? (From: Erik Stainsby <email@hidden>)
 >Re: Where to install custom framework to support a plug-in architecture? (From: Chris Hanson <email@hidden>)
 >Re: Where to install custom framework to support a plug-in architecture? (From: Erik Stainsby <email@hidden>)
 >Re: Where to install custom framework to support a plug-in architecture? (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Repeated authentication requests since upgrading to OS X 10.7.3
  • Next by Date: Re: Where to install custom framework to support a plug-in architecture?
  • Previous by thread: Re: Where to install custom framework to support a plug-in architecture?
  • Next by thread: Re: Where to install custom framework to support a plug-in architecture?
  • Index(es):
    • Date
    • Thread