# MediaPlayer Bug in iOS 16

**URL:** <https://forums.unrealengine.com/t/mediaplayer-bug-in-ios-16/686439>\
**Category:** Mobile\
**Tags:** unreal-engine, UE5-0, iOS, UE4-26, question, UE4-27\
**Created:** [November 8, 2022, 7:27am UTC](https://forums.unrealengine.com/t/mediaplayer-bug-in-ios-16/686439 "2022-11-08T07:27:37Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Snowjeti](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Snowjeti](https://forums.unrealengine.com/u/Snowjeti)\
**Post date:** [December 28, 2022, 7:31pm UTC](https://forums.unrealengine.com/t/mediaplayer-bug-in-ios-16/686439/11 "2022-12-28T19:31:24Z")

</div>

Hi everyone.  
I was going crazy on these video bugs until I found your posts. Thanks so much!  
I followed the instructions but now I am getting these errors while building for iOS.  
Do you have a solution for that, too? I would really appreciate it! ;-D

```auto

[2/9] Compile Module.AvfMediaFactory.cpp
UATHelper: Packaging (iOS): In file included from C:\***\Plugins\AvfMedia\Intermediate\Build\IOS\UE4\Shipping\AvfMedia\Module.AvfMedia.cpp:3:
UATHelper: Packaging (iOS): C:\***\Plugins\AvfMedia\Source\AvfMedia\Private\Player\AvfMediaPlayer.cpp:396:67: error: use of undeclared identifier 'GetAvfMediaPlayerDebugData'
UATHelper: Packaging (iOS): UE_LOG(LogTemp, Warning, TEXT("State of AVFMediaPlayer is %s"), *GetAvfMediaPlayerDebugData());
UATHelper: Packaging (iOS): ^
UATHelper: Packaging (iOS): C:\***\Plugins\AvfMedia\Source\AvfMedia\Private\Player\AvfMediaPlayer.cpp:614:9: error: use of undeclared identifier 'GetAvfMediaPlayerDebugData'
UATHelper: Packaging (iOS): return GetAvfMediaPlayerDebugData();
UATHelper: Packaging (iOS): ^
PackagingResults: Error: use of undeclared identifier 'GetAvfMediaPlayerDebugData'
PackagingResults: Error: use of undeclared identifier 'GetAvfMediaPlayerDebugData'
UATHelper: Packaging (iOS): C:\***\Plugins\AvfMedia\Source\AvfMedia\Private\Player\AvfMediaPlayer.cpp:623:26: error: out-of-line definition of 'GetAvfMediaPlayerDebugData' does not match any declaration in 'FAvfMediaPlayer'
UATHelper: Packaging (iOS): FString FAvfMediaPlayer::GetAvfMediaPlayerDebugData() const
UATHelper: Packaging (iOS): ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
PackagingResults: Error: out-of-line definition of 'GetAvfMediaPlayerDebugData' does not match any declaration in 'FAvfMediaPlayer'
UATHelper: Packaging (iOS): 3 errors generated.

```

---

_[View the full topic](https://forums.unrealengine.com/t/mediaplayer-bug-in-ios-16/686439)._
