Skip to content

Commit 105727e

Browse files
chrisbobbegnprice
authored andcommitted
deps: Run pod update sqlite3 to resolve pod install error
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.)
1 parent a757620 commit 105727e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ios/Podfile.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,18 @@ PODS:
5050
- SDWebImage/Core (5.15.5)
5151
- share_plus (0.0.1):
5252
- Flutter
53-
- sqlite3 (3.41.0):
54-
- sqlite3/common (= 3.41.0)
55-
- sqlite3/common (3.41.0)
56-
- sqlite3/fts5 (3.41.0):
53+
- sqlite3 (3.41.2):
54+
- sqlite3/common (= 3.41.2)
55+
- sqlite3/common (3.41.2)
56+
- sqlite3/fts5 (3.41.2):
5757
- sqlite3/common
58-
- sqlite3/perf-threadsafe (3.41.0):
58+
- sqlite3/perf-threadsafe (3.41.2):
5959
- sqlite3/common
60-
- sqlite3/rtree (3.41.0):
60+
- sqlite3/rtree (3.41.2):
6161
- sqlite3/common
6262
- sqlite3_flutter_libs (0.0.1):
6363
- Flutter
64-
- sqlite3 (~> 3.41.0)
64+
- sqlite3 (~> 3.41.2)
6565
- sqlite3/fts5
6666
- sqlite3/perf-threadsafe
6767
- sqlite3/rtree
@@ -118,8 +118,8 @@ SPEC CHECKSUMS:
118118
path_provider_foundation: c68054786f1b4f3343858c1e1d0caaded73f0be9
119119
SDWebImage: fd7e1a22f00303e058058278639bf6196ee431fe
120120
share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68
121-
sqlite3: d31b2b69d59bd1b4ab30e5c92eb18fd8e82fa392
122-
sqlite3_flutter_libs: 78f93cb854d4680595bc2c63c57209a104b2efb1
121+
sqlite3: fd89671d969f3e73efe503ce203e28b016b58f68
122+
sqlite3_flutter_libs: 04ba0d14a04335a2fbf9a331e8664f401fbccdd5
123123
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
124124

125125
PODFILE CHECKSUM: 985e5b058f26709dc81f9ae74ea2b2775bdbcefe

0 commit comments

Comments
 (0)