• 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
Xcode 4.2 build failing when sub-project/dependency configuration names don't match
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 4.2 build failing when sub-project/dependency configuration names don't match


  • Subject: Xcode 4.2 build failing when sub-project/dependency configuration names don't match
  • From: Martin Redington <email@hidden>
  • Date: Tue, 18 Oct 2011 00:41:10 +0100

I just experienced an issue with a project I'd converted from Xcode 3
format, with sub-projects/dependencies within the project, to an Xcode
4 style workspace format with "sub-projects" listed alongside the main
project, and dependencies being calculated automatically.

The main project had an "Ad Hoc Distribution" configuration, whereas
the sub-projects only had "Debug" and "Release".

When "Archiving" the main project, with configuration set to "Ad Hoc
Distribution", the sub-projects/dependencies would build, but leaving
their products in "Release-iphoneos" subdirectories (their
configuration for archiving) under DerivedData.

The main project would fail at the linking stage, as it's -L option
was set to look under DerivedData/some_directories/Ad Hoc
Distribution-iphoneos

I solved this by adding "Ad Hoc Distribution" configs to the
sub-projects, and setting "Archiving" to use this configuration.

My question is ... is that what I need to do (i.e. sub projects, by
default, must have a config that matches the parent), or is there some
simpler, more elegant way to handle this case.

   cheers,
                m.
Please consider the environment before printing this email.
------------------------------------------------------------------
Visit guardian.co.uk - newspaper of the year

www.guardian.co.uk    www.observer.co.uk     www.guardiannews.com

On your mobile, visit m.guardian.co.uk or download the Guardian
iPhone app www.guardian.co.uk/iphone

To save up to 30% when you subscribe to the Guardian and the Observer
visit www.guardian.co.uk/subscriber
---------------------------------------------------------------------
This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.

Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.

Guardian News & Media Limited

A member of Guardian Media Group plc
Registered Office
PO Box 68164
Kings Place
90 York Way
London
N1P 2AP

Registered in England Number 908396

 _______________________________________________
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

  • Prev by Date: Re: Issues with Xc4 coexisting with Xc3
  • Next by Date: Ambiguous (duplicate) Development Certificates
  • Previous by thread: Unable to create a snapshot
  • Next by thread: Ambiguous (duplicate) Development Certificates
  • Index(es):
    • Date
    • Thread