From: kimura w. <ki...@us...> - 2009-07-21 23:09:59
|
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 On Tue, 21 Jul 2009 11:18:20 +0100, Duncan McGregor wrote: > My app VelOCRaptor depends on RubyCocoa, which is shipped with Leopard > as a framework version 0.13.1. I don't support Tiger, so have been > happy to assume that the framework is installed in /System/Library/ > Frameworks > > Yesterday 2 people found an issue that turns out to be due to another > piece of software (for some 3G card AFAICT) installing an older > version of the RubyCocoa framework in /Library/Frameworks > > Is there any way to specify which version of the framework should be > loaded when I require 'osx/cocoa'? > > Thanks in anticipation > > Duncan McGregor > -- kimura wataru |