Im follow the tutorial of integration of google developer web site but i have this error:
ld: warning: directory not found for option ‘-L"COCOS_PATH/cocos2d-x-2.2.2/projects/praxe-a-revolta/proj.ios/…/…/…/cocos2dx/platform/third_party/ios/libraries"’
ld: warning: directory not found for option ‘-L"COCOS_PATH/cocos2d-x-2.2.2/projects/praxe-a-revolta/proj.ios/…/…/…/external/libwebsockets/ios/lib"’
ld: library not found for -lcurl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I know what happened.
When you add the admob library to xcode, xcode change the paht of these two itens.
You have to rechange the path to the original.
Loojk for Library Search Paths inside Build Settings, there you’ll find the paths to these two libraries, the correct paths are:
Xcode change them thinking they are wrong, it’s because that your code don’t compile. When you create a project from Scratch your paths are correct, you add a library and xcode create problems.
Add quotation marks ( " " ) to begin and end new library search path:
“/Users/huync/Documents/MyData/Projects/cocos2d-x-2.2.1/projects/MyGame/Classes/GoogleAdMobAdsSdkiOS”