Skip to content

Migrate to Capacitor v8#2

Open
microbit-grace wants to merge 3 commits into
mainfrom
capacitor-8
Open

Migrate to Capacitor v8#2
microbit-grace wants to merge 3 commits into
mainfrom
capacitor-8

Conversation

@microbit-grace
Copy link
Copy Markdown

@microbit-grace microbit-grace commented May 18, 2026

Changes made by running npx @capacitor/plugin-migration-v7-to-v8@latest
https://capacitorjs.com/docs/updating/plugins/8-0

by running `npx @capacitor/plugin-migration-v7-to-v8@latest`
so that CocoaPods can find compatible version.

CocoaPods version follows RubyGems convensions, which doesn't use hyphens in pre-release version syntax. Meanwhile, npm uses hyphens. To satisfy both ecosystems, `-local` was removed.
Comment thread package.json
{
"name": "@microbit/capacitor-sqlite-vanilla",
"version": "0.0.0-local",
"version": "0.0.0",
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed -local so that the plugin can be tested locally. Otherwise, the consuming app errors when running npx cap sync:

✖ Updating iOS native dependencies with pod install - failed!
✖ update ios - failed!
[error] Analyzing dependencies
        [!] CocoaPods could not find compatible versions for pod
        "MicrobitCapacitorSqliteVanilla":
        In Podfile:
        MicrobitCapacitorSqliteVanilla (from
        `../../../capacitor-sqlite-vanilla`)
        
        None of your spec sources contain a spec satisfying the dependency:
        `MicrobitCapacitorSqliteVanilla (from
        `../../../capacitor-sqlite-vanilla`)`.
...

This also matches nordic-dfu plugin version - https://github.com/microbit-foundation/nordic-dfu/blob/microbit/package.json#L3

@microbit-grace microbit-grace marked this pull request as ready for review May 19, 2026 14:00
@microbit-grace microbit-grace changed the title Migrate to capacitor 8 Migrate to Capacitor v8 May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant