Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Capacitor 4 upgrade failure

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles