简体   繁体   中英

Xcode 7.2 bug: library not found for -lGoogleAnalyticsServices

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

在此输入图像描述

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM