Loaded the libzeromq.a file (fat binary) into the Corona SDK plugin Xcode project under “Link Binary With Libraries” in the Build Phases panel of the target.
Included the “zeromq_ios.h” and “zeromq_simulator.h” in the"Copy Files" panel
Did a successful release build of the project resulting in a libplugin_library.a file for both iOS and Simulator.
It appears that I have the binary for zeromq available as a plugin. Can I write the rest of this in Lua, or do I need to do some more c code to create the bindings?
This distro says that it has a C as well as an FFI binding for zmq and Lua. I am struggling to understand what parts of this distro I need to use and how Xcode handles things like cmake files. It looks like a complete binding is available if I can figure out how it works and how to make a plugin out of it.
Yeah, from this point on its just figuring out which methods you need to implement in the plugin and creating custom functions that communicate with the lua code.
I would recommend just looking at the sample code and figuring out how it works.
Great. Thanks for the encouragement. That’s what I’ve begun to do. Let you know how it goes. To get this far I’ve just done a few modifications to existing distros, so this will be a bit more of a challenge. I’m usually working on the UI end of these things.