-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
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
'NSInvalidArgumentException', reason: '*** -propertyForKey: only defined for abstract class #250
Comments
Minimize test case func testReproduceIssue250() {
struct PostRequest: Request {
let baseURL = URL(string: "https://httpbin.org")!
let method: HTTPMethod = .post
let path = "/post"
let bodyParameters: BodyParameters? = MultipartFormDataBodyParameters(
parts: [],
entityType: .inputStream
)
func response(from object: Any, urlResponse: HTTPURLResponse) throws -> Any {
return object
}
}
let expectation = self.expectation(description: #function)
let request = PostRequest()
Session.send(request) { result in
switch result {
case .success:
expectation.fulfill()
case .failure:
XCTFail()
}
}
wait(for: [expectation], timeout: 3.0)
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I found this exception in Crashlytics crash logs from my production app.
I can reproduce and paste it bellow. But I cannot find how to fix it.
So, I just report this.
The text was updated successfully, but these errors were encountered: