2

I clean built. And I embed swift standard as this post suggests: dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib

But still getting:

dyld: Library not loaded: @rpath/AppleSauceView.framework/AppleSauceView
  Referenced from: /private/var/containers/Bundle/Application/B89AF2A8-9CA8-4602-AE1E-AA31FA526D5A/AppleSauceView_Example.app/AppleSauceView_Example
  Reason: no suitable image found.  Did find:
    /private/var/containers/Bundle/Application/B89AF2A8-9CA8-4602-AE1E-AA31FA526D5A/AppleSauceView_Example.app/Frameworks/AppleSauceView.framework/AppleSauceView: code signature invalid for '/private/var/containers/Bundle/Application/B89AF2A8-9CA8-4602-AE1E-AA31FA526D5A/AppleSauceView_Example.app/Frameworks/AppleSauceView.framework/AppleSauceView'
    /private/var/containers/Bundle/Application/B89AF2A8-9CA8-4602-AE1E-AA31FA526D5A/AppleSauceView_Example.app/Frameworks/AppleSauceView.framework/AppleSauceView: code signature invalid for '/private/var/containers/Bundle/Application/B89AF2A8-9CA8-4602-AE1E-AA31FA526D5A/AppleSauceView_Example.app/Frameworks/AppleSauceView.framework/AppleSauceView'
    /private/var/containers/Bundle/Application/B89AF2A8-9CA8-4602-AE1E-AA31FA526D5A/AppleSauceView_Example.app/Frameworks/AppleSauceView.framework/AppleSauceView: stat() failed with errno=1
    /private/var/containers/Bundle/Application/B89AF2A8-9CA8-4602-AE1E-AA31FA526D5A/AppleSauceView_Example.app/Frameworks/AppleSauceView.framework/AppleSauceView: code signature invalid for '/private/var/containers/Bundle/Application/B89AF2A8-9CA8-4602-AE1E-AA31FA526D5A/AppleSauceView_Example.app/Frameworks/AppleSauceView.framework/AppleSauceView
    /private/var/containers/Bundle/Application/B89AF2A8-9CA8-4602-AE1E-AA31FA526D5A/AppleSauceView_Example.app/Frameworks/AppleSauceView.framework/AppleSauceView: stat() failed with errno=1
hunterp
  • 15,716
  • 18
  • 63
  • 115

1 Answers1

2

This fixed it for me

Just:

  1. comment use_frameworks! on the Podfile
  2. run pod update
  3. run pod install
  4. clean build folder on Xcode - shift + cmd + k
  5. run project

I hope it helps!

eli
  • 73
  • 5