How to use iOS plugin in Xcode?

Hi, Corona Engineers!

I am now developing a plugin in Xcode and it outputs .a static library to my knowledge.
And i am sure i need to import .a file together with .h to use the library in ordinary Xcode project; however, I can not find the .h of corona plugin.
There should be a way to reuse the plugins in Xcode, i think.

Am i approaching correctly?

Please help me along the way.

Regards,

Jilt

Hi Jilt, if you are using the Corona plugin in another CoronaEnterprise project, you can just add the corresponding .a file into that project. You won’t need the .h file b/c Corona does a dynamic symbol lookup.

As for an ordinary Xcode project (non-Corona Xcode project), that would not work out of the box, because the plugin interfaces are designed to work with Corona.

Hi walter,

Your answer really clarifies the fact.

Thank you for your support and look forward to touch base.

Cheers,

Jilt

Hi Jilt, if you are using the Corona plugin in another CoronaEnterprise project, you can just add the corresponding .a file into that project. You won’t need the .h file b/c Corona does a dynamic symbol lookup.

As for an ordinary Xcode project (non-Corona Xcode project), that would not work out of the box, because the plugin interfaces are designed to work with Corona.

Hi walter,

Your answer really clarifies the fact.

Thank you for your support and look forward to touch base.

Cheers,

Jilt