Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Nimish P N
2024-08-21 19:40:09 +0530
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6dac5b5cada5ed5e6474ba4be0de998edf832e2d
6dac5b5c
1 parent
7f4c6b03
SPM temp changes for support on MacOS
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
1 deletions
macos/mobile_scanner.podspec
macos/mobile_scanner/Package.swift
macos/Classes/DetectionSpeed.swift → macos/mobile_scanner/Sources/mobile_scanner/DetectionSpeed.swift
macos/Classes/MobileScannerPlugin.swift → macos/mobile_scanner/Sources/mobile_scanner/MobileScannerPlugin.swift
macos/mobile_scanner.podspec
View file @
6dac5b5
...
...
@@ -13,7 +13,7 @@ An universal scanner for Flutter based on MLKit.
s
.
license
=
{
:file
=>
'../LICENSE'
}
s
.
author
=
{
'Julian Steenbakker'
=>
'juliansteenbakker@outlook.com'
}
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'
}
...
...
macos/mobile_scanner/Package.swift
0 → 100644
View file @
6dac5b5
// 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
]
)
]
)
...
...
macos/
Classes
/DetectionSpeed.swift → macos/
mobile_scanner/Sources/mobile_scanner
/DetectionSpeed.swift
View file @
6dac5b5
macos/
Classes
/MobileScannerPlugin.swift → macos/
mobile_scanner/Sources/mobile_scanner
/MobileScannerPlugin.swift
View file @
6dac5b5
Please
register
or
login
to post a comment