I'm constructing multipart form-data request. I'm getting build error for append statements
var dataBody = Data()
dataBody.append("--\(boundary + lineBreak)") //Error
Error: Cannot invoke 'append' with an argument list of type '(String)'
It's weird as this works in other project. Am I missing something? How to fix this issue?