FB12545393 has been filed. It even includes a project that recreates the bug.
For this fix, we went with .newlines instead of "/r" and that fixes the problem with min code change.
let arrayOfComponents = stringForiOSTesting.components(separatedBy: .newlines)
Topic:
App & System Services
SubTopic:
Core OS
Tags: