@Li Yakun
This is the solution if you have more then one target in project, every new target in podfile must have:
target 'NEWTARGET' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for MAINTARGET
shared_pods
end