• 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: Setup an Xcode project for an application with frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setup an Xcode project for an application with frameworks


  • Subject: Re: Setup an Xcode project for an application with frameworks
  • From: spsaxena <email@hidden>
  • Date: Wed, 26 Sep 2007 20:36:09 -0700

I could also not found the exact solution so I manually edited the project file. You can also try this if you want -
edit the pbxproj file (present inside your xcodeproj directory) in a text editor. Search for 'Linked Frameworks' and get the unique number corresponding to your framework ( e.g. 4C8A898B0C17A22800B78583 /* my.framework */,). Now while searching for the number you will find an entry like

4C8A898B0C17A22800B78583 /* my.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = my.framework; path = ../../../macintosh/universal/release/my.framework; sourceTree = BUILT_PRODUCTS_DIR; };

Just change the path and make it
path = ../../../macintosh/universal/$CONFIGURATION/my.framework;

Also in your FRAMEWORK_SEARCH_PATH of your target setting change the path similarly. i.e . from debug or release to $CONFIGURATION

-S


On 9/26/07, Walter <email@hidden> wrote:
I currently have an application that uses multiple frameworks that are all
built by me.  My frameworks are currently installed to /Library/Frameworks
but I'd like to put all of the frameworks into the application bundle
Frameworks folder.

If I attempt to add frameworks to the application project, it wants a
specific path that I need to choose with a browser.  Since I have a debug &
a release configuration, I'd like to select the appropriate one for the
build style.  The Xcode UI doesn't seem to allow this.  I also can't select
the framework relative to the application because Xcode doesn't browse into
the application bundle.  (from the "External Frameworks and Libraries"
folder)

I can't find any samples that have a framework as part of the sample and
built into the application.  Can someone point me to either a sample or
decent documentation on how to set up an Xcode project for applications with
frameworks built into the application bundle?


______________________________ _________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

 _______________________________________________
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: 
 >Setup an Xcode project for an application with frameworks (From: Walter <email@hidden>)

  • Prev by Date: Re: Weird error situation
  • Next by Date: Developer Documentation glitches
  • Previous by thread: Setup an Xcode project for an application with frameworks
  • Next by thread: Developer Documentation glitches
  • Index(es):
    • Date
    • Thread