I narrowed the problem down to a plug-in bundle being unloaded using CFBundleUnloadExecutable. (I know, that's not the recommended approach, but this is legacy code.) So I looked into the plug-in. It's mostly C++, but there was one Objective-C++ source file that wasn't being used and didn't contain any exported symbols, so I removed that from the target and rebuilt. Then the crash went away! I don't quite see why simply having that file there, with nothing exported and dead code stripping turned on, would affect anything. But I verified with otool -L that the old plug-in referenced the Foundation framework, and the new one does not.
_______________________________________________

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

Reply via email to