Version incompability with other amplify packages
csamprajan opened this issue · 2 comments
Description
AWSAppSync depends on SQLite 0.12.2 whereas amplify plugins depend on 0.13.2
Could you please upgrade SQLite dependency to 0.13.2 ?
I get the following error:
[!] CocoaPods could not find compatible versions for pod "SQLite.swift":
In Podfile:
AWSAppSync (> 3.6.2) was resolved to 3.6.2, which depends on> 0.12.2)
SQLite.swift (SQLite.swift (~> 0.13.2) amplify_datastore (from `.symlinks/plugins/amplify_datastore/ios`) was resolved to 0.0.1, which depends on AmplifyPlugins/AWSDataStorePlugin (= 1.29.1) was resolved to 1.29.1, which depends on SQLite.swift (= 0.13.2)
versions:
amplify_datastore: ^0.6.3 in pubspec.yaml file of my flutter app
pod 'AWSAppSync', '~> 3.6.2' in Podfile under ios
our implementation:
We've built a flutter mobile app with AWS graphql & datastore in the frontend.
Now, we're extending additional offline capabilities using aws appsync. It will be native ios code to be called in the background mode.
To Reproduce
Steps to reproduce the behavior:
- Create a new flutter app using
flutter create
command - Add dependencies using
flutter pub add amplify_flutter amplify_api amplify_datastore
- Under ios folder, Add pod
'AWSAppSync', '~> 3.6.2'
in the Podfile - Run
flutter run
command on the project root - See the error
Environment:
- AppSync SDK Version: 3.6.2
- Cocoapods Version: 1.11.3
- Swift Version : 5.7.1
Device Information:
- Device: iPhone 12 Pro, Simulator
- iOS Version: iOS 14.1
Any progress on this, please ?
Thank you for opening this issue. AWS AppSync SDK for iOS entered maintenance mode in September 2023 and will receive no further updates as of September 2024.
Please use Amplify Swift going forward. For information on upgrading to Amplify Swift, refer to the Upgrade from AppSync SDK documentation.