I want to track page views using Google Analytics in my iPhone application. I have a problem _objc_class_$gantracker
seems to be undefined . I saw on a forum that the problem can be solved by running lipo libGoogleAnalytics.a -remove i386 -output libGoogleAnalytics2.a
Where I can write this in xcode ? How I get to write a command line ?
You don't run this code in XCode, but simply in the standard OS X command line. See also this article (7.)
您可以在Project> Targets> Build Settings> Header search Paths中编写此代码。只需使用libGoogleAnalytics sdk路径编辑该列的值。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.