Sunday, January 14, 2018

Cannot load underlying module for 'SideMenu'

I'm implementing SideMenu pod in a Swift project using only code.

I did the basic setup installing the pod (I've already got cocoapod installed):

pod init
open -a Xcode Podfile

For me, the podfile configuration in the official page doesn't work, so, I made a little modification:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.2'
use_frameworks!

target 'SideMenuCodeImplementation' do
pod "SideMenu"

end

Where SideMenuCodeImplementation is my project name. Then, I execute the last command:

pod install

But, when I started the implementation, at trying import SideMenu, I only got the message

Cannot load underlying module for 'SideMenu'

The solution was simple: Clean (Shift+Command+K) and build (Command+B) the project.

That's all.

No comments:

Post a Comment