rb2030
rb2030

Reputation: 439

Cannot load module 'Snapkit' as 'Snapkit'

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'.

Upvotes: 2

Views: 1267

Answers (3)

Pavel Shorokhov
Pavel Shorokhov

Reputation: 4994

Typo in case - SnapKit, not Snapkit.

import SnapKit

Upvotes: 2

cherbear
cherbear

Reputation: 253

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.

Upvotes: 1

AbdulAziz Rustam Ogli
AbdulAziz Rustam Ogli

Reputation: 137

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.

Upvotes: 1

Related Questions