-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b527e58
Showing
6 changed files
with
119 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: resolve | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
tags: | ||
- "!*" | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
resolve: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build Package | ||
run: swift package resolve |
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,9 @@ | ||
.DS_Store | ||
/.build | ||
/Packages | ||
/*.xcodeproj | ||
.swiftpm/ | ||
xcuserdata/ | ||
xcshareddata/ | ||
*.xcframework | ||
*.xcframework.zip |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 Agora.io Community | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,45 @@ | ||
// swift-tools-version:5.3 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "AgoraRtcKit", | ||
defaultLocalization: "en", | ||
platforms: [.iOS(.v8)], | ||
products: [ | ||
.library( | ||
name: "AgoraRtcKit", | ||
targets: [ | ||
"AgoraAIDenoiseExtension", "AgoraCore", "Agorafdkaac", "AgoraRtcKit", "AgoraSoundTouch" | ||
] | ||
), | ||
], | ||
targets: [ | ||
.binaryTarget( | ||
name: "AgoraAIDenoiseExtension", | ||
url: "https://github.com/AgoraIO/AgoraAudio_iOS/releases/download/3.5.0/AgoraAIDenoiseExtension.xcframework.zip", | ||
checksum: "cd0f0a0639740e8473060133e1dbf09f54bc1e76644bf2f54df5e8c722a326ee" | ||
), | ||
.binaryTarget( | ||
name: "AgoraCore", | ||
url: "https://github.com/AgoraIO/AgoraAudio_iOS/releases/download/3.5.0/AgoraCore.xcframework.zip", | ||
checksum: "5081ab43cfa018b76ea2b26d11f2a346a7ac6fc48fd25fcc5bded5a12ba6ff5b" | ||
), | ||
.binaryTarget( | ||
name: "Agorafdkaac", | ||
url: "https://github.com/AgoraIO/AgoraAudio_iOS/releases/download/3.5.0/Agorafdkaac.xcframework.zip", | ||
checksum: "d06021f56b3bd18255e0ed534a30cd9106b64e5ad6d9605bf16a15668930626a" | ||
), | ||
.binaryTarget( | ||
name: "AgoraRtcKit", | ||
url: "https://github.com/AgoraIO/AgoraAudio_iOS/releases/download/3.5.0/AgoraRtcKit.xcframework.zip", | ||
checksum: "a1ffe7a2730979a8c24c983e17617f9430383679f201a35b873f2afad21ee50c" | ||
), | ||
.binaryTarget( | ||
name: "AgoraSoundTouch", | ||
url: "https://github.com/AgoraIO/AgoraAudio_iOS/releases/download/3.5.0/AgoraSoundTouch.xcframework.zip", | ||
checksum: "f5a45842b887f1320feed7955cd5d1f1e4a8cc354474996ad2147030d70a532f" | ||
) | ||
] | ||
) |
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,25 @@ | ||
# Agora Audio SDK iOS Swift Package | ||
|
||
<p align="center"> | ||
<img src="https://github.com/AgoraIO/AgoraAudio_iOS/actions/workflows/swiftpm-resolve.yml/badge.svg"/> | ||
</p> | ||
|
||
Install Agora Audio SDK easily with Swift Package Manager. | ||
|
||
![](media/swiftpm-agora.png) | ||
|
||
[Click here for full documentation](https://docs.agora.io/en/Audio/landing-page?platform=iOS). | ||
|
||
## 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/AgoraAudio_iOS` | ||
|
||
--- | ||
|
||
If you have issues installing this Swift Package: | ||
|
||
In Xcode's File menu, select 'Swift Packages' and then 'Reset Package Caches'. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.