Giter Site home page Giter Site logo

Comments (9)

dizz avatar dizz commented on September 27, 2024 5

Have the same issue here 🙁

from webviewjavascriptbridge.

morris322 avatar morris322 commented on September 27, 2024 4

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.

yyks999 avatar yyks999 commented on September 27, 2024 4

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.

cHAuHaN-AppyHigh avatar cHAuHaN-AppyHigh commented on September 27, 2024 2

@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.

LeonardoYanJun avatar LeonardoYanJun commented on September 27, 2024 1

Have the same issue here 🙁

from webviewjavascriptbridge.

sigmassimo avatar sigmassimo commented on September 27, 2024

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.

KhamHti avatar KhamHti commented on September 27, 2024

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.

cederache avatar cederache commented on September 27, 2024

@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

[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.

misuqian avatar misuqian commented on September 27, 2024

改成源代码集成,而不是CocoaPods。或者把podspec里面的依赖版本提高一下。
Change to source code integration, not CocoaPods. Or improve the podspec inside the dependent version.

from webviewjavascriptbridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.