@objc can only be used with members of classes, @objc protocols, and concrete extensions of classespublic protocol AppConfigProvider: NSObject { @objc var config: AppConfig { get set } var rx_config: Observable<AppConfig> { get } }Property cannot be a member of an @objc protocol because its type cannot be represented in Objective-Cや Protocol 'AppConfigProvider' is '@objc' and cannot have a superclass constraint が出てしまいます。 public @objc protocol AppConfigProvider: NSObject { var config: AppConfig { get set } var rx_config: Observable<AppConfig> { get } }