Re: Makin' frameworks
Re: Makin' frameworks
- Subject: Re: Makin' frameworks
- From: Rosyna <email@hidden>
- Date: Sun, 30 Sep 2001 12:27:24 -0700
All seems to be well now almost. I am having two problems, though.
Note: the framework does not exist at the path given in the error,
although it used to and still gave the same error.
1. In the test app, if I place the framework in Contents/Frameworks
or Contents/SharedFrameworks It will not read it. Placing it in
/Library/Frameworks works for ANY library folder.
2. I get these errors when building my test application. (the overlap errors)
/usr/bin/jam -d1
JAMBASE=eloper/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=-
build ACTION=build TARGETNAME=MyFrameworkTest NATIVE_ARCH=ppc
BUILD_STYLE=Development CPP_HEADERMAP_FILE=/Volumes/Mother Of
Marty/Users/rosyna/MyFrameworkTest/build/intermediates/MyFrameworkTest.build/Headermaps/MyFrameworkTest.hmap
DSTROOT=/ OBJROOT=/Volumes/Mother Of
Marty/Users/rosyna/MyFrameworkTest/build/intermediates
SRCROOT=/Volumes/Mother Of Marty/Users/rosyna/MyFrameworkTest
SYMROOT=/Volumes/Mother Of Marty/Users/rosyna/MyFrameworkTest/build
warning: <MyFrameworkTest>MyFrameworkTest.app depends on itself
...updating 6 target(s)...
BuildPhase MyFrameworkTest.app
Completed phase <CopyHeaders> for MyFrameworkTest.app
BuildPhase MyFrameworkTest.app
Completed phase <CopyResources> for MyFrameworkTest.app
BuildPhase MyFrameworkTest.app
Completed phase <DeriveAndCompileSources> for MyFrameworkTest.app
StandaloneExecutable /Volumes/Mother Of
Marty/Users/rosyna/MyFrameworkTest/build/MyFrameworkTest.app/Contents/MacOS/MyFrameworkTest
/usr/bin/ld: warning prebinding disabled because (__PAGEZERO segment
(address = 0x0 size = 0x1000) of /Volumes/Mother Of
Marty/Users/rosyna/MyFrameworkTest/build/MyFrameworkTest.app/Contents/MacOS/MyFrameworkTest
overlaps with __TEXT segment (address = 0x0 size = 0x3000) of
/Volumes/Mother Of
Marty/Users/rosyna/Library/Frameworks/MyFramework.framework/Versions/A/MyFramework
/usr/bin/ld: warning prebinding disabled because (__TEXT segment
(address = 0x1000 size = 0x3000) of /Volumes/Mother Of
Marty/Users/rosyna/MyFrameworkTest/build/MyFrameworkTest.app/Contents/MacOS/MyFrameworkTest
overlaps with __TEXT segment (address = 0x0 size = 0x3000) of
/Volumes/Mother Of
Marty/Users/rosyna/Library/Frameworks/MyFramework.framework/Versions/A/MyFramework
/usr/bin/ld: warning prebinding disabled because (__TEXT segment
(address = 0x1000 size = 0x3000) of /Volumes/Mother Of
Marty/Users/rosyna/MyFrameworkTest/build/MyFrameworkTest.app/Contents/MacOS/MyFrameworkTest
overlaps with __DATA segment (address = 0x3000 size = 0x1000) of
/Volumes/Mother Of
Marty/Users/rosyna/Library/Frameworks/MyFramework.framework/Versions/A/MyFramework
/usr/bin/ld: warning prebinding disabled because (__DATA segment
(address = 0x4000 size = 0x1000) of /Volumes/Mother Of
Marty/Users/rosyna/MyFrameworkTest/build/MyFrameworkTest.app/Contents/MacOS/MyFrameworkTest
overlaps with __OBJC segment (address = 0x4000 size = 0x1000) of
/Volumes/Mother Of
Marty/Users/rosyna/Library/Frameworks/MyFramework.framework/Versions/A/MyFramework
/usr/bin/ld: warning prebinding disabled because (__OBJC segment
(address = 0x5000 size = 0x1000) of /Volumes/Mother Of
Marty/Users/rosyna/MyFrameworkTest/build/MyFrameworkTest.app/Contents/MacOS/MyFrameworkTest
overlaps with __LINKEDIT segment (address = 0x5000 size = 0x17000) of
/Volumes/Mother Of
Marty/Users/rosyna/Library/Frameworks/MyFramework.framework/Versions/A/MyFramework
/usr/bin/ld: warning prebinding disabled because (__LINKEDIT segment
(address = 0x6000 size = 0xe6000) of /Volumes/Mother Of
Marty/Users/rosyna/MyFrameworkTest/build/MyFrameworkTest.app/Contents/MacOS/MyFrameworkTest
overlaps with __LINKEDIT segment (address = 0x5000 size = 0x17000) of
/Volumes/Mother Of
Marty/Users/rosyna/Library/Frameworks/MyFramework.framework/Versions/A/MyFramework
BuildPhase MyFrameworkTest.app
Completed phase <LinkWithFrameworksAndLibraries> for MyFrameworkTest.app
TouchConditionally /Volumes/Mother Of
Marty/Users/rosyna/MyFrameworkTest/build/MyFrameworkTest.app
...updated 6 target(s)...
Ack, at 9/30/01, Vince DeMarco said:
The fist thing to do is in the PB preferences set the build output
directory to some thing.
I have mine set to /Volumes/Build/Symbols/Output.
Now any project i build will use all of the compiled stuff out of
there. Just make sure you have all of the projects recompiled to use
the above output directory, then make sure all of the projects are
open in PB. The right thing should just happen.
vince
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insane People