0
votes

Yesterday i integrated Google's Admobs fine into my Xcode 6.1 project. Everything worked. Today i open Xcode and i receive the following errors...

ld: warning: directory not found for option '-L/Users/Marco/Desktop/SpaceAlien copy 1/Space

ld: warning: directory not found for option '-LAlien'

ld: library not found for -lGoogleAdMobAds

It's 2 yellow warning errors and the RED error doesn't let me build project = GoogleAdMobAds

So I read in Project Navigator for libGoogleAdMobAds.a in target membership to unclick and then click back the check. That works and project builds. However, when i close project open it again, I get the same error. How do I make this error remove permanently? Also, for the ld: warning: directory not found errors I went to build setting then library search paths and i CAN'T delete anything, don't know what to do. Please HELP!

1

1 Answers

0
votes
ld: warning: directory not found for option '-L/Users/Marco/Desktop/SpaceAlien copy 1/Space

Problem is because the path contains spaces. Try using quotes with the path: "Users/Marco/Desktop/SpaceAlien copy 1/Space"

or you can use escape "\" character to "fix" the path:

Users/Marco/Desktop/SpaceAlien\ copy\ 1/Space