No Sent events for UIButton subclass

Hello there. Since Xcode 12 I'm facing issue with Sent events section disappearing in Interface Builder when set up as custom class and module.

public class TestButton: UIButton {}

Problem appears when custom class is part of another binary framework. When custom class is part of source code dependency, all events are appearing just fine. Of course, there is a workaround to use Sent Events by changing button class to default UIButton, assigning events and then changing back to custom class and module. However, it would be nice if I could use Sent Events without those unnecessary extra steps.