47 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Swift
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Swift
		
	
	
	
	
	
| // 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: "WebIdPluginCore",
 | |
|     platforms: [
 | |
|         .iOS(.v13)
 | |
|     ],
 | |
|     products: [
 | |
|         // Products define the executables and libraries a package produces, and make them visible to other packages.
 | |
|         .library(name: "WebIdPluginCore", targets: ["WebIdPluginCoreWrapper"]),
 | |
|     ],
 | |
|     dependencies: [
 | |
|         // Dependencies declare other packages that this package depends on.
 | |
|         .package(
 | |
|             name: "WebIdUiKitComponents",
 | |
|             url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ui-components-spm.git",
 | |
|             .branch("snapshots")
 | |
|         ),
 | |
|         .package(
 | |
|             name: "WebIdIosSdk",
 | |
|             url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-spm.git",
 | |
|             .branch("experimental")
 | |
|         )
 | |
|     ],
 | |
|     targets: [
 | |
|         .binaryTarget(
 | |
|             name: "WebIdPluginCore",
 | |
|             url: "https://api.webid-solutions.de/releases/ios/xcframework/experimental/de/webid-solutions/WebIdPluginCore/20.3.1/WebIdPluginCore.framework-v20.3.1-SNAPSHOT-345.zip",
 | |
|             checksum: "2638f0d56cd795fe9d36bbceb5d9e220bb12066ab47bc9754e4ae2b363221f19"
 | |
|         ),
 | |
|         .target(
 | |
|             name: "WebIdPluginCoreWrapper",
 | |
|             dependencies: [
 | |
|                 .target(name: "WebIdPluginCore"),
 | |
|                 // [target dependecies here]
 | |
|                 
 | |
|                 .product(name: "WebIdUiKitComponents", package: "WebIdUiKitComponents"),
 | |
|                 .product(name: "WebIdIosSdk", package: "WebIdIosSdk"),
 | |
|             ]
 | |
|         )
 | |
|     ],
 | |
|     swiftLanguageVersions: [SwiftVersion.v5]
 | |
| )
 |