Search code examples
iosiphonexcodegoogle-mapscocoapods

framework in xcode deleted by mistake


This is my podfile for my iphone app. platform :ios, ‘9.0’ use_frameworks!

target ‘NearBy Places’ do
    pod 'Alamofire', '~> 4.0'
    pod 'SwiftyJSON'
    pod 'Toast-Swift', '~> 2.0.0'
    pod 'MBProgressHUD'
    pod 'GoogleMaps'
    pod 'GooglePlaces'
end

I accidentally deleted some files of framework. Now even when i run pod install command, it is still not able to get those files back and is showing me missing googlemapscore framework missing linker error.


Solution

  • Delete the pod, run pod update and then add your pod and call pod update again.