Skip to content
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

swift build error #1

Open
MrBigFly opened this issue Nov 12, 2020 · 0 comments
Open

swift build error #1

MrBigFly opened this issue Nov 12, 2020 · 0 comments

Comments

@MrBigFly
Copy link

/Users/xxx/Desktop/xib2code/Xib2ObjC-master/Xib2ObjC_Server/.build/checkouts/BlueSocket/Sources/Socket/SocketProtocols.swift:189:18: warning: enum case 'fail' has 2 associated values
case .fail(let (errCode, )):
^
/Users/xxx/Desktop/xib2code/Xib2ObjC-master/Xib2ObjC_Server/.build/checkouts/BlueSocket/Sources/Socket/SocketProtocols.swift:176:7: note: 'fail' declared here
case fail(Int, String)
^
/Users/xxx/Desktop/xib2code/Xib2ObjC-master/Xib2ObjC_Server/.build/checkouts/BlueSocket/Sources/Socket/SocketProtocols.swift:205:18: warning: enum case 'fail' has 2 associated values
case .fail(let (
, reason)):
^
/Users/xxx/Desktop/xib2code/Xib2ObjC-master/Xib2ObjC_Server/.build/checkouts/BlueSocket/Sources/Socket/SocketProtocols.swift:176:7: note: 'fail' declared here
case fail(Int, String)
^
/Users/xxx/Desktop/xib2code/Xib2ObjC-master/Xib2ObjC_Server/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1233:7: warning: variable 'status' was never mutated; consider changing to 'let' constant
var status: Int32 = getaddrinfo(host, String(port), nil, &info)
~~~ ^
let
[48/48] Linking Xib2ObjC_Server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant