Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxfrazer committed Jul 21, 2021
0 parents commit b527e58
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/swiftpm-resolve.yml
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
9 changes: 9 additions & 0 deletions .gitignore
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
21 changes: 21 additions & 0 deletions LICENSE
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.
45 changes: 45 additions & 0 deletions Package.swift
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"
)
]
)
25 changes: 25 additions & 0 deletions README.md
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'.
Binary file added media/swiftpm-agora.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b527e58

Please sign in to comment.