dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib December 30, 2022 by Tarik Try to do clean, build and then run the project. Worked for me.