Creating pod, use of undeclared type for my pod classes

Yes you need to declare your class, methods and relevant variables as public and don't forget to import your module on top of the class you need.


Be sure to declare you class as public, as stated here

https://guides.cocoapods.org/making/using-pod-lib-create

As stated there:

It's worth mentioning here, as this catches people quite often, a Swift library needs to have its classes declared as public for you to see them in your example library.

So, just declare namespace "public" on you classes and you are good to go

I had the same problem, and this worked for me!