dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
Try to do clean, build and then run the project. Worked for me.
In Xcode 8 updating the Build Setting
Always Embed Swift Standard Libraries to Yes
worked for me.
None of the above solutions worked for me. In the end the problem was my signing certificate's trust settings. They were set to "Always Trust" which seemed to cause this issue. Switching it back "Use System Defaults" fixed it for me.
In my case I originally changed the certs trust settings because I had issues building remotely. I was able to fix both issues by switching the trust settings to "Use System Defaults" globally and "Always Allow" for SSL.
Hope this helps someone.
When the answer marked as correct didn't work for me I added the following to "Build Settings > Linking > Runpath Search Paths":
@executable_path/Frameworks