I'm trying to embed a Finder Sync extension written in Swift in my app written with Electron. How can I manage to make them work together and communicate with each other? I have read the Apple documentation but it only explains how to add a target to a native application. I also noticed that I can manually inject the .appex
compiled file (produced by XCode) in the application Plugins
folder using electron builder.
How can I develop and test the extension in XCode and embed it correctly in a custom Electron app?
Any suggestion?
Thank you very much for any suggestion
.plist
files are written accordingly as the extension starts correctly. The only question remaining is how to let the main application communicate with the extension if the documentation specifies that the only allowed method is to extend theFIFinderSync
class in ObjectiveC/Swift. How can I raise a JS event inside an.appex
extension? – Ilsa