-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppSyncRealTimeClient ~> 1.1 + Cartfile fix #367
Conversation
@@ -63,6 +63,8 @@ The AWS AppSync SDK for iOS enables you to access your AWS AppSync backend and p | |||
* AWSCore.framework | |||
* Reachability.framework | |||
* SQLite.framework | |||
* AppSyncRealTimeClient.framework | |||
* Starscream.framework |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "using Xcode 10.1" to "using Xcode 11". We should also add a new item to update the image to osx_image: xcode11.3
in .travis.yml, and then update README.md as appropriate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update AppSyncRealTimeClient Dependency to ~> 1.1
This is updated in both the cartfile and the podspec/podfile to take all minor versions from 1.1 up to and not including 2.0 of AppSyncRealTimeClient
cartfile fix
The Cartfile located at the root of the AppSyncClient repository is used when users run
carthage update
to determine which additional dependencies are needed. The reason for this is because AppSyncClient is managed by Cocoapods via Podfile. If AppSyncClient doesn't have a Cartfile, then the Carthage users in their projects containing a cartfile withgithub "awslabs/aws-mobile-appsync-sdk-ios"
will just pull in AppSync source and build the AppSyncClient.framework and nothing else.Remove daltoniam/starscream for aws-amplify/aws-appsync-realtime-client-ios
Since aws-amplify/aws-appsync-realtime-client-ios itself is a repository that is managed by Pods, it also has a Cartfile indicating that it will need to pull in Starscream. So users pulling in aws-appsync-realtime-client-ios via cartfile will also pull in starscream.
Testing done
A new project with cartfile
github "awslabs/aws-mobile-appsync-sdk-ios" "feature/carthage"
then
carthage update --platform iOS
pulls in the required dependencies.Cartfile.resolved contains:
So this means carthage users installing awslabs/aws-mobile-appsync-sdk-ios get all the frameworks required, ie. taking a dependency on aws-amplify/aws-appsync-realtime-client-ios will pull in daltoniam/starscream
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.