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
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.
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.