You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make a pod which has multiple sources of c code, but I don't see how to handle multiple sources when some of the sources isn't meant to compile on their own.
There is a main c project which compiles fine and the other sources I have are c code files which is meant to be placed in the source directory of the main project.
I have tried defining the other sources as dependencies as separate pods (which doesn't built on its own) and as subspecs (but the subspec source was ignored). Downloading all the sources and stashing them in a repo, doesn't seem all that pod-like.
Does cocoapods support a way of doing this, is this something that cocoapods should potentially support in a future version or is my use case too weird?
The text was updated successfully, but these errors were encountered:
Separate podspecs would mean they cannot build on their own and doesn't the source from each podspec go in its own directory? The C sources I am talking about here must all go into one directory in order to be built.
But https://github.com/zhanjunxiong/luapb/blob/master/Makefile builds with an installed version of Lua, that should also be possible when encapsulating it into a podspec. A podspec for Lua itself already exists, so you should depend on that.
馃寛
I am trying to make a pod which has multiple sources of c code, but I don't see how to handle multiple sources when some of the sources isn't meant to compile on their own.
There is a main c project which compiles fine and the other sources I have are c code files which is meant to be placed in the source directory of the main project.
I have tried defining the other sources as dependencies as separate pods (which doesn't built on its own) and as subspecs (but the subspec source was ignored). Downloading all the sources and stashing them in a repo, doesn't seem all that pod-like.
For a specific example, these files https://github.com/zhanjunxiong/luapb/tree/master/src are meant to be among the files from http://www.lua.org/ftp/lua-5.1.5.tar.gz
Does cocoapods support a way of doing this, is this something that cocoapods should potentially support in a future version or is my use case too weird?
The text was updated successfully, but these errors were encountered: