• 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
Archiving problems with xcode 4.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Archiving problems with xcode 4.3


  • Subject: Archiving problems with xcode 4.3
  • From: Mirko Viviani <email@hidden>
  • Date: Thu, 23 Feb 2012 22:04:40 +0100

Hi,

I spent the whole day migrating my app from xcode 3.2.1 to 4.3 but I still have a problem with the archive phase.
The project contains some frameworks and a couple of static libs with public header files. Xcode doesn't find these header files when archiving.

Run, Profile and Build for (Running, Profiling, Archiving) all produce a running application.

Anyway when I start the Archive phase after a Build for Archiving, xcode recompiles everything (why???) using different include folders.

I've tracked that a static library included in the project installs its public headers in:

~/Library/Developer/Xcode/DerivedData/<.>/ArchiveIntermediates/Lyn/InstallationBuildProductsLocation/usr/local/include

while the compile tasks of the archive log includes a non-existant folder:

~/Library/Developer/Xcode/DerivedData/<.>/ArchiveIntermediates/Lyn/BuildProductsPath/Release/usr/local/include

A workaround is to reference these header files in the main project without adding them to any targets.
Placing a symlink of InstallationBuildProductsLocation/usr in BuildProductsPath/Release does not work since the Release folder is always removed.

Instead, creating the symlink just after launching the archiving phase does the trick and produce a valid archive with the application and the public headers.  (not desired)

Is there an easy fix?

Thank you.

--
Ciao,
Mirko    http://www.lynapp.com




 _______________________________________________
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: Archiving problems with xcode 4.3
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: "Assistant" multi-editor-pane organization
  • Next by Date: Another Xcode Bug?
  • Previous by thread: Re: Instruments Feature Request
  • Next by thread: Re: Archiving problems with xcode 4.3
  • Index(es):
    • Date
    • Thread