On 6/28/12, Kyle Sluder <k...@ksluder.com> wrote: > On Jun 28, 2012, at 1:58 PM, Eric Wing <ewmail...@gmail.com> wrote: > >> >> One additional gotcha that I have hit multiple times is that if your >> application links to system .dylibs (not .frameworks), Xcode links to >> the explicit filename versioned .dylib file on your system that the >> generic one is symlinked to. This is a problem if say 10.6 has a newer >> version of libcrypto.dylib or libreadline.dylib which doesn't exist on >> 10.5. Your app will crash on launch on 10.5 because it can't find the >> dependent library. For this, I have resorted to using >> install_name_tool to rewrite the dependencies to link to the generic >> symlinked version because Xcode has fought all my attempts to control >> what it actually links to. > > Be careful! There could be binary incompatibilities between the two versions > of the dylib—sometimes even between point revisions! We got bit by this in > the 10.5->10.6 transition. >
Yes, absolutely! -Eric -- Beginning iPhone Games Development http://playcontrol.net/iphonegamebook/ _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com