I am trying to create a pod of library. I am following this tutorial. Pod lint successfully validate the pod spec. However when i import it as module i get error Use of unknown type
. Here is the project
Update:
- I just created a new pod project using the command
pod lib create MZDownloadManager
. - Then I updated the meta in podspecs file like description, summary etc.
- Then I validated the podspecs using the command
pod lib lint MZDownloadManager
and it gives success. - Then I goto the Example project directory and run the command
pod install
. - It also successfully integrated the development pod.
- Then I goto the pregenerated class
ReplaceMe
and created the test class namedReplaceMe
and just define its testing initialiser. - Then I import the module. I still got the same error of
Use of undeclared type
podspec file looks like this: