• 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
Re: Two LIBRARY_SEARCH_PATHS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two LIBRARY_SEARCH_PATHS


  • Subject: Re: Two LIBRARY_SEARCH_PATHS
  • From: Christiaan Hofman <email@hidden>
  • Date: Thu, 07 Apr 2011 11:47:44 +0200

On Apr 7, 2011, at 11:31, Gabriel Zachmann wrote:

> Here is something I don't understand about XCode, which I'd like to understand, and eventually fix.
>
> In my project file, there seem to be two sections for the Debug configuration:
>
> /* Begin XCBuildConfiguration section */
>        1DEB923208733DC60010E9CD /* Debug */ = {
>            isa = XCBuildConfiguration;
>            buildSettings = {
>                ALWAYS_SEARCH_USER_PATHS = NO;
>                COPY_PHASE_STRIP = NO;
>                GCC_DYNAMIC_NO_PIC = NO;
>                GCC_ENABLE_FIX_AND_CONTINUE = YES;
>                GCC_MODEL_TUNING = G5;
>                GCC_OPTIMIZATION_LEVEL = 0;
>                INSTALL_PATH = /usr/local/bin;
>                LIBRARY_SEARCH_PATHS = (
>                    "$(inherited)",
>                    /sw/lib,
>                    "\"$(SRCROOT)/../OSG/OpenSG.install/lib64/debug\"",
>                    /opt/local/lib,
>                );
>                PRODUCT_NAME = Selection;
>            };
>            name = Debug;
>        };
>        1DEB923308733DC60010E9CD /* Release */ = {
> 		[...]
>        };
>        1DEB923608733DC60010E9CD /* Debug */ = {
>            isa = XCBuildConfiguration;
>            buildSettings = {
>                ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
>                GCC_C_LANGUAGE_STANDARD = gnu99;
>                GCC_OPTIMIZATION_LEVEL = 0;
>                GCC_WARN_ABOUT_RETURN_TYPE = YES;
>                GCC_WARN_UNUSED_VARIABLE = YES;
>                HEADER_SEARCH_PATHS = (
>                    ../OSG/OpenSG.install/include/OpenSG,
>                    /opt/local/include,
>                );
>                LIBRARY_SEARCH_PATHS = (
>                    ../OSG/OpenSG.install/lib64/debug,
>                    /opt/local/lib,
>                );
>                ONLY_ACTIVE_ARCH = YES;
>                PREBINDING = NO;
>                SDKROOT = macosx10.6;
>            };
>            name = Debug;
>        };
>
> First of all, why are there *two* sections for the Debug config? Do they have different meanings / purposes?
>
> What I am interested in right now is the LIBRARY_SEARCH_PATHS.
>
> Apparently, Xcode concatenates both values from the first and the second section.

Why would you think that? Below you seem to contradict this.

> I would like to get rid of the first value ( "$(inherited)", ...).
>
> However, in XCode in the Project Info, I can see only the second value! (in All Configurations, all Settings - but also, if I switch to the Debug config.)
> I'd like to understand, why can't I see both values for LIBRARY_SEARCH_PATHS? how would I know that there is two of them (if I don't look at project.pbxproj ?
> When I edit LIBRARY_SEARCH_PATHS in Project Info, only the second value changes - why is that?
>
> And third, how can I get rid of this first value of LIBRARY_SEARCH_PATHS? can I just edit project.pbxproj (while XCode is closed)
>
> Thanks a lot in advance for all kinds of insights and suggestions.
>
>
> Best regards,
> Gabriel.
>

My guess is that one (the first) is for a target, and the second for the project level.

Christiaan

 _______________________________________________
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: Two LIBRARY_SEARCH_PATHS
      • From: Gabriel Zachmann <email@hidden>
References: 
 >Two LIBRARY_SEARCH_PATHS (From: Gabriel Zachmann <email@hidden>)

  • Prev by Date: Two LIBRARY_SEARCH_PATHS
  • Next by Date: Re: xcode 4 documentation when offline
  • Previous by thread: Two LIBRARY_SEARCH_PATHS
  • Next by thread: Re: Two LIBRARY_SEARCH_PATHS
  • Index(es):
    • Date
    • Thread