Hello,
We have a relatively simple iOS app which we have migrated from Capacitor 3 → 4, however when we try to build/run the project we get the following error: “Cannot find type PluginConfig in scope”, and highlights the following line of code in CAPInstanceConfiguration:
@objc public func getPluginConfig(_ pluginId: String) → PluginConfig {
if let cfg = (pluginConfigurations as? JSObject)?[keyPath: KeyPath(“(pluginId)”)] as? JSObject {
return PluginConfig(config: cfg)
}
return PluginConfig(config: JSObject())
}
Any ideas ?
1 post - 1 participant