ios – Xcode:找不到-lPods的库
发布时间:2020-12-14 18:12:22 所属栏目:百科 来源:网络整理
导读:有一个本机反应项目,因为我已经设置了 cocoapods并且从那时起使用了xcworkspace文件(反应本机 – firebase的firebase集成所需),所以它不会构建在目标“Staging”之上.当尝试为taget“staging”构建时,我会收到此错误: ld: library not found for -lPods-[ap
有一个本机反应项目,因为我已经设置了
cocoapods并且从那时起使用了xcworkspace文件(反应本机 – firebase的firebase集成所需),所以它不会构建在目标“Staging”之上.当尝试为taget“staging”构建时,我会收到此错误:
ld: library not found for -lPods-[app] clang: error: linker command failed with exit code 1 (use -v to see invocation) 当我归档项目时,它适用于调试,并且(至少它不会抛出错误). 由于代码推送,我有一个“临时”目标.在版本0.48.4和Xcode 9上使用react-native(在this guide之后创建它,但在使用cocoapods之前) 我的podfile: platform :ios,'9.0' target 'xx' do #use_frameworks! # Pods pod 'Firebase/Core' pod 'Firebase/Analytics' pod 'Firebase/Database' pod 'Firebase/Messaging' pod 'Firebase/Auth' pod 'Firebase/Storage' end 尝试使用和不使用use_frameworks !,清理项目,删除DerivedData,解体并重新集成pod. 什么可能导致这个? (如果您需要更多信息,请告诉我) 解决方法
什么对我有用:
>使用pod deintegrate解体所有pod(使用enter link description here) 在this post的帮助下这样做.感谢Maurice试图帮助我. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |