发布 swift package

This commit is contained in:
xaoxuu 2020-06-10 13:14:20 +08:00
parent ecabea5f25
commit 58d9141d56
34 changed files with 65 additions and 2 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

25
Package.resolved Normal file
View File

@ -0,0 +1,25 @@
{
"object": {
"pins": [
{
"package": "Inspire",
"repositoryURL": "https://github.com/xaoxuu/Inspire.git",
"state": {
"branch": null,
"revision": "fed13e3530ca38f884d190ea5c7b12b8f3b2a41b",
"version": "1.1.0"
}
},
{
"package": "SnapKit",
"repositoryURL": "https://github.com/SnapKit/SnapKit.git",
"state": {
"branch": null,
"revision": "d458564516e5676af9c70b4f4b2a9178294f1bc6",
"version": "5.0.1"
}
}
]
},
"version": 1
}

23
Package.swift Normal file
View File

@ -0,0 +1,23 @@
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "ProHUD",
platforms: [.iOS(.v10)],
products: [
.library(name: "ProHUD", targets: ["ProHUD"]),
],
dependencies: [
.package(url: "https://github.com/SnapKit/SnapKit.git", "5.0.0" ..< "6.0.0"),
.package(url: "https://github.com/xaoxuu/Inspire.git", "1.1.0" ..< "2.0.0"),
],
targets: [
.target(
name: "ProHUD",
dependencies: ["SnapKit", "Inspire"],
path: "Source"
)
],
swiftLanguageVersions: [.v5]
)

View File

@ -116,6 +116,7 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
CD95D26722E72D68007559A3 /* ProHUD.podspec */, CD95D26722E72D68007559A3 /* ProHUD.podspec */,
CDC67BED2490A28500CC6FE6 /* Source */,
CD95D21E22E72C4C007559A3 /* ProHUD */, CD95D21E22E72C4C007559A3 /* ProHUD */,
CD95D21D22E72C4C007559A3 /* Products */, CD95D21D22E72C4C007559A3 /* Products */,
33E080A4BE17176DF10FFA89 /* Pods */, 33E080A4BE17176DF10FFA89 /* Pods */,
@ -132,6 +133,14 @@
sourceTree = "<group>"; sourceTree = "<group>";
}; };
CD95D21E22E72C4C007559A3 /* ProHUD */ = { CD95D21E22E72C4C007559A3 /* ProHUD */ = {
isa = PBXGroup;
children = (
CD95D22022E72C4C007559A3 /* Info.plist */,
);
path = ProHUD;
sourceTree = "<group>";
};
CDC67BED2490A28500CC6FE6 /* Source */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
CD95D21F22E72C4C007559A3 /* ProHUD.h */, CD95D21F22E72C4C007559A3 /* ProHUD.h */,
@ -143,9 +152,8 @@
CD6CD87322F185B400F4FD4A /* Toast */, CD6CD87322F185B400F4FD4A /* Toast */,
CD16491022EF0A4B0077988C /* Alert */, CD16491022EF0A4B0077988C /* Alert */,
CD6CD87C22F185DA00F4FD4A /* Guard */, CD6CD87C22F185DA00F4FD4A /* Guard */,
CD95D22022E72C4C007559A3 /* Info.plist */,
); );
path = ProHUD; path = Source;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
/* End PBXGroup section */ /* End PBXGroup section */

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB