forked from gali8/Tesseract-OCR-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
41 lines (40 loc) · 1.08 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// swift-tools-version:6.0
import PackageDescription
let package = Package(
name: "TesseractOCR",
platforms: [
.iOS(.v15)
],
products: [
.library(
name: "TesseractOCR",
targets: ["TesseractOCR", "Tesseract", "Leptonica", "JPEG", "PNG", "TIFF"]
)
],
targets: [
.binaryTarget(
name: "TesseractOCR",
path: "TesseractOCR/xcframework/TesseractOCR.xcframework"
),
.binaryTarget(
name: "Tesseract",
path: "TesseractOCR/xcframework/Tesseract.xcframework"
),
.binaryTarget(
name: "Leptonica",
path: "TesseractOCR/xcframework/Leptonica.xcframework"
),
.binaryTarget(
name: "JPEG",
path: "TesseractOCR/xcframework/JPEG.xcframework"
),
.binaryTarget(
name: "PNG",
path: "TesseractOCR/xcframework/PNG.xcframework"
),
.binaryTarget(
name: "TIFF",
path: "TesseractOCR/xcframework/TIFF.xcframework"
)
]
)