Migrate to Capacitor v8#2
Open
microbit-grace wants to merge 3 commits into
Open
Conversation
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.
microbit-grace
commented
May 19, 2026
| { | ||
| "name": "@microbit/capacitor-sqlite-vanilla", | ||
| "version": "0.0.0-local", | ||
| "version": "0.0.0", |
Author
There was a problem hiding this comment.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes made by running
npx @capacitor/plugin-migration-v7-to-v8@latesthttps://capacitorjs.com/docs/updating/plugins/8-0