I am getting the same error for AVPlayer.seek() method.
What works for me is:
Use Xcode 16.3 (there is no error there)
or on Xcode < 16.3
Set Compilation Mode to Whole Module in Build Settings. By default it is Incremental for Debug builds
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: