I only have the issue when debugging @IBDesignable views from IB. It just doesn't work (and hasn't for a long time), and fails with this error.
Debugging the app in the simulator works fine for me.
Topic:
App & System Services
SubTopic:
Core OS
Tags: