| 
									
										
										
										
											2024-03-07 12:24:13 +01:00
										 |  |  | // 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", | 
					
						
							| 
									
										
										
										
											2025-09-04 14:04:45 +02:00
										 |  |  |             url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ui-components-spm.git", | 
					
						
							| 
									
										
										
										
											2025-10-01 14:39:48 +02:00
										 |  |  |             .upToNextMinor(from: "20.3.0") | 
					
						
							| 
									
										
										
										
											2024-03-07 12:24:13 +01:00
										 |  |  |         ), | 
					
						
							|  |  |  |         .package( | 
					
						
							|  |  |  |             name: "WebIdIosSdk", | 
					
						
							|  |  |  |             url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-spm.git", | 
					
						
							| 
									
										
										
										
											2025-10-01 14:39:48 +02:00
										 |  |  |             .upToNextMinor(from: "20.0.2") | 
					
						
							| 
									
										
										
										
											2024-03-07 12:24:13 +01:00
										 |  |  |         ) | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     targets: [ | 
					
						
							|  |  |  |         .binaryTarget( | 
					
						
							|  |  |  |             name: "WebIdPluginCore", | 
					
						
							| 
									
										
										
										
											2025-10-01 14:39:48 +02:00
										 |  |  |             url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdPluginCore/20.2.2/WebIdPluginCore.framework-v20.2.2-SNAPSHOT-337.zip", | 
					
						
							|  |  |  |             checksum: "6b1e16583e1629e31271c7eac052cb117ec7e34ea691b7121cb6812f3ccc1e7d" | 
					
						
							| 
									
										
										
										
											2024-03-07 12:24:13 +01:00
										 |  |  |         ), | 
					
						
							|  |  |  |         .target( | 
					
						
							|  |  |  |             name: "WebIdPluginCoreWrapper", | 
					
						
							|  |  |  |             dependencies: [ | 
					
						
							|  |  |  |                 .target(name: "WebIdPluginCore"), | 
					
						
							|  |  |  |                 // [target dependecies here] | 
					
						
							|  |  |  |                  | 
					
						
							|  |  |  |                 .product(name: "WebIdUiKitComponents", package: "WebIdUiKitComponents"), | 
					
						
							|  |  |  |                 .product(name: "WebIdIosSdk", package: "WebIdIosSdk"), | 
					
						
							|  |  |  |             ] | 
					
						
							|  |  |  |         ) | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     swiftLanguageVersions: [SwiftVersion.v5] | 
					
						
							|  |  |  | ) |