mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-06 06:58:26 +00:00
Summary: ## Changes in this pull request Xcode 14 changed the minimum deployment target to iOS/tvOS 11.0 and macOS 10.13. This PR moves up the deployment targets so that a warning isn't shown on every build. I also silenced the development region and base localization warnings. ### Checklist - [x] All tests pass. Demo project builds and runs. - [x] I added tests, an experiment, or detailed why my change isn't tested. - [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/main/.github/CONTRIBUTING.md) Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1573 Differential Revision: D45223095 Pulled By: TimOliver fbshipit-source-id: 57fbd284809c09f86a9731d0676332de35fbe0df
39 lines
1 KiB
Swift
39 lines
1 KiB
Swift
// swift-tools-version:5.0
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "IGListKit",
|
|
platforms: [ .iOS(.v11),
|
|
.tvOS(.v11),
|
|
.macOS(.v10_13),
|
|
],
|
|
products: [
|
|
.library(name: "IGListDiffKit",
|
|
type: .static,
|
|
targets: ["IGListDiffKit"]),
|
|
.library(name: "IGListKit",
|
|
type: .static,
|
|
targets: ["IGListKit"]),
|
|
.library(name: "IGListSwiftKit",
|
|
type: .static,
|
|
targets: ["IGListSwiftKit"]),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "IGListDiffKit",
|
|
path: "spm/Sources/IGListDiffKit"
|
|
),
|
|
.target(
|
|
name: "IGListKit",
|
|
dependencies: ["IGListDiffKit"],
|
|
path: "spm/Sources/IGListKit"
|
|
),
|
|
.target(
|
|
name: "IGListSwiftKit",
|
|
dependencies: ["IGListKit"],
|
|
path: "Source/IGListSwiftKit"
|
|
),
|
|
],
|
|
cLanguageStandard: .c11,
|
|
cxxLanguageStandard: .cxx11
|
|
)
|