-
Notifications
You must be signed in to change notification settings - Fork 21
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
fix: supports cross platform builds #98
Conversation
Package.swift
Outdated
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "AppSyncRealTimeClient", | ||
platforms: [ | ||
.iOS(.v13), |
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.
wait i think... iOS AppSync SDK still uses this, will that impact the SDK to take on new versions of this package?
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.
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.
Yes, this dependency has to match the amplify-ios platform requirements to be compatible.
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.
need to verify iOS AppSync SDK dependency on this package, and for within this package, we also have pod support (does PodSpec need to be updated?)
https://github.com/aws-amplify/aws-appsync-realtime-client-ios/blob/main/AppSyncRealTimeClient.podspec
https://github.com/awslabs/aws-mobile-appsync-sdk-ios/blob/main/Package.swift
4706118
to
586745d
Compare
Issue #, if available:
#97
Description of changes:
Adds platform versions to Package.swift.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.