Skip to content
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

Merged
merged 2 commits into from
Jul 25, 2022

Conversation

brennanMKE
Copy link
Contributor

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.

@brennanMKE brennanMKE requested a review from a team as a code owner July 21, 2022 16:45
harsh62
harsh62 previously approved these changes Jul 21, 2022
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),
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

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.

Copy link
Contributor

@lawmicha lawmicha left a 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

@brennanMKE brennanMKE changed the title defines platform versions in Package.swift supports cross platform builds Jul 25, 2022
@lawmicha lawmicha changed the title supports cross platform builds fix: supports cross platform builds Jul 25, 2022
@lawmicha lawmicha merged commit 854d9e5 into aws-amplify:main Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants