Giter Site home page Giter Site logo

Comments (9)

Ayyanchira avatar Ayyanchira commented on July 21, 2024 2

Thank you for reporting @harish-suthar and for the suggestions @mtzaquia . We will have this updated.

from swift-sdk.

harish-suthar avatar harish-suthar commented on July 21, 2024
Screenshot 2024-06-26 at 5 21 47 PM

Adding the blank method implementation using protocol extension solved the issue temporary, but this is doable only if I use cocoapods with SPM we can't update the source code so.

from swift-sdk.

mtzaquia avatar mtzaquia commented on July 21, 2024

As @harish-suthar mentioned, if modifying the files is an option (I do not see this updated on 6.5.3, which is the latest release available), simply adding @MainActor to the function should suffice:

protocol WebViewProtocol {
    var view: UIView { get }
    var position: ViewPosition { get }
    @discardableResult func loadHTMLString(_ string: String, baseURL: URL?) -> WKNavigation?
    func set(position: ViewPosition)
    func set(navigationDelegate: WKNavigationDelegate?)
    func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor (Any?, Error?) -> Void)?) // <- HERE
    func layoutSubviews()
    func calculateHeight() -> Future<CGFloat, IterableError>
}

This lets you move forward without extensions.

Curiously enough, I get this error even if using @preconcurrency import IterableSDK, so I am unsure if there's another way to suppress it without SDK code changes.

from swift-sdk.

Lancelotbronner avatar Lancelotbronner commented on July 21, 2024

Just to highlight the importance of this issue, since we can't use previous versions of Xcode on Sequoia, any developers updating to the beta will no longer be able to build their apps unless forking.

from swift-sdk.

powellmark-aceable avatar powellmark-aceable commented on July 21, 2024

Any update here? I'm currently blocked.

from swift-sdk.

JonLz avatar JonLz commented on July 21, 2024

We are blocked as well and would appreciate an update! Hopefully it is straightforward enough and could warrant a patch release. Thanks.

from swift-sdk.

acekevin avatar acekevin commented on July 21, 2024

Currently blocked, please advise. Reporting up to our rep.

from swift-sdk.

jmonroe avatar jmonroe commented on July 21, 2024

I am also blocked on this and reported it to Iterable.

from swift-sdk.

jena-chakour avatar jena-chakour commented on July 21, 2024

Hey all, quick note that the Iterable team is looking into this. We will update asap; appreciate everyone's feedback on the issue-- let us know if any relevant changes or details come up

from swift-sdk.

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.