Xcode recently updated and my code is giving this error in STPAPIClient.m:
Incompatible block pointer types sending '__strong STPAPIResponseBlock _Nonnull' (aka 'void (^__strong)(__strong ResponseType, NSHTTPURLResponse *__strong, NSError *__strong)') to parameter of type 'void (^)(STPSource *__strong, NSHTTPURLResponse *__strong, NSError *__strong)'
Edit: I found podfile.lock, but every time I delete it and pod install, I check the project directory and Podfile.lock is still there. Does anyone know how to delete it? Thanks!
You should never modify Podfile.lock directly. It's generated by pod install
. If you want to remove a Pod, edit Podfile, delete the Pod you want, and rerun pod install
.