[英]dyld: Library not loaded // stat() failed with errno=1 // code signature invalid for
I clean built.我清洁建造。 And I embed swift standard as this post suggests: dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
我按照这篇文章的建议嵌入了 swift 标准: dyld:库未加载:@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
Just:只是:
use_frameworks!
use_frameworks!
on the Podfilepod update
pod update
pod install
pod install
shift + cmd + k
shift + cmd + k
I hope it helps!我希望它有帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.