Question about private libraries in an Xcode project
Question about private libraries in an Xcode project
- Subject: Question about private libraries in an Xcode project
- From: Jeff Schriebman <email@hidden>
- Date: Mon, 22 Aug 2005 18:34:39 -0700
This is my first Xcode 2.1 project so I'm still new at this but I
have searched the archives for some help on this and couldn't find
anything that directly relates. I have also studied the Xcode
documentation, have tried a number of things but haven't yet hit on
the proper combination of operations to get what I need accomplished.
I have a MW project that I have successfully ported to XC. The
application is a Carbon application and contains Apple Frameworks and
one private library from a third party that must be linked into the
application. On my build system running 10.4.2 my application works
fine. I take my application to another 10.4.2 system that does not
have the Developer tools on it and my app doesn't run at all.
On the non development system when I double click on my application
bundle itself, myapplication.app, I get no response whatsoever. If I
open the application's bundle and double click directly on
Contents/MacOS/myapplication I get a message on a terminal window
that comes up and says "dyld: Library not loaded
/System/Library/PrivateFrameworks/ZeroLink.framework/Versions/ZeroLink".
I currently have not included my private library in the application
bundle/framework so I would expect some error at this juncture.
So I have a couple of questions:
1. I know that I must include the private library somewhere in my
distribution and I think I would rather include it in the resources
folder of my application rather than the system wide
/System/Library/Frameworks folder. I would rather do this because it
keeps everything in one place and makes installation a drag and drop
operation. Is this the best place for it?
2. I did uncheck the ZeroLink Value in my XC project so I'm surprised
that I got a message referencing ZeroLink when my application ran on
the non development machine. I also checked Prebinding in an attempt
to get as many references resolved before the application ran. Do I
just put my private library in a Frameworks folder in my application
and tell XCode about it? How is this done? Do I put it in the
Resources folder of my application?
Any help on how to set up my Xcode application to include my library
and have it run on another OS X 10.4 computer is most appreciated.
--
Jeff Schriebman http://www.ccaption.com 415-499-5609
Captioning solutions for video editing and streaming media
_______________________________________________
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