Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Replace UIWebView with WKWebView#21

Open
anupambiswal wants to merge 1 commit into
ZBar:masterZBar/ZBar:masterfrom
anupambiswal:masteranupambiswal/ZBar:masterCopy head branch name to clipboard
Open

Replace UIWebView with WKWebView#21
anupambiswal wants to merge 1 commit into
ZBar:masterZBar/ZBar:masterfrom
anupambiswal:masteranupambiswal/ZBar:masterCopy head branch name to clipboard

Conversation

@anupambiswal

Copy link
Copy Markdown

As UIWebView is deprecated, Apple will stop accepting apps using UIWebView. So need to migrate to WKWebView.
Ref: https://developer.apple.com/news/?id=12232019b

@akkibdv

akkibdv commented Mar 18, 2020

Copy link
Copy Markdown

Hi,

Can I get updated Zbar SDK with WKWebView?

Thank you.

@phucdanghuu

Copy link
Copy Markdown

I had a problem when run pod update:

[!] Unable to find a specification for ‘ZBarSDK’ when run “pod update”

pod ‘ZBarSDK’, :git => ‘https://github.com/phucdanghuu/ZBar.git', :commit => ‘dd0d03e89e070735eb76cc80b8371ba2728913c1’

@andrewreeman

Copy link
Copy Markdown

Hi,

I tried

pod "ZBarSDK", :git => "https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35"
replacing commit 'dd0d03e89e070735eb76cc80b8371ba2728913c1' with 'b82be9cf11ec7045472e69b033461de438c1aa35' and it seemed to work fine for me.

if([url isFileURL])
return(YES);
decisionHandler(WKNavigationActionPolicyAllow);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need Return code!!

Suggested change
decisionHandler(WKNavigationActionPolicyAllow);
return;

@nikhilpatel7

nikhilpatel7 commented Oct 9, 2020

Copy link
Copy Markdown

Hi,
I want static library (libzbar.a) with this:
"https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35"
changes.
Can anyone guide me from where I can get that or is there anyway I can create it myself ?

@dabing1022

Copy link
Copy Markdown

Hi,
I want static library (libzbar.a) with this:
"https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35"
changes.
Can anyone guide me from where I can get that or is there anyway I can create it myself ?

It's very easy to do this.

  1. download source code from "https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35"
  2. open zbar.xcodeproj project in ZBar/iphone

截屏2020-10-13 下午5 56 10
modify architectures to standard architectures, you will get armv7 and arm64 arch. If not, origin config has only armv7 arch
4.
截屏2020-10-13 下午5 59 38
edit libzbar scheme

modify build configuration to release

截屏2020-10-13 下午6 02 24

  1. Command + B, then you will find libzbar.a static library in your Products folder.
    image

🍺🍺🍺

@banzhuan-jing

Copy link
Copy Markdown
pod 'ATBarSDK'

https://github.com/Adrift001/ZBar/blob/master/ATBarSDK.podspec

@rakuyoMo

rakuyoMo commented Apr 2, 2022

Copy link
Copy Markdown
pod 'ATBarSDK'

https://github.com/Adrift001/ZBar/blob/master/ATBarSDK.podspec

Your tag is mistyped, can you re-release a new version with the tag tagged on top of the latest commit?

@phucdanghuu

Copy link
Copy Markdown
pod 'ATBarSDK'

https://github.com/Adrift001/ZBar/blob/master/ATBarSDK.podspec

Your tag is mistyped, can you re-release a new version with the tag tagged on top of the latest commit?

you can use mine:
pod 'ZBarSDK', :git => 'https://github.com/phucdanghuu/COZbar.git'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.