Closed tststs closed 10 years ago
Hi @tststs,
Thanks for the info. I will verify all the files are up to date and publish a new release.
Thanks,
-Craig
Hi @cmackay ,
Still the same error, after i updated to the new version. Just without the:
ld: warning: directory not found for option '-L"/***/Plugins/com.cmackay.plugins.googleanalytics"' part.
Is there any information i can provide, to help?
One thing I would recommend trying is to create a new empty cordova project and see if you can reproduce it within a clean project. I have not seen that error before. If you could give that a try and let me know what you find that will help in determining if it is an environment issue or plugin issue.
cordova create analytics-test cd analytics-test cordova platform add ios cordova plugin add com.cmackay.plugins.googleanalytics cordova run ios
Works as expected. I just made a diff and found the error.
For some reason, libGoogleAnalyticsServices.a wasn't copied to: platforms/ios/***/Plugins/com.cmackay.plugins.googleanalytics
Just copied it manually from the analytics-test app and registered it in frameworks.
Thanks for the help. I really appreciate it! Greetings from Berlin and keep up the good work! :)
Great, glad to hear that helped in resolving the issue.
Greetings from Seattle :) and let me know if you have any suggestions or questions about the project in the future!
Thanks,
-Craig
Hey there.
Following error occurs:
ld: warning: directory not found for option '-L"/***/Plugins/com.cmackay.plugins.googleanalytics"' Undefined symbols for architecture i386: "_OBJCCLASS$_GAI", referenced from: objc-class-ref in GoogleAnalyticsPlugin.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any ideas? Thx