大佬教程收集整理的这篇文章主要介绍了iOS崩溃:未加载libswiftAssetsLibrary.dylib,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
它只发生在macmini上,而不是我的mACBook pro上.两者都使用Xcode 6.1运行Yosemite.
这是日志:
Exception Type: EXC_BREAKPOINT (SIGTRAp) Exception Codes: 0x0000000000000001,0x00000000e7ffdefe triggered by Thread: 0 Dyld Error message: Library not loaded: @rpath/libswiftAssetsLibrary.dylib Referenced from: /private/var/mobile/Containers/Bundle/Application/03823DE6-B2FD-4A2D-B03F-3770D433CBCA/Lima.app/Lima Reason: no suitable image found. Did find: /private/var/mobile/Containers/Bundle/Application/03823DE6-B2FD-4A2D-B03F-3770D433CBCA/Lima.app/Frameworks/libswiftAssetsLibrary.dylib: mmap() error 1 at address=0x00871000,size=0x00004000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/03823DE6-B2FD-4A2D-B03F-3770D433CBCA/Lima.app/Frameworks/libswiftAssetsLibrary.dylib Dyld Version: 353.5
我已经尝试过但不起作用:
>将Runpath搜索路径构建设置更改为@ executable_path / Frameworks
>转到项目构建设置并将Embedded Content Contains Swift Code标志设置为YES
>重新生成证书和mobileprovision
没有任何效果.
谢谢 !
以上是大佬教程为你收集整理的iOS崩溃:未加载libswiftAssetsLibrary.dylib全部内容,希望文章能够帮你解决iOS崩溃:未加载libswiftAssetsLibrary.dylib所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。