We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code is like this
import UIKit import PromiseKit import AwaitKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let urlRequest = URLRequest(url: URL(string: "https://zhaoxin.pro")!) if let (data, response) = try? await(URLSession.shared.dataTask(.promise, with: urlRequest)) { let httpURLResponse = response as! HTTPURLResponse } } }
on the if line, ".../ViewController.swift:19:40: Type of expression is ambiguous without more context" with Carthage build with xcframework.
if
With CocoaPods, everything is fine.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The code is like this
With CocoaPods, everything is fine.
The text was updated successfully, but these errors were encountered: