链接器命令失败,退出代码为1-Firebase [英] Linker command failed with exit code 1 -- Firebase

查看:73
本文介绍了链接器命令失败,退出代码为1-Firebase的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是iOS开发的新手,有些将Firebase安装到我的iOS应用程序时遇到了一些麻烦.从本质上讲,该应用程序将要做的是从Firebase数据库中获取有关该国家/地区路径的信息,该信息将输出到一个表格视图中,允许用户选择其中一条路径并回答有关该路径的一些问题.

Fairly new to iOS development and have some had some trouble installing firebase into my iOS application. Essentially what the application will do is take information about trails around the country from a firebase database, this information is to be output to a tableview which will allow users to select one of the trails and answer some questions about the trail.

在尝试安装应用程序时,我经历了Google网站上概述的将Firebase添加到您的iOS应用程序"中列出的步骤.第一阶段一切顺利,直到遇到第四阶段.

While attempting to install the application I went through the steps which are outlined on the google site for "add firebase to your iOS app". The first stages went all fine without a hitch until I encountered stage 4.

当我将导入Firebase输入到app.delegate文件中时,收到错误消息:在app.delegate文件中导入Firebase时出错

When I enter import Firebase into the app.delegate file, I receive an error: Error on import Firebase in app.delegate file

最重要的是,我现在遇到另一个错误,这使我无法构建应用程序,这是错误:

On top of this, I now have another error which is preventing me from building the application, this is the error:

链接器命令失败错误,阻止了应用程序的构建

从本质上讲,我需要知道自己是否犯了任何明显的错误(可能是我刚接触过这个错误),以及在可能的情况下如何解决这些问题.

Essentially, I need to know if I am making any glaring errors, which I probably am as I'm new to this, and also how to resolve these issues if possible.

谢谢.

推荐答案

确保在Xcode中打开.xcworkspace而不是.xcproject文件.关闭项目并打开.xcworkspace

Make sure you're opening the .xcworkspace and not the .xcproject file in Xcode. Close the project and open .xcworkspace

这篇关于链接器命令失败,退出代码为1-Firebase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆