xcodegoogle-mapsframeworks

framework not found GoogleMapsCore Error


I'm using cocoapods in my project and I have googlemaps(2.5.0) and googleplaces(2.5.0) in my podfile(which I've installed with 'pod install').

However, I'm getting this error when I try to build:

ld: framework not found GoogleMapsCore
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I've changed 'Build Active Architecture Only' to NO in my Build Settings. I'm also in my project.xcworkspace NOT my project.xcodeproj file. I've even tried changing my valid architectures but none of this is working.

It might be helpful to note that, inside my workspace Project Navigator, for some reason I have my project.xcodeproj file in red. project.xcodeproj is usually never there let alone red.


Solution

  • Finally a solution:

    pod deintegrate 
    pod install
    

    I had to reclone my Git project(because I had tried too many solutions to backtrack through new warnings and errors) then I just did the above commands in terminal.