问题描述
当尝试使用可可豆将库集成到我的项目中时,出现以下异常。
I am getting following exception when trying to integrate a library to my project using cocoa pods.
dyld:库未加载:@ rpath / XCTest.framework / XCTest
引用自:/ Users / shoaibahmedqureshi / Library / Developer / CoreSimulator / Devices / CBC381BC-854F-41D6-8D4C-90C2850459AD / data / Containers / Bundle / Application / 095CDEFA-A79A-4235-B046-68277D5C14EB / EasyExample app / EasyGridExample
原因:找不到图片
dyld: Library not loaded: @rpath/XCTest.framework/XCTest Referenced from: /Users/shoaibahmedqureshi/Library/Developer/CoreSimulator/Devices/CBC381BC-854F-41D6-8D4C-90C2850459AD/data/Containers/Bundle/Application/095CDEFA-A79A-4235-B046-68277D5C14EB/EasyGridExample.app/EasyGridExample Reason: image not found
我自己创建了该开源库,因此我也愿意对该库进行调整和提出建议问题就在那里。
I have myself created that open source library so I am open to tweaks and suggestions to that library as well in case issue lies there.
Github到Project的链接:
Github link to Project : https://github.com/shoaibahmedqureshi/EasyGridsExample
Github链接到库:
Github link to Library :https://github.com/shoaibahmedqureshi/EasyGrids
1.clean并构建
2.删除DerivedData文件夹
1.clean and build2.delete DerivedData folder
确保已在嵌入式库中添加了库二进制文件
make sure you have add your library in embedded binaries
这篇关于dyld:库未加载:@ rpath / XCTest.framework / XCTest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!