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

Building App when Framework is in Same Project?


  • Subject: Building App when Framework is in Same Project?
  • From: Karl Moskowski <email@hidden>
  • Date: Mon, 12 May 2008 13:12:06 -0400

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?

----
Karl Moskowski <email@hidden>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Rick Sustek <email@hidden>
    • Re: Building App when Framework is in Same Project?
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Conditional dependencies (and linked libraries) in a Xcode project?
  • Next by Date: Re: Building App when Framework is in Same Project?
  • Previous by thread: Missing the possibility to set key bindings for certain operations
  • Next by thread: Re: Building App when Framework is in Same Project?
  • Index(es):
    • Date
    • Thread