Re: Help with the Xcode template
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Ben, If you build the plug-in, the go to the Finder and double-click on the app, does it work after that? I’ve found that between Xcode, Launch Services, and PlugInKit, sometimes there’s a miscommunication. By running it once from the Finder, it seems to fix whatever the issue is. When we created the template, it was requested that we do some actual processing in the XPC. Doing hardware processing in the XPC in a reasonable amount of time would have required using IOSurfaces which are very poorly documented, and which none of us had used at the time. Also, it would have greatly complicated a template that was intended to be fairly simple. So we went with just adding the watermark in the XPC and doing it in software because it was straightforward and easy to understand. Let me know if the above helps, Darrin
On Aug 12, 2017, at 10:15 AM, Ben Syverson <ben@bensyverson.com> wrote:
Hi all,
After a few years away, I’m trying to implement some code as an FxPlug. So I created a brand new project from the FxPlug template, built it, and nothing happened. There doesn’t seem to be any documentation about how to use this template, so I’m reaching out for help.
I did try turning on code-signing for the Wrapper, XPC and Plugin.
I also noticed that the Bundle Identifier is set to the product name (i.e. Example), not the full identifier (i.e. com.bensyverson.Example). I changed that, but I’m not clear on whether the Wrapper, XPC and Plugin should have different IDs?
The template seems to generate new UUIDs, but I made new ones anyway, but it still didn’t help.
Running `pluginkit -m` doesn’t show the new plugin, and it doesn’t show up in Motion. No errors are reported in the console, so I’m not sure where to start looking.
(I also noticed that the template builds a plugin which doesn’t implement hardware rendering (!), which is baffling. If there’s only one template, it should either implement both, or just hardware.)
Does anyone have any tips? Thanks in advance!
Ben _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/dcardani%40apple.com
This email sent to dcardani@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Darrin Cardani