forked from flutter/packages
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[local_auth_darwin] Adds Swift Package Manager compatibility (flutter…
…#6708) Adds Swift Package Manager support to `local_auth_darwin`. This does not migrate the example app's Xcode project to use Swift Package Manager, that's tracked by flutter/flutter#148021. Fixes flutter/flutter#146911
- Loading branch information
1 parent
9197111
commit 23c5ed4
Showing
12 changed files
with
50 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
## 1.3.0 | ||
|
||
* Adds Swift Package Manager compatibility. | ||
|
||
## 1.2.2 | ||
|
||
* Adds compatibility with `intl` 0.19.0. | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
packages/local_auth/local_auth_darwin/darwin/local_auth_darwin/Package.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// swift-tools-version: 5.9 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
// Copyright 2013 The Flutter Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "local_auth_darwin", | ||
platforms: [ | ||
.iOS("12.0"), | ||
.macOS("10.14"), | ||
], | ||
products: [ | ||
.library(name: "local-auth-darwin", targets: ["local_auth_darwin"]) | ||
], | ||
dependencies: [], | ||
targets: [ | ||
.target( | ||
name: "local_auth_darwin", | ||
dependencies: [], | ||
resources: [ | ||
.process("Resources") | ||
], | ||
cSettings: [ | ||
.headerSearchPath("include/local_auth_darwin") | ||
] | ||
) | ||
] | ||
) |
4 changes: 2 additions & 2 deletions
4
...arwin/darwin/Classes/FLALocalAuthPlugin.m → ...es/local_auth_darwin/FLALocalAuthPlugin.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters