diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..badcaa1 --- /dev/null +++ b/Package.swift @@ -0,0 +1,58 @@ +// 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: "WebIdVideoIdentPlugin", + platforms: [ + .iOS(.v13) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library(name: "WebIdVideoIdentPlugin", targets: ["WebIdVideoIdentPluginWrapper"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + .package( + name: "DeviceKit", + url: "https://github.com/devicekit/DeviceKit.git", + .exact("5.2.2") + ), + .package( + name: "AhoyKit", + url: "https://github.com/ahoyconference/ahoykit-swift", + .exact("6.0.0") + ), + .package( + name: "WebIdPluginCore", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm.git", + .exact("10.0.0") + ), + .package( + name: "AhoyWebRTC", + url: "https://github.com/ahoyconference/ahoywebrtc-swift.git", + .exact("1.8.0") + ) + ], + targets: [ + .binaryTarget( + name: "WebIdVideoIdentPlugin", + url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdVideoIdentPlugin/9.0.0/WebIdVideoIdentPlugin.framework-v9.0.0.zip", + checksum: "3205a519ddf0cc1782231854e525d5eab4aa46c815e313d7cdaff3f41865f471" + ), + .target( + name: "WebIdVideoIdentPluginWrapper", + dependencies: [ + .target(name: "WebIdVideoIdentPlugin"), + // [target dependecies here] + + .product(name: "DeviceKit", package: "DeviceKit"), + .product(name: "AhoyKit", package: "AhoyKit"), + .product(name: "WebIdPluginCore", package: "WebIdPluginCore"), + .product(name: "AhoyWebRTC", package: "AhoyWebRTC"), + ] + ) + ], + swiftLanguageVersions: [SwiftVersion.v5] +) diff --git a/Sources/WebIdVideoIdentPluginWrapper/Dummy.swift b/Sources/WebIdVideoIdentPluginWrapper/Dummy.swift new file mode 100644 index 0000000..7dc7342 --- /dev/null +++ b/Sources/WebIdVideoIdentPluginWrapper/Dummy.swift @@ -0,0 +1,4 @@ +// +// Created by WebID Solutions GmbH | www.webid-solutions.de. +// See the file "LICENSE" for the full license governing this code. +//