Using plugins in Corona Native projects (iOS) - Download plugins script - SimpleLuaExtension as template

Help!

I have an existing Corona project which I am importing to Corona native using the SimpleLuaExtension project as a template.

I have used the SimpleLuaExtension template to take a HTML file create in Corona and create a PDF file using IOS (works well).

I now need to import my existing Corona project into the SimpleLuaExtension template to use the PDF generator.

The existing Corona project uses plugins - zip, quicklook, safariview and splash control (I could probably code some of them natively now).

I have read this howto on downloading plugins for IOS in Xcode:

https://coronalabs.com/blog/2017/07/06/using-plugins-in-corona-native-projects-ios/

which works for the plugin/ App project in the Native -> Project Templates

?? How do I port the Xcode download plugin script into the SimpleLuaExtension project which I am using for a template?

I have tried exporting the scheme from the App project but does work for me

Any ideas?

Native for iOS is super easy to me.

This is what I do and you have already done most of this:

  1. Copy the entire template into a folder. The folder called “iOS” from /Project Template/Apps/

  2. Your old project folder name it “Corona” and throw it in the same folder.

  3. Now open the project inside “iOS” in Xcode named App. In the build option at the top select “Download Plugin” and Generic iOS Device. And click on Run. It should download all the plugins.

  4. Now switch back to “App”, plug in a device and you should not have the plugin errors anymore. 

Agramonte

Thanks for the guidance, working now.

The key is to have a clean copy of the App directory.

Native for iOS is super easy to me.

This is what I do and you have already done most of this:

  1. Copy the entire template into a folder. The folder called “iOS” from /Project Template/Apps/

  2. Your old project folder name it “Corona” and throw it in the same folder.

  3. Now open the project inside “iOS” in Xcode named App. In the build option at the top select “Download Plugin” and Generic iOS Device. And click on Run. It should download all the plugins.

  4. Now switch back to “App”, plug in a device and you should not have the plugin errors anymore. 

Agramonte

Thanks for the guidance, working now.

The key is to have a clean copy of the App directory.