My build fails on Jenkins. no such module 'Mapbox'

My Jenkins build started failing suddenly and it complains about no Mapbox module but when I run it locally, everything is fine. I checked search paths and it is all good. I also double-checked my podfile to make sure everything is fine there.

Search Paths

Mapbox pods in my podfile:

pod 'Mapbox-iOS-SDK', '~> 4.2'
pod 'MapboxGeocoder.swift', '~> 0.11'