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
Swift Compiler Error Group
~/SSHCommands.swift:15:5: Value of optional type 'SSHShell?' must be unwrapped to refer to member 'withCallback' of wrapped base type 'SSHShell'
~/SSHCommands.swift:26:5: Value of optional type 'SSHShell?' must be unwrapped to refer to member 'write' of wrapped base type 'SSHShell'
~/SSHCommands.swift:32:5: Value of optional type 'SSHShell?' must be unwrapped to refer to member 'disconnect' of wrapped base type 'SSHShell'
~/SSHCommands.swift:32:22: Missing argument for parameter #1 in call
~//Pods/SwiftSH/SwiftSH/Libssh2.swift:333:119: Value of optional type 'UnsafePointer?' must be unwrapped to a value of type 'UnsafePointer'
This is in a fresh project just to test before implementing in my working project. I changed the swift version from 5 to 4.2 then to 4 and got this error:
~/Pods/SwiftSH/SwiftSH/Libssh2.swift:333:119: Value of optional type 'UnsafePointer?' must be unwrapped to a value of type 'UnsafePointer'
The text was updated successfully, but these errors were encountered:
Can the author update the library to solve the problem on swift5? Although I already know how to solve it, it's still troublesome to modify it every time.
This is in a fresh project just to test before implementing in my working project. I changed the swift version from 5 to 4.2 then to 4 and got this error:
The text was updated successfully, but these errors were encountered: