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

Deployment targets when using carthage #51

Open
Miiha opened this issue May 20, 2020 · 0 comments
Open

Deployment targets when using carthage #51

Miiha opened this issue May 20, 2020 · 0 comments

Comments

@Miiha
Copy link

Miiha commented May 20, 2020

Hi,
when using carthage I generate the project using SPM as described in kylef's blog post.
E.g. for iOS when using the built framework in my application, the deployment target of the framework is 13.4, which is too high for me.
When updating the URITemplate.swifts Package.swift to the swift toolchain 5.0 I can make it work using the platforms specifier.

// swift-tools-version:5.0

import PackageDescription

let package = Package(
  name: "URITemplate",
  platforms: [
    .iOS("8.0"),
    .macOS("10.10"),
    .watchOS("2.0"),
    .tvOS("9.0")
  ],
  ...
  ]
)

Is it applicable to update to 5.0?
If not might there be any other way to achieve this when using carthage?

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

No branches or pull requests

1 participant