[Adium-devl] Protocol plugins

Eion Robb eion at robbmob.com
Thu Jan 3 11:49:56 UTC 2008


So I finally found out why I can't dynamically load the 1.1
Libpurple.framework at run-time.... the 'CFBundleExecutable' property in
the Info.plist has the value "LibpurpleFramework" which is wrong... it
should be "Libpurple" according to
http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-101909
which says "For frameworks, the value of this key is required to be the
same as the framework name, minus the .framework extension."  If I
manually change this value to "Libpurple" then it loads dynamically and it
works fine.

Not that anything will really change before 1.2 gets out... just thought
someone might like to know :)

Before anyone worries, 1.2b7 doesn't have this same problem with it's
libpurple.framework... sorta... it doesn't specify a CFBundleExecutable
property at all.

I'll see if there's a way of changing the CFBundleExecutable property at
runtime so that the dynamic loading can still work with 1.1.

--Eion





More information about the devel mailing list