问题
I created a pod which include a vendored_framework
that I included using this line in the podspec
:
s.vendored_frameworks = 'Pod/Frameworks/TheFramework.framework'
So, that framework is a "fake" framework, that's why I need to include it this way. Now I need to include its resources bundle too, that's why I don't know how to do. I have tried this:
s.resource_bundles = {
'TheFramework' => ['Pod/Assets/TheFramework/TheFrameworkResources.bundle']
}
But when I run the project it seems that the vendored_framework
doesn't find any resources. So there is a right way to include that bundle?
Important: this pod is build as a framework
来源:https://stackoverflow.com/questions/34004090/how-to-include-bundle-in-a-pod