Commit 105727e
deps: Run
In f28dd0b, we upgraded the Dart package sqlite3_flutter_libs
past simolus3/sqlite3.dart@c16721003, which bumped the version of
the `sqlite3` pod published on CocoaPods (not to be confused with
the Dart package with that same name on pub.dev).
So in `flutter run` targeting an iOS device, the `pod install` step
would fail with output including the following:
```
[!] CocoaPods could not find compatible versions for pod "sqlite3":
In snapshot (Podfile.lock):
sqlite3 (= 3.41.0, ~> 3.41.0)
In Podfile:
sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/ios`) was resolved to 0.0.1, which depends on
sqlite3 (~> 3.41.2)
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* changed the constraints of dependency `sqlite3` inside your development pod `sqlite3_flutter_libs`.
You should run `pod update sqlite3` to apply changes you've made.
```
Flutter then gave its own output, along the lines of just that first
bullet point:
```
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
pod repo update
Exception: Error running pod install
```
But actually, after studying both bullet points and trying their
suggested fixes, it turns out the second one is right. So, follow it
here by running `pod update sqlite3`.
(Because I wrote this commit in my environment, the command also
made a few unrelated changes that match changes that `pod install`
has been wanting to make for me recently. I'll commit those changes
separately, with an explanation, next.)pod update sqlite3 to resolve pod install error1 parent a757620 commit 105727e
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
| 121 | + | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments