Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Fabric Sample Plugin

A minimal third-party .fabricplugin bundle for validating Fabric's plugin SDK.

The project links the local Fabric checkout as a dynamic Swift package product and exposes one node:

  • fabric.graphics.Sample-Plugin/ExampleNumberNode

Build

Open Sample Plugin/Sample Plugin.xcodeproj and build the Sample Plugin target.

The target is configured as a macOS bundle with:

  • wrapper extension: fabricplugin
  • bundle identifier: fabric.graphics.Sample-Plugin
  • principal class: FabricSamplePlugin.SamplePlugin
  • Fabric plugin API version: 1
  • Fabric plugin display name, author, and description metadata

The Fabric plugin metadata lives in Sample Plugin/Sample Plugin/Info.plist so the required loader keys are visible in source control.

Install For Local Testing

Build the Install Sample Plugin target to compile the plugin and copy it into Fabric's user plugin directory:

~/Library/Application Support/Fabric/Plugins/FabricSamplePlugin.fabricplugin

The install target does the equivalent of:

mkdir -p "$HOME/Library/Application Support/Fabric/Plugins"
cp -R "path/to/FabricSamplePlugin.fabricplugin" "$HOME/Library/Application Support/Fabric/Plugins/"

Launch Fabric Editor after installing the bundle so the plugin loader discovers it.

About

A Sample Plugin for Fabric, showcasing the Plugin SDK.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages