将外部库添加到我的xcode项目中

最后发布: 2016-07-14 17:46:10


问题

How do I add an external library to my xcode project? 如何将外部库添加到我的xcode项目中? Currently I'm trying to add this camera library , and I thought it was just about adding the pod and installing it but when I try to add the import LLSimpleCamera I get no such module "LLSimpleCamera". 目前,我正在尝试添加此相机库 ,我以为这只是添加吊舱并安装它,但是当我尝试添加导入LLSimpleCamera时,没有得到这样的模块“ LLSimpleCamera”。

Any help? 有什么帮助吗?

swift xcode libraries
回答

Could you be opening Animal-Spotting.xcodeproject file instead of Animal-Spotting.xcodeworkspace? 您可以打开Animal-Spotting.xcodeproject文件而不是Animal-Spotting.xcodeworkspace吗?

You could always try the classic "clean build & delete the derived data" 您可以随时尝试经典的“清除构建并删除派生数据”