You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the SQLite.swift in a custom capacitor plugin. When you run npx cap sync ios you got following error:
`
✖ copy ios - failed!
[error] Error: EISDIR: illegal operation on a directory, read
at Object.readSync (node:fs:744:3)
at tryReadSync (node:fs:444:20)
at readFileSync (node:fs:490:19)
at findPluginClasses
(/node_modules/@capacitor/cli/dist/util/iosplugin.js:37:54)
at generateIOSPackageJSON
(/node_modules/@capacitor/cli/dist/util/iosplugin.js:61:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /node_modules/@capacitor/cli/dist/tasks/copy.js:86:13
at async runTask (/node_modules/@capacitor/cli/dist/common.js:165:23)
at async copy (/node_modules/@capacitor/cli/dist/tasks/copy.js:44:5)
at async sync (/node_modules/@capacitor/cli/dist/tasks/sync.js:51:9)
`
Expected Behavior
The sync command should not try to read directories named with ".swift" at the end as file.