how to include bundle in a pod

自作多情 提交于 2019-12-12 04:17:14

问题


I created a pod which include a vendored_frameworkthat 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!