• 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: Building App when Framework is in Same Project?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building App when Framework is in Same Project?


  • Subject: Re: Building App when Framework is in Same Project?
  • From: j o a r <email@hidden>
  • Date: Mon, 12 May 2008 10:24:14 -0700


On May 12, 2008, at 10:12 AM, Karl Moskowski wrote:

I have an Xcode 3.0 project with a framework target and an application target. The app uses the FW, and I've set the app target to depend on the FW target. When I build the app, it also builds the FW in the build products dir, and the app runs correctly.

Now, I'd like to build it so the FW is in the app bundle's Frameworks/ directory. I added a copy files build phase (with Destination set to Frameworks) to the app target, and dragged the FW to it. It builds and copies without error. When I run the app from Xcode, it works fine. However, when I try to run the app from the Finder, it crashes and when I look at the details of the report, it complains that it can't find the FW in ~/Library/Frameworks/.

How do I force it to look for the FW within the app bundle?


<http://rentzsch.com/cocoa/embeddedFrameworks>

j o a r


_______________________________________________ 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: Building App when Framework is in Same Project?
      • From: Karl Moskowski <email@hidden>
References: 
 >Building App when Framework is in Same Project? (From: Karl Moskowski <email@hidden>)

  • Prev by Date: Building App when Framework is in Same Project?
  • Next by Date: Re: how to ensure #defines apply to all files in project?
  • Previous by thread: Building App when Framework is in Same Project?
  • Next by thread: Re: Building App when Framework is in Same Project?
  • Index(es):
    • Date
    • Thread