More help on the way: Xcode 26 Beta's Coding Assistant solves this issue nicely.
Before:
let address = "127.0.0.1"
let username = "steve"
let password = "1234"
let channel = 11
let url = "http://" + username
+ ":" + password
+ "@" + address
+ "/api/" + channel
+ "/picture"
print(url)
After:
let address = "127.0.0.1"
let username = "steve"
let password = "1234"
let channel = 11
let channelString = String(channel)
let credentials = username + ":" + password
let url = "http://" + credentials + "@" + address + "/api/" + channelString + "/picture"
print(url)