ios - Podspec subspec where the module name is not the same as the podspec name? -


so have project in swift (xcode 7) has bunch of framework targets, want have 1 podspec includes, subspecs, of these frameworks.

when create podspec , add bunch of subspecs sample project sample project doesn't compile because module names have changed.

for example have podspec named "frameworks" subspecs "datamodel" , "common".

i create sample project podfile has references both 'frameworks/datamodel' , 'frameworks/common'. datamodel framework has dependencies on common , inside datamodel code common framework imported with

import common 

but in sample project of subspecs getting inserted new framework cocoapods generates called frameworks import common throws error saying can't find common module. have change to

import framework 

to work, not acceptable solution.

how can resolve this?? or can't do?

i think you're looking module_name attribute. can add podspec change how cocoapods generates framework.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -