Skip to content

Commit

Permalink
added supported platform, defaultLocalization, removed package commen…
Browse files Browse the repository at this point in the history
…ts, added README
  • Loading branch information
maxxfrazer committed Jun 18, 2021
1 parent a7b208f commit 04c27e5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ import PackageDescription

let package = Package(
name: "AgoraRtcKit",
defaultLocalization: "en",
platforms: [.iOS(.v8)],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "AgoraRtcKit",
targets: ["AgoraRtcKit", "Agoraffmpeg", "Agorafdkaac", "AgoraSoundTouch", "AgoraCore", "AgoraAIDenoiseExtension", "AgoraDav1dExtension", "AgoraJNDExtension"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
targets: [
"AgoraRtcKit", "Agoraffmpeg", "Agorafdkaac", "AgoraSoundTouch",
"AgoraCore", "AgoraAIDenoiseExtension", "AgoraDav1dExtension", "AgoraJNDExtension"
]
),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.binaryTarget(
name: "AgoraRtcKit",
url: "https://download.agora.io/swiftpm/3.4.3/AgoraRtcEngine_iOS/AgoraRtcKit.xcframework.zip",
Expand Down Expand Up @@ -57,5 +56,6 @@ let package = Package(
name: "Agoraffmpeg",
url: "https://download.agora.io/swiftpm/3.4.3/AgoraRtcEngine_iOS/Agoraffmpeg.xcframework.zip",
checksum: "c2a6577612d785ad7318785a4f3eed82fd5a83de6a5e5d3a84f098f9999d4fcd"
) ]
)
]
)
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Agora Swift Package Manager

Install Agora Video SDK easily with Swift Package Manager.

## Installation

Add the URL of this repository to your Xcode 11+ Project.

Go to File > Swift Packages > Add Package Dependency, and paste in the link to this repository:

`https://github.com/AgoraIO/AgoraRtcEngine_iOS`

0 comments on commit 04c27e5

Please sign in to comment.