Closed as not planned
Description
I'm following the docs here for creating a plugin:
https://capacitorjs.com/docs/plugins/creating-plugins
When I run npm init @capacitor/plugin@latest
, everything seems to be created fine. But, when I open the package in Xcode, I get an error No such module 'Capacitor'
when I open the plugin .swift file. The package fails to build. I don't make any changes before attempting to build the plugin.
I'm on Xcode version 15.4 and node 20.13.1
(There is also an issue building the web version but that is because of type errors in the dependencies. Setting "skipLibCheck": true
and "types": []
in the compiler options in tsconfig.json fixes that issue)
Metadata
Metadata
Assignees
Labels
No labels