Xcode 7.2 bug: library not found for -lGoogleAnalyticsServices

空扰寡人 提交于 2020-01-21 18:59:06

问题


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

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!

EDIT:

this is the location of the library


回答1:


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

$(PROJECT_DIR)/"Personal Musica"/GoogleAnalytics


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.



来源:https://stackoverflow.com/questions/35205814/xcode-7-2-bug-library-not-found-for-lgoogleanalyticsservices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!