• 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
problem building projects with frameworks on the command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem building projects with frameworks on the command line


  • Subject: problem building projects with frameworks on the command line
  • From: Paul Forgey <email@hidden>
  • Date: Wed, 30 Dec 2009 15:24:55 -0800

Using XCode 3.2.1. I've got several projects all using a framework project. They build just fine from the GUI. However, if I use xcodebuild from the command line, the framework project is not automatically built as in the GUI, and even if I manually build it first, the framework's headers can't seem to be found.

Here's a snippet of my build script:

    "$DEVELOPER/usr/bin/xcodebuild" -project "My Framework/My Framework.xcodeproj" -configuration Release -alltargets
    "$DEVELOPER/usr/bin/xcodebuild" -project "Thing1/Thing1.xcodeproj" -configuration Release -alltargets
    "$DEVELOPER/usr/bin/xcodebuild" -project "Thing2/Thing2.xcodeproj" -configuration Release -alltargets

When thing1 and thing2 build, the compiler complains the headers from My Framework can't be found.

The script needs to be able to run on any build machine without the framework being actually installed, so installing the framework before continuing the build process is not an option.

What am I missing?

 _______________________________________________
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: problem building projects with frameworks on the command line
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Merging changes across NSManagedObjectContexts
  • Next by Date: Re: problem building projects with frameworks on the command line
  • Previous by thread: Re: Merging changes across NSManagedObjectContexts
  • Next by thread: Re: problem building projects with frameworks on the command line
  • Index(es):
    • Date
    • Thread