-
-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1161 from Xa69/users/nimish/1150-SPM-Support-on-m…
…acOS build: SPM temp support changes for support on MacOS
- Loading branch information
Showing
4 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ An universal scanner for Flutter based on MLKit. | |
s.license = { :file => '../LICENSE' } | ||
s.author = { 'Julian Steenbakker' => '[email protected]' } | ||
s.source = { :path => '.' } | ||
s.source_files = 'Classes/**/*' | ||
s.source_files = 'mobile_scanner/Sources/mobile_scanner/**/*.swift' | ||
s.dependency 'FlutterMacOS' | ||
s.platform = :osx, '10.14' | ||
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// swift-tools-version: 5.9 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "mobile_scanner", | ||
platforms: [ | ||
.macOS("10.14") | ||
], | ||
products: [ | ||
.library(name: "mobile-scanner", targets: ["mobile_scanner"]) | ||
], | ||
dependencies: [], | ||
targets: [ | ||
.target( | ||
name: "mobile_scanner", | ||
dependencies: [], | ||
resources: [ | ||
// To add other resources, see the instructions at | ||
// https://developer.apple.com/documentation/xcode/bundling-resources-with-a-swift-package | ||
] | ||
) | ||
] | ||
) |
File renamed without changes.
File renamed without changes.