diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..3dff7e6 --- /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: "WebIdPluginCore", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-plugin-core-spm.git", + .branch("redesign-v4-snapshots") + ), + .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: "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/redesign-v4-snapshots/de/webid-solutions/WebIdVideoIdentPlugin/10.0.1/WebIdVideoIdentPlugin.framework-v10.0.1-SNAPSHOT-343.zip", + checksum: "c278b04026e914a0e83c418a70dc428e928cefc84a22777a223c9474b96cb2f7" + ), + .target( + name: "WebIdVideoIdentPluginWrapper", + dependencies: [ + .target(name: "WebIdVideoIdentPlugin"), + // [target dependecies here] + + .product(name: "WebIdPluginCore", package: "WebIdPluginCore"), + .product(name: "DeviceKit", package: "DeviceKit"), + .product(name: "AhoyKit", package: "AhoyKit"), + .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. +//