Open Nathipha opened 5 years ago
I have the same problem, is there a solution? thank you.
@Stermop I didn't find a solution when I was using the library. I ended up checking what error code means what and then just ignored the error that was thrown when it was successful.
I'm not using the library anymore though because it doesn't look like @amosavian is supporting it any more and there are a lot more problems than just this one: Even though they are small, the last one I found made the library unusable for me (simply didn't work with my server), so now I'm using BlueSocket and built my own reading/writing library around it.
I'm using the latest version of the library (with Swift 5, Xcode 10) and have just run into the same problem as the author of this closed one:
pretty much instantly always "fails" with the error:
error!.localizedDescription
gives some more information and is output twice (!):If I ignore "success", I can:
just fine and there are no more error messages (still dealing with everything being done twice but that's are different problem).
If I give it an invalid URL, the output after about a minute is pretty similar (the error code is the only difference):
Why is it throwing an error message, even though login seems to work and complete just fine?