Tag: dtcoretext

无法在静态库中find标题

我想添加DTCoreText到我的项目。 我按照说明(从DTCoreTExt GitHub页面开始 )使用CocoaPods设置项目。 最后我创build了一个“libPod.a”库文件。 我已经将库文件添加到我的项目中了(通过将文件复制到项目子文件夹并将文件添加到“链接的框架和库”)。 最后,我尝试运行“DTCoreText编程指南”中定义的“ 烟雾testing ”。 没有成功。 XCode无法findDTCoreText.h文件(或此lib的任何其他文件)。 我错过了什么吗? 请帮忙! :O)

错误:ld:库找不到-lPods与CocoaPods

在我用Cocoapods安装了DTCoreText( https://github.com/Cocoanetics/DTCoreText )之后,当我尝试运行模拟器或设备时,总是出现错误! ld: warning: directory not found for option '-L/Users/example/Desktop/ios/Pods/build/Release-iphoneos' ld: warning: directory not found for option '-L/Users/example/Desktop/ios/Pods/build/Debug-iphoneos' ld: library not found for -lPods-example clang: error: linker command failed with exit code 1 (use -v to see invocation) 在我的“与库链接二进制文件”的“libPods”部分是红色的: 这里是我的build立设置: 我的项目的设置: 我的豆荚的设置: 编辑: 我不完全确定是什么问题,但我解决了它,当我删除所有的DTCoreText和Cocoapods的东西,再次重新安装的一切!