I did leave in the ? indeed. Apologies.
I tried the same call in a macOS command line app also (did that before posting here, but forgot to mention it) and then it prints the content to the command line as expected. On tvOS however, the error below:
will load
2022-07-25 14:04:45.348040+0200 DataCallBugDemo[35942:1740418] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed: dlopen(/usr/lib/libquic.dylib, 0x0005): tried: '/Users/home/Library/Developer/Xcode/DerivedData/DataCallBugDemo-bciyslbakihyhlgdfkvdrnedngsp/Build/Products/Debug-appletvsimulator/libquic.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection/libquic.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libquic.dylib' (no such file), '/usr/lib/libquic.dylib' (no such file)
2022-07-25 14:04:45.480596+0200 DataCallBugDemo[35942:1740420] [boringssl] boringssl_metrics_log_metric_block_invoke(153) Failed to log metrics
did load, data: 83 bytes
2022-07-25 14:04:45.560389+0200 DataCallBugDemo[35942:1740289] [UIFocus] Failed to update focus with context <UIFocusUpdateContext: 0x600003100320: previouslyFocusedItem=(null), nextFocusedItem=(null), focusHeading=None>. No additional info available.
2022-07-25 14:04:49.076286+0200 DataCallBugDemo[35942:1740289] [HardwareKeyboard] -[UIApplication getKeyboardDevicePropertiesForSenderID:shouldUpdate:usingSyntheticEvent:], failed to fetch device property for senderID (778835616971358212) use primary keyboard info instead.
2022-07-25 14:04:49.081580+0200 DataCallBugDemo[35942:1740289] [HardwareKeyboard] -[UIApplication getKeyboardDevicePropertiesForSenderID:shouldUpdate:usingSyntheticEvent:], failed to fetch device property for senderID (778835616971358212) use primary keyboard info instead.
objc[35942]: Class _PathPoint is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x117f3a9a0) and /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x129bb35d8). One of the two will be used. Which one is undefined.
objc[35942]: Class _PointQueue is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x117f3a978) and /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x129bb3600). One of the two will be used. Which one is undefined.