Looks like subscription APIs were switched from NSObject to NSObjectProtocolin this commit. This was later reverted (see commit). However apparently not all cases were reverted.
This affects robovm-2.3.16 upwards and is also present in current master.
Some subscription APIs return a
NSObjectProtocol
(e.g.UIWindow.observeKeyboardWillShown
), howeverNSNotificationCenter.removeObserver
expects aNSObject
.Looks like subscription APIs were switched from
NSObject
toNSObjectProtocol
in this commit. This was later reverted (see commit). However apparently not all cases were reverted.This affects robovm-2.3.16 upwards and is also present in current master.