On Nov 11, 2009, at 12:08 PM, Dave Warker wrote:

One restriction though: the framework *must* be explicitly built to run from the Resources folder. You'd normally build a private framework in Xcode with an Installation Directory setting of "@executable_path/../Frameworks" so it runs from the app's Frameworks folder. That must be changed to "@executable_path/../Resources" so the OS knows where to find it when the app launches. This would be a problem if you can't build your own copy of the framework but in my case that's not an issue.

Where does one change this in Xcode? I have the source to PYMIDI framework, but am unsure of that setting location.

Found a setting in Project Settings for Installation Directory, and set it to that, but I am getting an error still? There another place I need to change this? Seems like it is still looking for it in Frameworks, not Resources.

When I build it, and do the steps to add to project, on run, I get non-operation.

Console says:

dyld: Library not loaded: @executable_path/../Frameworks/PYMIDI.framework/Versions/B/PYMIDI


Link (dyld) error:

Library not loaded: @executable_path/../Frameworks/PYMIDI.framework/Versions/B/PYMIDI
  Referenced from: /Users/robert/Desktop/FB_5_4_5_Package/FB MMT/FB MMT.app/Contents/MacOS/FB MMT
  Reason: image not found


This because @executable_path needs to be @the name of the application itself?

To unsubscribe, send ANY message to: futurebasic-unsubscribe@...