Cannot load module 'Snapkit' as 'Snapkit'

1.1k views Asked by At

I've tried every way of installing 'Snapkit' but so far I'm not having much luck.

I'm using the following:- Xcode 8.3.3

So far I've tried following all the documentation online to solve the issue, however it still isn't working. Including following the steps here.

The current error message is "Cannot load module 'Snapkit' as 'Snapkit".

Although previously the message was no such module 'Snapkit'.

3

There are 3 answers

0
AbdulAziz Rustam Ogli On

I had the same error recently. That's why I saw your question. I rebuilt and ran the app. After the build is finished it now recognizes SnapKit )). If you opened it through workspace and if the contents of the pod file are ok, then it should open. Try building the project and type SnapKit after it.

0
Pavel Shorokhov On

Typo in case - SnapKit, not Snapkit.

import SnapKit
0
cherbear On

Please ensure if you're using Cocoapods as your dependency manager that you're loading the Xcode WorkSpace and not the project file. Otherwise try cleaning the project and rebuilding.