I developed H264 player (most ideas are taken from How to use VideoToolbox to decompress H.264 video stream) and it worked on XCode 8.2.1 perfectly. But now I built the same project in XCode 9.2 and for iOS 11.2 SDK and it works in emulator but does not work on real device (iPad mini 2 with iOS 11.2.6) only partly - it decodes low bitrate videos(IDR slice size < 10 kB) but spits error -12909 and after 30-50 frames crashes on VTDecompressionSessionDecodeFrame()
Has anybody faced with this issue?