59 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Swift
		
	
	
	
	
	
		
		
			
		
	
	
			59 lines
		
	
	
		
			2.5 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: "WebIdAutoIdProductPlugin", | ||
|  |     platforms: [ | ||
|  |         .iOS(.v13) | ||
|  |     ], | ||
|  |     products: [ | ||
|  |         // Products define the executables and libraries a package produces, and make them visible to other packages. | ||
|  |         .library(name: "WebIdAutoIdProductPlugin", targets: ["WebIdAutoIdProductPluginWrapper"]), | ||
|  |     ], | ||
|  |     dependencies: [ | ||
|  |         // Dependencies declare other packages that this package depends on. | ||
|  |         .package( | ||
|  |             name: "WebIdDigitalSigningPlugin", | ||
|  |             url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm", | ||
|  |             .exact("20.2.1") | ||
|  |         ), | ||
|  |         .package( | ||
|  |             name: "WebIdIosIdentScanPlugin", | ||
|  |             url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm", | ||
|  |             .exact("20.2.1") | ||
|  |         ), | ||
|  |         .package( | ||
|  |             name: "WebIdDocumentScanner", | ||
|  |             url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-document-scanner-spm.git", | ||
|  |             .exact("20.2.1") | ||
|  |         ), | ||
|  |         .package( | ||
|  |             name: "WebIdOnServerDocumentScanner", | ||
|  |             url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-on-server-document-scanner-spm", | ||
|  |             .exact("20.2.1") | ||
|  |         ) | ||
|  |     ], | ||
|  |     targets: [ | ||
|  |         .binaryTarget( | ||
|  |             name: "WebIdAutoIdProductPlugin", | ||
|  |             url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdAutoIdProductPlugin/21.0.3/WebIdAutoIdProductPlugin.framework-v21.0.3.zip", | ||
|  |             checksum: "32b058ea2bf887332415d647af6d57333a7d0466ef83bef8e3f6283d03f82798" | ||
|  |         ), | ||
|  |         .target( | ||
|  |             name: "WebIdAutoIdProductPluginWrapper", | ||
|  |             dependencies: [ | ||
|  |                 .target(name: "WebIdAutoIdProductPlugin"), | ||
|  |                 // [target dependecies here] | ||
|  |                  | ||
|  |                 .product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"), | ||
|  |                 .product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"), | ||
|  |                 .product(name: "WebIdDocumentScanner", package: "WebIdDocumentScanner"), | ||
|  |                 .product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"), | ||
|  |             ] | ||
|  |         ) | ||
|  |     ], | ||
|  |     swiftLanguageVersions: [SwiftVersion.v5] | ||
|  | ) |