Showing
4 changed files
with
27 additions
and
1 deletions
| @@ -13,7 +13,7 @@ An universal scanner for Flutter based on MLKit. | @@ -13,7 +13,7 @@ An universal scanner for Flutter based on MLKit. | ||
| 13 | s.license = { :file => '../LICENSE' } | 13 | s.license = { :file => '../LICENSE' } |
| 14 | s.author = { 'Julian Steenbakker' => 'juliansteenbakker@outlook.com' } | 14 | s.author = { 'Julian Steenbakker' => 'juliansteenbakker@outlook.com' } |
| 15 | s.source = { :path => '.' } | 15 | s.source = { :path => '.' } |
| 16 | - s.source_files = 'Classes/**/*' | 16 | + s.source_files = 'mobile_scanner/Sources/mobile_scanner/**/*.swift' |
| 17 | s.dependency 'FlutterMacOS' | 17 | s.dependency 'FlutterMacOS' |
| 18 | s.platform = :osx, '10.14' | 18 | s.platform = :osx, '10.14' |
| 19 | s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } | 19 | s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } |
macos/mobile_scanner/Package.swift
0 → 100644
| 1 | +// swift-tools-version: 5.9 | ||
| 2 | +// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
| 3 | + | ||
| 4 | +import PackageDescription | ||
| 5 | + | ||
| 6 | +let package = Package( | ||
| 7 | + name: "mobile_scanner", | ||
| 8 | + platforms: [ | ||
| 9 | + .macOS("10.14") | ||
| 10 | + ], | ||
| 11 | + products: [ | ||
| 12 | + | ||
| 13 | + .library(name: "mobile-scanner", targets: ["mobile_scanner"]) | ||
| 14 | + ], | ||
| 15 | + dependencies: [], | ||
| 16 | + targets: [ | ||
| 17 | + .target( | ||
| 18 | + name: "mobile_scanner", | ||
| 19 | + dependencies: [], | ||
| 20 | + resources: [ | ||
| 21 | + // To add other resources, see the instructions at | ||
| 22 | + // https://developer.apple.com/documentation/xcode/bundling-resources-with-a-swift-package | ||
| 23 | + ] | ||
| 24 | + ) | ||
| 25 | + ] | ||
| 26 | +) |
-
Please register or login to post a comment