diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..d89cff62 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.DS_Store +/.build +/Packages +/*.xcodeproj +.swiftpm/ +xcuserdata/ +xcshareddata/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..2e200d5a --- /dev/null +++ b/LICENSE @@ -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. \ No newline at end of file diff --git a/Package.swift b/Package.swift new file mode 100644 index 00000000..11b81baf --- /dev/null +++ b/Package.swift @@ -0,0 +1,51 @@ +// 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", + 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"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + ], + 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://github.com/AgoraIO/AgoraRtcEngine_iOS/releases/download/3-3-0/AgoraRtcKit.xcframework.zip", + checksum: "c6812e5348c85c09e5dde6f618ed64e6bd2d36134f54cb1bfe5d2ee0f62b87ce" + ), + .binaryTarget( + name: "Agoraffmpeg", + url: "https://github.com/AgoraIO/AgoraRtcEngine_iOS/releases/download/3-3-0/Agoraffmpeg.xcframework.zip", + checksum: "e54814d0683f29efd38efdde9d800b00ea356899943bf64fe4d92d2182292acc" + ), + .binaryTarget( + name: "Agorafdkaac", + url: "https://github.com/AgoraIO/AgoraRtcEngine_iOS/releases/download/3-3-0/Agorafdkaac.xcframework.zip", + checksum: "1409571937799d1ccb370ca6990c151c17f86056ee22d4366ef907ca2ee6ac1c" + ), + .binaryTarget( + name: "AgoraAIDenoiseExtension", + url: "https://github.com/AgoraIO/AgoraRtcEngine_iOS/releases/download/3-3-0/AgoraAIDenoiseExtension.xcframewor.zip", + checksum: "099be38313b14fd807bcf6f914cc909720d651ea1e414babe22e656bb2629bdc" + ), + .binaryTarget( + name: "AgoraCore", + url: "https://github.com/AgoraIO/AgoraRtcEngine_iOS/releases/download/3-3-0/AgoraCore.xcframework.zip", + checksum: "6af22f5644ea871b7a5dc3d69ce5f1ff35077f487273dbe18745022c2c879cb1" + ), + .binaryTarget( + name: "AgoraSoundTouch", + url: "https://github.com/AgoraIO/AgoraRtcEngine_iOS/releases/download/3-3-0/AgoraSoundTouch.xcframework.zip", + checksum: "3026dd0c11aeba3b5da02fc3b0c0bd69d2aec19c0cbdd7582ec4f2e9d3c6fb38" + ) ] +)