Closed cesarcarlos75 closed 7 years ago
Please make sure the path to your config directory (containing the config.json
file) is correct and that the API key has been set correctly in Info.plist
.
I finally found the problem. I had followed the instructions and replaced TVBasedURL but I hadn't changed TVConfigURL. Once I did that it worked. Thanks.
I cloned the app and followed all the instructions, changed the API key on the folder and the info.plist, entered our own playlists in the config.json file and replaced the TVBasedURL with our localhost URL (I uncommented the commented line and viceversa). When I open the project it asks me to update to either Swift 3 or 2.3. I updated to 2.3. When I run, the simulator loads and then the screen turns completely black and nothing else happens. There are a LOT of lines in the Output window, the last of which read:
2016-11-19 10:23:50.522111 jwplayer-for-tv[2815:147265] [] nw_resolver_cancel_on_queue 0x608000112e10 2016-11-19 10:23:50.522391 jwplayer-for-tv[2815:147265] [] -[NWConcrete_tcp_connection dealloc] 9 2016-11-19 10:23:50.523030 jwplayer-for-tv[2815:147265] [] nw_endpoint_handler_cancel [10 localhost:80 ready resolver (satisfied)] 2016-11-19 10:23:50.523248 jwplayer-for-tv[2815:147265] [] nw_endpoint_handler_cancel [10.1 ::1.80 ready socket-flow (satisfied)] 2016-11-19 10:23:50.523688 jwplayer-for-tv[2815:147265] [] nw_endpoint_flow_protocol_disconnected [10.1 ::1.80 cancelled socket-flow (null)] Output protocol disconnected 2016-11-19 10:23:50.524033 jwplayer-for-tv[2815:147265] [] nw_endpoint_handler_cancel [10.2 127.0.0.1:80 initial path (null)] 2016-11-19 10:23:50.524341 jwplayer-for-tv[2815:147265] [] nw_resolver_cancel_on_queue 0x60000010bc70 2016-11-19 10:23:50.524662 jwplayer-for-tv[2815:147265] [] -[NWConcrete_tcp_connection dealloc] 10 2016-11-19 10:23:50.524981 jwplayer-for-tv[2815:147265] [] nw_socket_handle_socket_event Event mask: 0x6 2016-11-19 10:23:50.525262 jwplayer-for-tv[2815:147265] [] nw_socket_handle_socket_event Socket received READ_CLOSE event 2016-11-19 10:23:50.525762 jwplayer-for-tv[2815:147265] [] nw_socket_handle_socket_event Socket received WRITE_CLOSE event 2016-11-19 10:23:50.526221 jwplayer-for-tv[2815:147265] [] nw_endpoint_flow_protocol_disconnected [10.1 ::1.80 cancelled socket-flow (null)] Output protocol disconnected
Are there any known issues with the TV App and the latest version of XCode?