Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Adding Plugins to Corona Enterprise - linker Error - library not found
Started by axelbinder895 Apr 19 2017 02:58 AM

1 reply to this topic
[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

axelbinder895

[GLOBAL: userInfoPane.html]
axelbinder895
  • Observer

  • 10 posts
  • Corona SDK

Hi,
We have just switched to Corona Enterprise. I followed the tutorials https://coronalabs.com/blog/2015/03/10/tutorial-corona-sdk-to-corona-enterprise/
https://coronalabs.com/blog/2014/03/18/tutorial-corona-enterprise-quickstart-ios
My App uses the following plugins:
        ["plugin.google.iap.v3"]
        ["plugin.googleAnalytics"]
        ["plugin.gpgs"]
        ["plugin.OneSignal"]
        ["plugin.notifications"]
        ["plugin.appodeal"]
        ["CoronaProvider.native.popup.social"]
If I dont use the plugins within my source the project works just fine. However when I try to link an .a file from the CoronaEnterprisePlugins Folder as decribed here (
https://coronalabs.com/blog/2015/03/10/tutorial-corona-sdk-to-corona-enterprise/ ) I always get the same error.
ld: library not found for -lSOMELIBRARYPLUGINNAME
clang: error: linker command failed with exit code 1


But I have tried to include some plugins now and I seem to miss something.
As an example: native.popup.social
I have added the .a file as described.
I also add the Social.famework within the Linked Fameworks and Libraries Section.
But the same Error remains

ld: library not found for -lnative-popup-social
clang: error: linker command failed with exit code 1


I have tried chaning some settings as described here:
https://forums.coronalabs.com/topic/55131-whats-the-steps-to-build-ios-app-using-enterprise-version/
and here:
http://stackoverflow.com/questions/11358591/xcode-library-not-found
But now I'm stuck.

Can somebody give a detailed example of adding one plugin to a Corona Enterprise project. I might just miss something simple

Thank you in Advance
 



[TOPIC: post.html]
#2

axelbinder895

[GLOBAL: userInfoPane.html]
axelbinder895
  • Observer

  • 10 posts
  • Corona SDK

I solved this issue:

In the BuildSettings -> SeatchPaths -> Library Search Path the path had "" Quotations.

I deleted them then the Libraries were found properly.

 

Best Regards




[topic_controls]
[/topic_controls]