Search code examples
swiftcosmicmind

Material examples crashing on launch


I'm trying to test the provided examples of the Material library but all examples keep crashing with the following error:

dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
  Referenced from: ~/Library/Developer/Xcode/DerivedData/Material-fdsf..ef/Build/Products/Debug-iphonesimulator/Material.framework/Material
  Reason: image not found

Not sure what is wrong there or if it is related to the actual examples or my setup.


Solution

  • Try cleaning your build directory and your Derived Data directory.

    Similar issue and answer