Xcode 7.2 bug:找不到-lGoogleAnalyticsServices的库 [英] Xcode 7.2 bug: library not found for -lGoogleAnalyticsServices

查看:238
本文介绍了Xcode 7.2 bug:找不到-lGoogleAnalyticsServices的库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了Xcode 7.2和链接器命令的问题。

I'm having an issue with Xcode 7.2 and the linker command.

由于我在我的项目中添加了没有POD的google analitycs库,每次关闭时项目并重新打开,我收到此错误。

Since i added the google analitycs library WITHOUT POD, in my project, everytime y close the project and reopen it, i get this error.

解决这个问题我需要做的就是删除库引用并再次添加它,一切顺利。

What i have to do to workaround this problem is remove the library reference and add it again, and all goes well.

我想知道的是,这是一个错误还是我做错了什么。谢谢!

What i want to know is if this is a bug or i'm doing something wrong. Thanks!

编辑:

这是图书馆的位置

推荐答案

遇到问题。你的图书馆搜索路径应该是这样的

Got the problem. Your library search path should have been like this

$(PROJECT_DIR)/Personal Musica/ GoogleAnalytics


在有2个字的文件夹的地方添加双引号。 xocde尝试slpit文件夹名称。这将产生错误。你的链接器错误说的确切。当遇到包含两个单词的文件夹时,它会拆分分析文件夹。


Add double quotes wherever there are folders with 2 words. xocde tries to slpit the folder name. This will generate an error. Your linker error is saying the exact thing. It's splitting the analytics folder when it encounters folder with two words.

这篇关于Xcode 7.2 bug:找不到-lGoogleAnalyticsServices的库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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