swift

iOS开发 app 真机测试报错 dyld: Library n

2019-04-27  本文已影响0人  一把好刀

我平时都喜欢真🐔测试,很少运行模拟器,今天启动app时报错:

dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib

  Referenced from: /var/containers/Bundle/Application/0AF0D7B1-E55F-406E-93F8-66E7F5B6CFA1/XXX.app/XXX

  Reason: no suitable image found.  Did find:

/private/var/containers/Bundle/Application/0AF0D7B1-E55F-406E-93F8-66E7F5B6CFA1/XXX.app/Frameworks/libswiftAVFoundation.dylib: code signature invalid for '/private/var/containers/Bundle/Application/0AF0D7B1-E55F-406E-93F8-66E7F5B6CFA1/XXX.app/Frameworks/libswiftAVFoundation.dylib'


/private/var/containers/Bundle/Application/0AF0D7B1-E55F-406E-93F8-66E7F5B6CFA1/XXX.app/Frameworks/libswiftAVFoundation.dylib: code signature invalid for '/private/var/containers/Bundle/Application/0AF0D7B1-E55F-406E-93F8-66E7F5B6CFA1/XXX.app/Frameworks/libswiftAVFoundation.dylib'


/private/var/containers/Bundle/Application/0AF0D7B1-E55F-406E-93F8-66E7F5B6CFA1/XXX.app/Frameworks/libswiftAVFoundation.dylib: stat() failed with errno=1

/private/var/containers/Bundle/Application/0AF0D7B1-E55F-406E-93F8-66E7F5B6CFA1/XXX.app/Frameworks/libswiftAVFoundation.dylib: code signature invalid for '/private/var/containers/Bundle/Application/0AF0D7B1-E55F-406E-93F8-66E7F5B6CFA1/XXX.app/Frameworks/libswiftAVFoundation.dylib'


/private/var/containers/Bundle/Application/0AF0D7B1-E55F-406E-93F8-66E7F5B6CFA1/XXX.app/Frameworks/libswiftAVFoundation.dylib: stat() failed with errno=1

(lldb)

解决方法

上一篇下一篇

猜你喜欢

热点阅读