Ok, I mixed things up. All I want to do in my watchOs framework was something like this:
NotificationCenter.default.post(...)
The class with import NotificationCenter
was in the wrong framework. No need for such a class in a watchOs framework. So my problem is fixed.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…