Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Using plugins in Corona Native projects (iOS) - Download plugins script - SimpleLuaExtension as template
Started by spencer0 Jan 30 2018 07:32 AM

2 replies to this topic
corona native ios plugins

Best Answer agramonte , 30 January 2018 - 01:50 PM

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. 

[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

spencer0

[GLOBAL: userInfoPane.html]
spencer0
  • Observer

  • 9 posts
  • Corona SDK

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?

 

 

Attached Files



[TOPIC: post.html]
#2

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,131 posts
  • Corona SDK

  Best Answer

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. 



[TOPIC: post.html]
#3

spencer0

[GLOBAL: userInfoPane.html]
spencer0
  • Observer

  • 9 posts
  • Corona SDK

Agramonte

 

Thanks for the guidance, working now.

 

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




[topic_controls]
[/topic_controls]