On Jan 8, 2007, at 5:06 PM, Dave Addey wrote:

I’ve updated my Xcode Universal Binary plugin template to build the UB part as a bundle rather than a dylib, as described in Jonathan’s recent email to this list (“Change of Suggested Mach-O Plugin Format”). Version 1.3 of the
template is available to download here:

http://www.thismuchiknow.co.uk/?p=20


As I feared: Get Info on a target, Tabbing "General" shows "Type: Dynamic Library". Will this matter? (probably esthetics) Don't know, but you could have made a new target based on loadable bundle. You would keep the UB-dylib target intact. Also, the bundle target in this context does not have the Perform Single-Object Prelink set. By choosing in Xcode for a bundle "starting from scratch" it will automatically put the bundle executable in a package with a info.plist file. That is also beneficial if you want to ship the Mach- O only bundle as an OS-folder package. RB will load this fine as well. To put the bundle executable in the rbx volume you need then simply traverse the hierarchy of the package, and copy the executable into the rbx format. You will most likely need to adapt plugin converter to do this traversing.

If you were to do this then you would have a nice Xcode-starter plugin that can do a universal dylib, and a universal bundle, with the additional benefit to ship it also as a packaged bundle.

Just my two cents....

Alfred_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to