Dynamically linking a framework...
Dynamically linking a framework...
- Subject: Dynamically linking a framework...
- From: Loren Ryter <email@hidden>
- Date: Thu, 12 Jun 2008 20:52:26 -0400
- Thread-topic: Dynamically linking a framework...
Hello,
I'm newly subscribed to this group and want to ask a question that's sort of
been raised before but that I haven't been able to solve.
I want to build a project in Xcode 3.0 on Leopard which would include a
framework (Calendar Store) that is only available on Leopard. However, the
application must be able to launch on Tiger. Obviously calls to the
Calendar Store API would not be done if the system was Tiger.
A Feb 11 thread in this group's archives, " linking to a different framework
version," suggests that the build target can be set to 10.4 and:
>the dynamic loading of appropriate frameworks will be automatically
> taken care
> by loading the framework from the frameworks folder of the system
> folder of the OS
> its running.
However, in Tiger this framework does not exist at all.
What is (apparently) needed is a way NOT to include the framework in the
project, but to load it at launch time.
I am using AS Studio and would prefer to be able to load it within the "on
finished launching" handler, or by using a call method of the custom
objective C class that I'm using as a bridge between AS Studio and the
Calendar Store framework. In that class I already have:
#import <CalendarStore/CalendarStore.h>
But apparently that is not enough.
Jerry Krinock has been quite helpful already by email communication, but the
solution he has proposed (loading a bundle) seems rather involved and was
hoping there was a better way -- like just loading the framework only.
Thanks.
_______________________________________________
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