• 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: In-project file references with platform specific names not resolved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 4: In-project file references with platform specific names not resolved


  • Subject: Xcode 4: In-project file references with platform specific names not resolved
  • From: Thomas Engelmeier <email@hidden>
  • Date: Thu, 31 Mar 2011 13:28:31 +0200

Hi,

I have a bunch of iOS static library projects working fine in Xcode 3 that decorate the name of the generated libs with

EXECUTABLE_EXTENSION = ${PLATFORM_NAME}.a
( =  iphoneos.a or iphonesimulator.a)

The setting is honored fine in the builds.

When a project for such a lib is included from another project and then linked against the generated product / lib, everything works.

It fails when the same project contains two targets, LIB and APP, and the APP target links against the LIB product.
Changing the platform will not update the name of the lib reference, causing a link failure for one of the two platforms.
Is there any trick to make that work?

TIA,
	Tom_E   _______________________________________________
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: Xcode 4 and DERIVED_FILE_DIR
  • Next by Date: Re: Xcode 4: Getting Library Search Paths
  • Previous by thread: Re: Xcode 4 and DERIVED_FILE_DIR
  • Next by thread: Xcode 4.0.1 checksum error
  • Index(es):
    • Date
    • Thread