I cannot understand why the Cocoapod is unable to find the pod specification I created when I run pod install. Could someone help me solve this trouble?
You first need to add your Podspec to a private specs repo; this lets CocoaPods find the pod when you try to install it.
Enter the following in Terminal, making sure you’re still in the framework directory you are trying to add:
pod repo add [your framework name] [Your framework Git URL]
pod repo push [your framework name] [your framework .podspec file name]