danielctull-forks / GoogleAnalytics-SDK-iOS

An *unofficial* git clone of the GoogleAnalytics SDK for iOS to use as a submodule.
https://developers.google.com/analytics/devguides/collection/ios/v3/sdk-download
22 stars 15 forks source link

clang: error: no such file or directory: x x x/Build/Products/Debug-iphonesimulator/libGoogleAnalyticsServices.a' #3

Open mnjk opened 10 years ago

mnjk commented 10 years ago

clang: error: no such file or directory: '/Users/Kareems/Library/Developer/Xcode/DerivedData/EventAheadModel-azsrdqingbkxowejmrgzozgxguao/Build/Products/Debug-iphonesimulator/libGoogleAnalyticsServices.a'

screen shot 2014-06-05 at 1 53 27 pm

and i have added libGoogleAnalyticsServices.a file on required location in XCode settings screen shot 2014-06-05 at 12 00 40 pm

screen shot 2014-06-05 at 12 00 57 pm screen shot 2014-06-05 at 11 55 04 am

mnjk commented 10 years ago

this issue is solved.

i have re-implement the GoogleAnalyticsService newly

khunshan commented 10 years ago

i updated xcode5.1 for ios 7.1. Its giving linker error.

ld: library not found for -lAdIdAccess

mnjk commented 10 years ago

http://pineray.cocolog-nifty.com/diary/2014/05/ld-library-not.html

use Google translator to read in English

ld: library not found for -lAdIdAccess;

Order to introduce the ads in native apps iOS made ​​with Cocos2d-HTML5, where it was copied to the resources of the project the Google Mobile Ads SDK of Admob, and now I can not build error such as the following out. ld: library not found for -lAdIdAccess;

Since such that library is, and not found, it looks for a file by typing the following at the console. mdfind -name libAdIdAccess.a

Then, I will certainly exist in the directory of Google Mobile Ads SDK. But, I think, rather than directly below, because there in a deep hierarchy some, this is either not the cause.

In the project settings screen of Xcode, you look at the Build Settings> Library Search Path, line of Google Mobile Ads SDK is " non recursive it had become a "(not including sub-directories). "This recursive If you change it to "(including subdirectories), error is no longer out.