Skip to content

Commit 32b5789

Browse files
committed
Add a demo project
1 parent f669d90 commit 32b5789

File tree

15 files changed

+884
-0
lines changed

15 files changed

+884
-0
lines changed

wrappers/ios/Package.swift

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// swift-tools-version:5.3
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "ZXingWrapper",
6+
platforms: [
7+
.iOS(.v13)
8+
],
9+
products: [
10+
.library(
11+
name: "ZXingWrapper",
12+
type: .static,
13+
targets: ["ZXingWrapper"])
14+
],
15+
targets: [
16+
.binaryTarget(
17+
name: "ZXing",
18+
path: "ZXing.xcframework"
19+
),
20+
.target(
21+
name: "ZXingWrapper",
22+
dependencies: ["ZXing"],
23+
path: "Sources/Wrapper",
24+
publicHeadersPath: ".",
25+
cxxSettings: [
26+
.unsafeFlags(["-stdlib=libc++"]),
27+
.unsafeFlags(["-std=gnu++17"])
28+
]
29+
)
30+
]
31+
)

wrappers/ios/demo/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# ZXingWrapper Demo Project
2+
3+
This demo-project sets up a basic `AVCaptureSession` and uses ZXing on the incoming frames.
4+
You have to build the `ZXing.xcframework` before, by performing the `build-release.sh` script
5+
in the parent-directory.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy