-
-
Notifications
You must be signed in to change notification settings - Fork 475
iOS Wrapper improvements #630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
axxel
merged 16 commits into
zxing-cpp:master
from
benjohnde:feat/ios-wrapper-improvement
Oct 18, 2023
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
d99f8d3
refactor(wrappers/ios): enable adding ios dependency in a clean way
benjohnde b26f102
feat(wrappers/ios/demo): adapt xcodeproj for streamlined deps usage
benjohnde fb274c9
refactor(wrappers/ios/demo): improve read functionality
benjohnde bf5e6cf
refactor(core): remove apple framework references from cmake file
benjohnde 1870e2d
fix(wrappers/ios): remove unused symbolic link
benjohnde ca95bad
refactor(wrappers/ios): remove unnecessary files
benjohnde bd445b5
fix(wrappers/ios/demo): get rid of duplicated framework reference
benjohnde 2e2a6cf
fix(wrappers/ios): change c++ language standard to 20
benjohnde 3c01029
fix(wrappers/ios): clean-up xcodeproj by removing absolute reference
benjohnde 2b4a2a4
fix(wrappers/ios): revert videoSetting to yuv
benjohnde 8f7f0e8
chore(workflows/ci): replace old script invocation with swift pm buil…
benjohnde 8bfca58
fix(wrappers/ios): omit the type (static vs dynamic) for the library …
benjohnde 19241b6
fix(wrappers/ios): downgrade used swift-tools-version for github action
benjohnde 2f0d820
fix(ci): use macos-13 image to run build & test
benjohnde 2f883c3
fix(wrappers/ios): fix demo project for Xcode 14 again
benjohnde 2a592e9
chore(ci): revert back to macos-latest
benjohnde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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 |
---|---|---|
|
@@ -5,3 +5,5 @@ CMakeLists.txt.user | |
*.d | ||
*.a | ||
compile_commands.json | ||
.swiftpm | ||
.build |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
---|---|---|
@@ -1,5 +1 @@ | ||
.swiftpm | ||
_builds | ||
.build | ||
xcuserdata | ||
ZXingCpp.xcframework |
Binary file not shown.
This file contains hidden or 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 |
---|---|---|
@@ -1,14 +1,3 @@ | ||
# ZXingCpp iOS Framework | ||
|
||
To use the iOS (wrapper) framework in other apps, it is easiest | ||
to build the library project and include the resulting xcframework | ||
file in your app. | ||
|
||
## How to build and use | ||
|
||
To build the xcframework: | ||
|
||
$ ./build-release.sh | ||
benjohnde marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Then you can add the iOS Wrapper as a local Swift Package by adding it as a dependency to your app. | ||
Don't forget to add the wrapper to the `Frameworks, Libraries, and Embedded Content` section within the `General` tab. | ||
Add the iOS wrapper either as a local Swift Package by adding it as a dependency to your app or add the repository, the Package.swift file is automatically picked. |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# ZXingWrapper Demo Project | ||
|
||
This demo-project sets up a basic `AVCaptureSession` and uses ZXing on the incoming frames. | ||
You have to build the `ZXing.xcframework` before, by performing the `build-release.sh` script | ||
in the parent-directory. |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.