Comments (9)
Have the same issue here 🙁
from webviewjavascriptbridge.
Update iOS version to greater than 5 in podspec and pod install again can fix this issue.
Ex: s.platforms = { :ios => "11.0", :osx => "" }
from webviewjavascriptbridge.
Try this
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h, change __IPHONE_OS_VERSION_MAX_ALLOWED to 180000
from webviewjavascriptbridge.
@KhamHti sudo nano /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h
Use arrow keys to navigate and change the value of __IPHONE_OS_VERSION_MAX_ALLOWED
to 180000
and hit Ctrl + O
-> hit Enter/Return
-> hit Ctrl + X
-> hit Enter/Return
from webviewjavascriptbridge.
Have the same issue here 🙁
from webviewjavascriptbridge.
to @yyks999, this file does not exists(on my Mac). And I´ve got the current error that I can't download cocoa pods: "ERROR: Failed to build gem native extension." I´ve got the macOS Release Candidate, I had to uninstall cocoa pods and now I can not download it anymore.
Could anyone help me?
from webviewjavascriptbridge.
Try this
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h, change __IPHONE_OS_VERSION_MAX_ALLOWED to 180000
how can I edit that file with? I tried with Xcode but I can't edit it.
from webviewjavascriptbridge.
@KhamHti
sudo nano /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h
Use arrow keys to navigate and change the value of
__IPHONE_OS_VERSION_MAX_ALLOWED
to180000
and hitCtrl + O
-> hitEnter/Return
-> hitCtrl + X
-> hitEnter/Return
[EDIT]
I managed to do it directly in the finder.
I had to duplicate the file, modify it, then drag it in the Headers
folder and enter my admin password
[ORIGINAL ANSWER]
I tried it but it seems that I do not have the permission to modify this file :
[ Cannot open file for writing: Operation not permitted ]
I tried to add write access to file without success with a sudo chmod u+w
from webviewjavascriptbridge.
改成源代码集成,而不是CocoaPods。或者把podspec里面的依赖版本提高一下。
Change to source code integration, not CocoaPods. Or improve the podspec inside the dependent version.
from webviewjavascriptbridge.
Related Issues (20)
- Web view is blank after creating the bridge object HOT 1
- iOS14.6 WebViewJavascriptBridge not work but iOS14.3 works HOT 1
- Hello
- Why don't work in iPad Air (14.1) ? HOT 2
- nice
- iOS 15.4 js 交互不走decidePolicyFor 这个代理方法了 HOT 2
- Mac OSX app Packages printed in version 10.15 and above crashed in system 10.14 and below, so far the problem has not been located HOT 1
- nice
- nice
- 我已经重构了这个库,10分钟就能完成接入,也许可以帮助你. HOT 2
- 按照README 第四步拷贝的js代码可能不起作用 HOT 1
- failed assertion `Draw Errors Validation
- Mambamessage
- I think that if you no longer maintain this library, then it is recommended that you make this warehouse archived, rather than leave it to grow grass!
- JSBridge H5调用原生的方法,频繁调用的性能优化
- iOS17.1.1 收不到回调 HOT 8
- I
- Invalid string representation for a specification: `WebViewJavascriptBridge(WK) (6.1.0)
- Unblock iphone 8 plus
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webviewjavascriptbridge.