Skip navigation.
 
mlRe: Linking against /Dev/L/PrivateFrameworks/
FROM : Jean-Daniel Dupas
DATE : Mon Jun 30 23:53:28 2008

Le 30 juin 08 à 23:10, Owen Yamauchi a écrit :

> Yes, I know, I shouldn't be linking against an Apple private
> framework, but trust me, there's a reason for it.
>
> Anyway, I'm having trouble building the project. I dragged my private
> framework (DevToolsCore.framework) into Xcode and left all the default
> settings alone. However, when I try to build, it fails on the first
> import line from the framework that it comes across:
>
> #import <DevToolsCore/PBXFileType.h>
>
> PBXFileType.h is in the framework's PrivateHeaders directory, if that
> makes a difference.
>
> I've checked the project's (and target's) Framework Search Path
> settings, and they definitely include
> /Developer/Library/PrivateFrameworks.
>
> Any ideas? (Note that I just want to get this to build; it doesn't
> have to be deployable.)
>
> TIA,
> Owen


Transcript ?

From the Monthly reminder:

You can drag and drop most of the interesting information you need 
right from Xcode into the New Mail window.  Look in the Xcode Build 
Results, for example.  If you find a step labeled "Compiling main.c (1 
warning)" and you drag that step into an outgoing Mail message, here's 
what you get:…

  cd /Volumes/Local/Users/espich/4831414
    setenv MACOSX_DEPLOYMENT_TARGET 10.4
    /usr/bin/gcc-4.0 -x c -arch ppc -pipe -Wno-trigraphs -fpascal-
strings […]

It's infinitely easier to diagnose the problem from this than from a 
written statement that "I get an error about printf."

Related mailsAuthorDate
mlLinking against /Dev/L/PrivateFrameworks/ Owen Yamauchi Jun 30, 23:10
mlRe: Linking against /Dev/L/PrivateFrameworks/ Jean-Daniel Dupas Jun 30, 23:53
mlRe: Linking against /Dev/L/PrivateFrameworks/ Owen Yamauchi Jul 1, 03:16