简体   繁体   English

找不到-lAsyncDisplayKit的库

[英]library not found for -lAsyncDisplayKit

In my project I get the following error in Xcode: 在我的项目中,我在Xcode中收到以下错误:

library not found for -lAsyncDisplayKit 找不到-lAsyncDisplayKit的库

My project was configured with pod . 我的项目配置了pod

Can anyone help me fix it? 谁能帮我解决这个问题?

Here you can find some FAQ to resolve main issues with Cocoapods. 在这里,您可以找到一些常见问题解答来解决Cocoapods的主要问题。 You have also to check the architecture for the single project and target. 您还必须检查单个项目和目标的体系结构。 If you use a different architecture, Xcode doesn't compile the others and so it will never find the libs 如果您使用其他架构,则Xcode不会编译其他架构,因此它将永远找不到库

After run pod install or pod update you must use the new <YourProject>.xcworkspace file instead of the old <YourProject>.xcodeproj file. 运行pod installpod update必须使用 新的 <YourProject>.xcworkspace文件而不是旧的<YourProject>.xcodeproj文件。

It happens because .xcworkspace contains your .xcodeproj and the pods . 这是因为.xcworkspace包含您的.xcodeprojpods

After that you should be able to run normally. 之后,您应该可以正常运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM