Basic player with Xcode11 Beta for iOS13

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?

I'm getting similar errors when trying to use AVPlayer. Basic video works albeit with a flood of console messages and very high CPU use, but I'm trying to load an AVVideoComposition and that doesn’t seem to work.


2019-08-02 08:40:18.930240+0100 Test2[83772:18332498] [Common] _BSMachError: port 5803; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
2019-08-02 08:40:18.934754+0100 Test2[83772:18332613] [] [08:40:18.935] composeSceneDo signalled err=-17204 (kFigCaptionRendererError_InvalidState) (_fcrtrigger is NULL) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/EmbeddedCoreMedia_Sim/EmbeddedCoreMedia-2501.6.1.1/Prototypes/Captions/FigCaptionRenderer/FigCaptionRendererSession.c:2268
2019-08-02 08:40:18.972268+0100 Test2[83772:18332708] [] [08:40:18.972] VMC2SetProperty signalled err=-12823 (kVMCParameterErr) (not a CFString) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/EmbeddedCoreMedia_Sim/EmbeddedCoreMedia-2501.6.1.1/Prototypes/MediaConverter/VideoMediaConverter2.c:6655
2019-08-02 08:40:18.981145+0100 Test2[83772:18332615] [] nw_endpoint_flow_copy_multipath_subflow_counts Called on non-Multipath connection
2019-08-02 08:40:19.057537+0100 Test2[83772:18332708] [] [08:40:19.058] piqca_getCAFormatCodeForPixelFormat signalled err=-12814 (kFigImageQueueCannotEnqueueErr) (non-CoreAnimation-supported pixel format) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/EmbeddedCoreMedia_Sim/EmbeddedCoreMedia-2501.6.1.1/Prototypes/VisualContexts/FigImageQueueForCoreAnimation.c:2909
2019-08-02 08:40:19.360663+0100 Test2[83772:18332613] [] nw_endpoint_flow_copy_multipath_subflow_counts Called on non-Multipath connection
2019-08-02 08:44:18.490523+0100 Test2[83772:18342963] [] nw_endpoint_flow_copy_multipath_subflow_counts Called on non-Multipath connection
2019-08-02 08:44:18.495707+0100 Test2[83772:18342963] [] nw_connection_receive_internal_block_invoke [C1] Receive reply failed with error "Operation canceled"
2019-08-02 08:44:18.495815+0100 Test2[83772:18342963] [] nw_connection_receive_internal_block_invoke [C1] Receive reply failed with error "Operation canceled"
2019-08-02 08:44:18.495955+0100 Test2[83772:18342963] [] nw_connection_receive_internal_block_invoke [C1] Receive reply failed with error "Operation canceled"
2019-08-02 08:44:18.496110+0100 Test2[83772:18342963] [] nw_connection_receive_internal_block_invoke [C1] Receive reply failed with error "Operation canceled"

same issue here:

nw_endpoint_flow_copy_multipath_subflow_counts Called on non-Multipath connection


but AVPlayer works. It is just that log.

when I build and run my project on Xcode11. iOS13 simulator and also device iPhone XS MAX has a new feature sheet presentation, when i am presenting player screen and close screen by swipe down without using close player button than wait for 5 to 7 seconds on the same presenter Screen than application will automatically crashed with following logs,



The logs show the following error-

nw_endpoint_flow_copy_multipath_subflow_counts Called on non-Multipath connection



I am not getting any thing else in log console

Basic player with Xcode11 Beta for iOS13
 
 
Q