You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated Xcode to 10.2 yesterday.
But when I build my program today, an error at Libssh2.swift: 333
let response = LIBSSH2_USERAUTH_KBDINT_RESPONSE(text: strdup(password), length: UInt32(strlen(password)))
reason is:
Value of optional type 'UnsafePointer?' must be unwrapped to a value of type 'UnsafePointer'
I change the code to: let response = LIBSSH2_USERAUTH_KBDINT_RESPONSE(text: strdup(password), length: UInt32(strlen(password!)))
and solve this problem, but I don't think that is good way.
The text was updated successfully, but these errors were encountered:
I have updated Xcode to 10.2 yesterday.
But when I build my program today, an error at Libssh2.swift: 333
let response = LIBSSH2_USERAUTH_KBDINT_RESPONSE(text: strdup(password), length: UInt32(strlen(password)))
reason is:
Value of optional type 'UnsafePointer?' must be unwrapped to a value of type 'UnsafePointer'
I change the code to:
let response = LIBSSH2_USERAUTH_KBDINT_RESPONSE(text: strdup(password), length: UInt32(strlen(password!)))
and solve this problem, but I don't think that is good way.
The text was updated successfully, but these errors were encountered: