I will update the below things in my Build settings and I did not get any errors. To check these are the things while updating your cocoapods.
Build Settings
Enable Bit code - YES(if you are using bitcode)
Macro preprocessor - $(inherited)
Other linker flag - objc, -lc++, $(inherited)
Build architecture only
Debug - Yes
Relese - No
Search Path
Framework search path - $(inherited) $(PROJECT_DIR)
Library search path - $(inherited)
Header search path - $(inherited)