I have looked at the documentation on the Cocoapods site, several questions here and articles on various sites, but nothing thus far has resolved this for me.
The issue is that I had to create an iOS framework that needs to be placed into a private Cocoapod for use within my organization. I have focused on several variations of the vendored_frameworks option, but nothing has succeeded in importing the framework into my target project.
Below is a subset of my Podspec file:
s.name = "MyCocoaPod"
s.source_files = 'MyCocoaPod/Classes/**/*'
s.vendored_frameworks = 'Framework/MyFramework.framework'
pod lib create
I finally solved this odd case.
First, I deleted the project and had cocoapods generate a new one with the
pod lib create command.
Next, I deleted the default folder under development pods and then copied the framework file into the project under the Development/PodName folder.
I then added
s.vendored_frameworks = 'MyFramework' to the podspec file. Previously, I tested not including the Framework/ path under vendored_frameworks without success.
Upon importing to the target, it successfully appeared.
The only new thing I did was to use a new project, so I assume some setting in th previous one was incorrect.