Update Package.swift
This commit is contained in:
parent
4ac86fe1ef
commit
caa04a196b
|
@ -622,6 +622,7 @@
|
|||
29EA87E91E79A3B70043A5F8 /* CMBlockBuffer+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "CMBlockBuffer+Extension.swift"; sourceTree = "<group>"; };
|
||||
29EA87EC1E79A3E30043A5F8 /* CVPixelBuffer+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "CVPixelBuffer+Extension.swift"; sourceTree = "<group>"; };
|
||||
29F04FF21F3388B000172706 /* HaishinKit.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HaishinKit.podspec; sourceTree = "<group>"; };
|
||||
29F39BE72335F8010055F9BB /* Package.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
|
||||
29F6F4841DFB83E200920A3A /* RTMPHandshake.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RTMPHandshake.swift; sourceTree = "<group>"; };
|
||||
29FD1B4F22FF13190095A0BE /* VTSessionPropertyKey.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VTSessionPropertyKey.swift; sourceTree = "<group>"; };
|
||||
29FD1B5322FF1C2D0095A0BE /* VTCompressionSessionPropertyKey.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VTCompressionSessionPropertyKey.swift; sourceTree = "<group>"; };
|
||||
|
@ -816,6 +817,7 @@
|
|||
2927A2991E7ED2D70044AF91 /* LICENSE.md */,
|
||||
2997BDD31D50D31B000AF900 /* README.md */,
|
||||
29F04FF21F3388B000172706 /* HaishinKit.podspec */,
|
||||
29F39BE72335F8010055F9BB /* Package.swift */,
|
||||
2968973E1CDB01920074D5F0 /* Examples */,
|
||||
0ACC00B98D6DB33B5BE87B87 /* Frameworks */,
|
||||
299F7E371CD71A76001E7272 /* Platforms */,
|
||||
|
@ -1502,7 +1504,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "/usr/local/bin/carthage copy-frameworks";
|
||||
shellScript = "/usr/local/bin/carthage copy-frameworks\n";
|
||||
};
|
||||
29E51F291FEFDEA200F839F4 /* ShellScript */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
|
|
|
@ -1,8 +1,25 @@
|
|||
// swift-tools-version:5.1
|
||||
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "HaishinKit",
|
||||
products: [
|
||||
.library(name: "RTMP", targets: ["HTTP"]),
|
||||
.library(name: "HTTP", targets: ["RTMP"]),
|
||||
],
|
||||
dependencies: [
|
||||
.Package(url: "https://github.com/shogo4405/Logboard.git", majorVersion: 1)
|
||||
.Package(url: "https://github.com/shogo4405/Logboard.git", from: "2.2.3")
|
||||
],
|
||||
targets: [
|
||||
.target(name: "Codec", dependencies: [])
|
||||
.target(name: "Extension", dependencied: [])
|
||||
.target(name: "HTTP", dependencies: [])
|
||||
.target(name: "ISO", dependencies: [])
|
||||
.target(name: "Media", dependencies: [])
|
||||
.target(name: "Util", dependencies: [])
|
||||
.target(name: "Net", dependencies: ["Codec", "Extension", "ISO", "Media", "Util"])
|
||||
.target(name: "HTTP", dependencies: ["Net"])
|
||||
.target(name: "RTMP", dependencies: ["Net", "FLV"])
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue