Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ld: file not found: /Pods/GoogleUtilities/Libraries/libGTM_NSData+zlib.a fix issue

In Pod it is showing like this.

libGTM_NSData+zlib_external.a

enter image description here

While in Build settings, it looks as below

$(PODS_ROOT)/GoogleUtilities/Libraries/libGTM_NSData+zlib.a

In config, it shows as this.

-force_load $(PODS_ROOT)/GoogleUtilities/Libraries/libGTM_NSData+zlib_external.a

How can I remove error of not finding libGTM_NSData+zlib.a as I know new google library has libGTM_NSData+zlib_external.a only.

I am using

pod 'Google/Analytics'
pod 'Google/SignIn'

in my Pod file.

Kindly give proper structure of removing such issue. I tried to rename and keeping all of same name as _external, it didn't solve the problem.

Final installation of Pods via Terminal shows Log as below

 Analyzing dependencies
    Downloading dependencies
    Installing AFNetworking (2.6.3)
    Installing AMScrollingNavbar (1.5.1)
    Installing Bolts (1.7.0)
    Installing ChartboostSDK (6.4.0)
    Installing Charts (2.2.4)
    Installing Crashlytics (3.7.0)
    Installing Fabric (1.6.7)
    Installing Google (2.0.3)
    Installing Google-Mobile-Ads-SDK (7.7.1)
    Installing GoogleAnalytics (3.14.0)
    Installing GoogleAppUtilities (1.1.0)
    Installing GoogleAuthUtilities (2.0.0)
    Installing GoogleInterchangeUtilities (1.2.0)
    Installing GoogleNetworkingUtilities (1.2.0)
    Installing GoogleSignIn (3.0.0)
    Installing GoogleSymbolUtilities (1.1.0)
    Installing GoogleUtilities (1.2.0)
    Installing MMDrawerController (0.5.7)
    Installing Optimizely-iOS-SDK (1.4.2)
    Installing Parse (1.13.0)
    Installing SDWebImage (3.7.5)
    Installing Shapes (1.0.2)
    Installing SocketRocket (0.3.1-beta2)
    Installing libPusher (1.5)
    Installing pop (1.0.9)
    Generating Pods project
    Integrating client project

Thanks.

like image 216
Chatar Veer Suthar Avatar asked Apr 12 '16 05:04

Chatar Veer Suthar


1 Answers

I had the same issue today, removing the pod cache and reinstalling from scratch did the trick for me. close Xcode, delete pod files, then

rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod install
like image 198
user2676299 Avatar answered Oct 12 '22 22:10

user2676299