问题
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