I am trying to build a basic video player as documented at https://developer.apple.com/documentation/avfoundation/media_assets_playback_and_editing/creating_a_basic_video_player_ios_and_tvos but when I build and run on Xcode11 beta to load on an iOS13 simulator, i only see a message that the TV is connected - video is playing on TV although audio playback continues on the simulator. The logs show the following error-
URLAssetLoadValuesAsyncForTrackProperties signalled err=-12174 (kFigAssetError_TrackNotFound) (Asset has no tracks) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/EmbeddedCoreMedia_Sim/EmbeddedCoreMedia-2479.1.2/Prototypes/FigAsset/FigAsset_URL.c:1838
with multiple lines of
nw_endpoint_flow_copy_multipath_subflow_counts Called on non-Multipath connection.
I am not sure what am i missing for the video playback to also happen on the simulator itself?