简体   繁体   中英

Can't build Xcode project

在此处输入图片说明

error: /Users/Library/Developer/Xcode/DerivedData/MoviesK-asfdnehdvvokvgecswpiwzqzwyxh/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework: No such file or directory

i'm facing with this problem. I tried the methods such as deleting derived data, clean and building project again. but still the error is showing. Is there any other methods to solve this problem.

尝试再次删除和添加框架

我昨天在Carthage和相同的SDK中遇到了这个问题,并设法通过在项目目标Build Settings Framework Search Paths中添加$(SRCROOT)/Carthage/Build/iOS来解决此问题。

以下是您应该遵循的步骤1.-复制PodFile-在桌面上放置2.删除所有Pod文件,例如Xcworkspace,从“构建阶段”中删除Pod。3.创建Podfile或粘贴以前的Podfile并包括所有Pod。4.重新安装Pod Build您的项目。

Reinstall the pods and do a clean build. Also must verify the paths being referenced in your pods file.

You may also need to check the headers path in your build settings of the project. An older reference of path in headers/libraries can also be the cause even if your pods are correctly configured.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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