In Xcode 9 and Swift 4 I always get this warning for some IBInspectable properties:
IBInspectable
@IBDesignable public class CircularIndicator: UIView {
Below two points might helps you
As there is no concept of optional in objective c, So optional IBInspectable produces this error. I removed the optional and provided a default value.
If you are using some enumerations types, then write @objc before that enum to remove this error.