supercoast
supercoast

Reputation: 37

Module MapboxGeocoder not found Xcode 9 Swift 4

I'm trying to install the MapboxGeocoding framework with Cocoapods and Xcode9. Unfortunately Xcode can't find the module. It shows me the following error: Cannot load underlying module for 'MapboxGeocoder'

The pod file looks as the following:

# Uncomment the next line to define a global platform for your project
platform :ios, '11.0'

    target 'FrameworkTest' do
      # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
      use_frameworks!
      pod 'MapboxGeocoder.swift', '~> 0.7'

      # Pods for FrameworkTest

    end

I checked also the build settings of the Xcode Project. It looks like the following: Framework Search Path

Finally nothing worked for me. Any suggestions to solve this problem?

PS: The normal MapBox Framework works well with cocoapods

Upvotes: 0

Views: 539

Answers (1)

Pallavi Srikhakollu
Pallavi Srikhakollu

Reputation: 598

I guess your framework header search path is missing this path. Try adding $(inherited) $(PROJECT_DIR) $(PROJECT_DIR)/YourProjectFramework folder in Framework search path

Hope this helps you!

Upvotes: 1

Related Questions