I am trying to add Google Analytics in my iSO app and I am using Google Analytics latest SDK https://developers.google.com/analytics/devguides/collection/ios/v3/.
A
This happened to me when I set up a development target. The production target was working fine but the development kept bringing up those errors. My issue was in the pod file. At first:
target 'NAME-OF-TARGET' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for MAIN-TARGET
pod 'GoogleSignIn'
pod 'Firebase/Core'
pod 'Firebase/Database'
target 'DEV TARGET' do
inherit! :search_paths <----------
# Pods for dev-target
pod 'GoogleSignIn'
pod 'Firebase/Core'
pod 'Firebase/Database'
end
The line I have indicated the arrow was the issue.
I changed it from inherit! :search_paths to use_frameworks! and the errors were done.