Can I use my own dylib in Corona Simulator? For example by placing it to /Library/Application Support/Corona/Simulator/Plugins?
Yes, but this is solely for the simulator. Device builds in the simulator will only integrate plugins on the build server. As you are using Enterprise, it’s not an issue, but something you should be aware of.
Also, in the latest daily builds, this location has changed to your user’s library folder (to avoid admin issues), not the global one:
~/Library/Application Support/Corona/Simulator/Plugins
But I can’t find corona lib file to link against for architecture x86_64. Is there any way to build my own dylib to use in Corona Simulator ?
You need to use the linker flag “-undefined dynamic_lookup” as there’s no need to link against a lib on Mac.
I recommend you use the Xcode project (for Mac) that comes with CoronaEnterprise as there are other linker flags that I may be forgetting: CoronaEnterprise/ProjectTemplates/App/mac/Plugin.xcodeproj
Thank you!
Yes, but this is solely for the simulator. Device builds in the simulator will only integrate plugins on the build server. As you are using Enterprise, it’s not an issue, but something you should be aware of.
Also, in the latest daily builds, this location has changed to your user’s library folder (to avoid admin issues), not the global one:
~/Library/Application Support/Corona/Simulator/Plugins
But I can’t find corona lib file to link against for architecture x86_64. Is there any way to build my own dylib to use in Corona Simulator ?
You need to use the linker flag “-undefined dynamic_lookup” as there’s no need to link against a lib on Mac.
I recommend you use the Xcode project (for Mac) that comes with CoronaEnterprise as there are other linker flags that I may be forgetting: CoronaEnterprise/ProjectTemplates/App/mac/Plugin.xcodeproj
Thank you!