dyld:未加载库:@ rpath / AnyFormatKit.framework / AnyFormatKit

时间:2018-01-18 12:44:07

标签: ios swift xcode

编辑:无法解决重复问题中的答案以及此处发布的其他答案,但最终在我的项目中直接复制了库的源代码。这样就可以了。

尝试使用AnyFormatKit库运行我的应用时出现以下运行时错误:

  

dyld:未加载库:@ rpath / AnyFormatKit.framework / AnyFormatKit
  参考自:   /Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/IPS   原因:找不到合适的图像。找到了:     /Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks/AnyFormatKit.framework / AnyFormatKit:   缺少所需的代码签名   ' /Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks /AnyFormatKit.framework/AnyFormatKit'

     

/Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks/ AnyFormatKit.framework / AnyFormatKit:   缺少所需的代码签名   ' /Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks /AnyFormatKit.framework/AnyFormatKit'

     

/Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks/ AnyFormatKit.framework / AnyFormatKit:   缺少所需的代码签名   ' /Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks /AnyFormatKit.framework/AnyFormatKit'

我似乎无法解决这个问题。可能导致这个问题的任何想法?

1 个答案:

答案 0 :(得分:0)

请参阅此附加视频Demo

安装pods相当xcode并从.xworkSpace打开后,与我一起运行

enter image description here