简体   繁体   English

无法建立Xcode专案

[英]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 错误:/Users/Library/Developer/Xcode/DerivedData/MoviesK-asfdnehdvvokvgecswpiwzqzwyxh/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework:无此类文件或目录

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. 还必须验证您的pods文件中引用的路径。

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. 即使您的Pod配置正确,也可能是标题/库中路径的引用过旧。

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

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