• 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
specifying paths for frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

specifying paths for frameworks


  • Subject: specifying paths for frameworks
  • From: Denise Eatherly <email@hidden>
  • Date: Thu, 12 Aug 2004 12:10:50 -0600

Hi,

My XCode application project can't seem to find its frameworks for linking when I move all the projects to a different computer - with a different user name. If the user name and paths are identical, there is no problem. If I clean and build on the new host, XCode finds, cleans and builds the dependent frameworks, but still can't find them when it tries to compile the app. It shows all the framework header files correctly in the Groups and Files column, but claims they don't exist once the build starts. Any help would be hugely appreciated.

I have included the details below in case there is not a totally obvious answer to this.

For the purposes of this explanation, I'll say 'my laptop.' The results are the same on other desktops too.

The app uses 2 frameworks.
Each framework is a separate XCode project.
Each framework is set up as a dependancy for the app.
Each framework is added to the app as a "project relative" linked framework that points to the build product in the framework project
Each framework is subsequently embedded into the app using a copy files build phase.


On my desktop machine, everything compiles as expected and the app runs correctly. If I just move the .app file to my laptop, it runs correctly as well.

I move the app project and the two framework projects using the same directory structure ( two folders, one named MyApplication and one named Frameworks at the same in a Testing folder. Frameworks contains the two frameworks projects and MyApplication contains the application project.) When I open XCode, everything looks fine in the Groups and Files column. I can see all the headers for both frameworks. If I clean and build, the two frameworks are cleaned and rebuilt. Once the build for the application starts, the build fails with a message that the imported framework header files don't exist.

I can remove all references to the linked frameworks and add them back to the app project on the new host machine, but I get the same errors. Is there an obvious setting somewhere that I'm neglecting?

Thanks,
Denise
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: specifying paths for frameworks
      • From: Brent Gulanowski <email@hidden>
  • Prev by Date: XCode Plugin with ObjC
  • Next by Date: Custom Target
  • Previous by thread: XCode Plugin with ObjC
  • Next by thread: Re: specifying paths for frameworks
  • Index(es):
    • Date
    • Thread