• 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
Creating an umbrella framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating an umbrella framework


  • Subject: Creating an umbrella framework
  • From: Ofri Wolfus <email@hidden>
  • Date: Wed, 22 Mar 2006 21:35:30 +0200

Hi,

I'm trying to create a framework which contains another framework inside it. I did some reading, and I found that the -sub_framework flag should do exactly what I want. The problem I have is that this umbrella framework is designed to be included inside an app's bundle, so I set the sub framework's install dir to @loader_path/../ Frameworks and added a script that will create a sym link in umbrellaFramework.framework/Frameworks that points to umbrellaFramework.framework/Versions/Current/Frameworks (and yes, I am coping the sub framework into the umbrella framework).
Now when I try to link an app to my framework, I get a warning saying it can't locate/open the sub framework. When I try to run my app, it just crashes on launch saying:


"dyld: Library not loaded: @loader_path/../Frameworks/ subFramework.framework/Versions/A/subFramework
Referenced from: pathToUmbrellaFramework/umbrellaFramework.framework/ Versions/A/umbrellaFramework
Reason: image not found"


Can anyone please tell me what am I doing wrong?

Thanks,
- Ofri

P.S.
I'm targeting 10.4 and above.

_______________________________________________
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


  • Follow-Ups:
    • Re: Creating an umbrella framework
      • From: Chris Espinosa <email@hidden>
    • Re: Creating an umbrella framework
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Syntax Coloring?
  • Next by Date: Inferior not executing ???
  • Previous by thread: Xcode 386 Link problems
  • Next by thread: Re: Creating an umbrella framework
  • Index(es):
    • Date
    • Thread