I'm trying to created an IBDesignable custom view. However, after adding the class to an item in xib, it always failed to build, without any error or warning.
I imported the class to another newly created project, and it works fine.
Is there anyone know if there is some mistake I made to prevent IBDesignable works on the project?
I'm currently using xcode 8.2.1, sdk 10.2.