From: Duncan M. <du...@on...> - 2009-07-21 23:46:38
|
On 22 Jul 2009, at 00:01, kimura wataru wrote: > Hi, > > Add LSEnvironment into your application's Info.plist and > set DYLD_FRAMEWORK_PATH to /System/Library/Frameworks. > like this; > > <key>LSEnvironment</key> > <dict> > <key>DYLD_FRAMEWORK_PATH</key> > <string>/System/Library/Frameworks</string> > </dict> > > This means your app prefers frameworks under /System/Library/ > Frameworks > rather than under other locations. > > for detail, see the below references. > > http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html > http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html > http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/dyld.1.html Thank you very much. A slight problem is that I am using RubyCocoa directly from a .rb script not an app bundle and so don't have an Info.plist, but I'm sure that I can set the equivalent environment variables before I invoke the script. Thanks again Duncan |