简体   繁体   English

Xcode:安装 pod 后构建失败(错误:链接器命令失败,退出代码 1)

[英]Xcode: Build fails after pod installation (error: Linker command failed with exit Code 1)


please, can you help me with this ios problem? 拜托,你能帮我解决这个ios问题吗? I use Xcode and swift. 我使用 Xcode 和 swift。 I deleted all Derived Data many times. 我多次删除了所有派生数据。 I tryed all solutions for this error from Google. 我尝试了谷歌针对此错误的所有解决方案。 Also uninstall Xcode 10.1 and install 10.0. 同时卸载 Xcode 10.1 并安装 10.0。 Same error, not possible to Run after ´pod install´ firebrase, before ´pod install´ Project worked correct. 同样的错误,不可能在“pod install” firebrase 之后运行,在“pod install”项目工作正常之前。
Steps: 脚步:
1.Built new project 1.新建项目
2.open Firebrase web 2.打开Firebrase网页
3.new Project 3.新项目
4.for iOS 4.iOS
5.copy Bundle Identifier 5.复制捆绑标识符
6.paste to Firebrase web 6.粘贴到Firebrase网站
7.download GoogleService.plist 7.下载GoogleService.plist
8.put this file to program 8.将此文件放入程序
9.start “pod init” 9.启动“pod init”
10.open Podfile 10.打开Podfile
11.fill pod ´Firebrase/Analytics´ to Podfile 11.fill pod 'Firebrase/Analytics' 到 Podfile
12.pod install 12.pod安装
13.open .xcworkspce file 13.打开.xcworkspce文件
14.run 14.运行
15. build Failed 15.构建失败
16.ERROR 16.错误

Up to step nr.直到步骤 nr。 11 Project worked correctly (also RUN) By step 12. When I Run Project, displayed ERROR 11 项目正常运行(也运行)到第 12 步。当我运行项目时,显示错误错误

Thank you very much and stay health.非常感谢您并保持健康。

尽管 FirebaseAnyalytics 像一个单独的 pod 一样驻留,但主分支声明您必须使用 Xcode 10.3 或更高版本https://cocoapods.org/pods/Firebase

  1. Open your podfile and comment out every single pod.打开您的 podfile 并注释掉每个 pod。

  2. Run pod install so you now have zero dependencies.运行 pod install 以便您现在拥有零依赖项。

  3. Uncomment every pod.取消注释每个 pod。

  4. Run pod install so you have all pods installed.运行 pod install 以便安装所有 pod。

  5. Build again.再建。

暂无
暂无

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

相关问题 Xcode构建错误链接器命令失败,退出代码为1 - Xcode build error linker command failed with exit code 1 铛:错误:链接器命令失败,退出代码为1,Xcode链接器错误 - clang: error: linker command failed with exit code 1, Xcode Linker Error 使用Pod安装后出现Swift错误(铛:错误:链接器命令失败,退出代码为1) - Swift error after using pod install (clang: error: linker command failed with exit code 1 ) xcode ios build linker命令失败,退出代码 - xcode ios build linker command failed with exit code xcode-链接器命令失败,退出代码为1-构建设置 - xcode - linker command failed with exit code 1 - build settings 如何解决 Flutter Xcode 构建中的“错误:链接器命令失败,退出代码为 1”? - How to solve "error:linker command failed with exit code 1" in Flutter Xcode build? 升级到Xcode 7后,链接器命令失败,退出代码为1 - linker command failed with exit code 1 after I upgrade to Xcode 7 Unity 3D iOS游戏构建失败Xcode 8.32:“clang错误链接器命令失败,退出代码为1” - Unity 3D iOS Game Build Fail Xcode 8.32: “clang error linker command failed with exit code 1” Xcode构建错误链接器命令失败,退出代码为1(使用-v查看调用) - Xcode build error Linker command failed with exit code 1 (use -v to see invocation) 离子应用程序构建失败,错误“链接器命令失败,退出代码为1(使用-v查看调用)” - ionic app build fails with error 'linker command failed with exit code 1 (use -v to see invocation)'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM