Monday, October 3, 2016

iOS unit tests fail on CocoaPods Google Maps SDK

Leave a Comment

Since migrating our code base to Swift 3 using Xcode 8 we've been unable to get our unit tests to run. The app compiles and archives fine for the store, but when we try to run tests it fails to build complaining of:

framework not found GoogleMapsBase for architecture x86_64

I've checked our podfile and everything appears to be set correctly according to the latest documentation.

Edit: Podfile below

source 'https://github.com/CocoaPods/Specs.git'  target "Borked" do     platform :ios, '9.3'     use_frameworks!     pod 'GoogleMaps'     pod 'GoogleAnalytics'      target "Unit Tests" do         inherit! :search_paths     end      target "UI Tests" do         inherit! :search_paths     end  end 

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment