Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ swift build -Xlinker -L/usr/local/lib -Xlinker -lopus -Xcc -I/usr/local/include
- 'CTLS' <ProjectPath>/.build/checkouts/ctls.git--3947211726455151465: warning: Ignoring declared target(s) 'CTLS' in the system package
- 'Sodium' <ProjectPath>/.build/checkouts/Sodium--4393648072058833244: warning: Ignoring declared target(s) 'Sodium' in the system package
- 'COPUS' <ProjectPath>/.build/checkouts/copus--1181306265855914009: warning: Ignoring declared target(s) 'COPUS' in the system package
- Compile Swift Module 'SwiftDiscord' (51 sources)
- <ProjectPath>/.build/checkouts/SwiftDiscord--7968038837483286921/Sources/SwiftDiscord/Voice/DiscordVoiceEngine.swift:235:96: error: cannot convert value of type '[UInt8]' to expected argument type 'UInt8'
- let success = crypto_secretbox_easy(encrypted, &buf, UInt64(buf.count), &nonce, &secret!)
- ~~~~~~^
- <ProjectPath>/.build/checkouts/SwiftDiscord--7968038837483286921/Sources/SwiftDiscord/Voice/DiscordVoiceEngine.swift:255:114: error: cannot convert value of type '[UInt8]' to expected argument type 'UInt8'
- let success = crypto_secretbox_open_easy(unencrypted, voiceData, UInt64(data.count - 12), &nonce, &secret!)
- ~~~~~~^
- error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f '<ProjectPath>/.build/debug.yaml' main output:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement