美文网首页
dyld: Library not loaded: @rpath

dyld: Library not loaded: @rpath

作者: Chakery | 来源:发表于2016-05-24 14:16 被阅读714次

原文出自

问题:

dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
  Referenced from: /var/containers/Bundle/Application/978800D2-D772-4B2F-8C6C-04B89F6BD138/xxx.app/xxx
  Reason: no suitable image found.  Did find:
    /private/var/containers/Bundle/Application/978800D2-D772-4B2F-8C6C-04B89F6BD138/xxx.app/Frameworks/libswiftAVFoundation.dylib: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/978800D2-D772-4B2F-8C6C-04B89F6BD138/xxx.app/Frameworks/libswiftAVFoundation.dylib'
    /private/var/containers/Bundle/Application/978800D2-D772-4B2F-8C6C-04B89F6BD138/xxx.app/Frameworks/libswiftAVFoundation.dylib: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/978800D2-D772-4B2F-8C6C-04B89F6BD138/xxx.app/Frameworks/libswiftAVFoundation.dylib'
    /private/var/containers/Bundle/Application/978800D2-D772-4B2F-8C6C-04B89F6BD138/xxx.app/Frameworks/libswiftAVFoundation.dylib: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/978800D2-D772-4B2F-8C6C-04B89F6BD138/xxx.app/Frameworks/libswiftAVFoundation.dylib'

解决方案:

rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Caches/com.apple.dt.Xcode

相关文章

网友评论

      本文标题:dyld: Library not loaded: @rpath

      本文链接:https://www.haomeiwen.com/subject/cbszrttx.html