latenitefilms / GyroflowToolbox

Allows you to import Gyroflow Projects into Apple's Final Cut Pro
https://gyroflowtoolbox.io
MIT License
24 stars 1 forks source link

Source code build and install #27

Closed kltdwrds closed 5 months ago

kltdwrds commented 5 months ago

I have built from source both the rust framework .dylib and FxPlug. I moved Gyroflow Toolbox.app to my Applications folder and opened it. That launches the native app and performs motion template installation. I now have the Gyroflow effect inside of FCP effects explorer, but it's giving the red error view when applied to any clip.

I believe the renderer .pluginkit found in developer build directory needs installed somewhere...? I've not done FxPlug development before, guidance appreciated!

Thanks for this awesome project.

latenitefilms commented 5 months ago

Did you code sign it?

Does it appear in Apple Motion? You might need to make your own Motion Template.

kltdwrds commented 5 months ago

Did you code sign it?

i did, signing was probably the hardest part of getting the build to work 😄

Does it appear in Apple Motion? You might need to make your own Motion Template.

The app installed .moef to my Motion Templates folder

Screenshot 2024-01-25 at 9 54 09 PM

But when i try clicking "open in motion" in FCP, Motion opens and gives me an error (which does seem consistent with how the effect is behaving in FCP...):

Screenshot 2024-01-25 at 9 55 31 PM
kltdwrds commented 5 months ago

I believe the renderer .pluginkit found in developer build directory needs installed somewhere...?

What actions does an AppStore install perform other than copying Gyroflow Toolbox.app to /Applications?

My un-educated guess is i need to manually install Gyroflow Toolbox Renderer.pluginkit from the dev build output folder to where ever FCP / Motion looks for "filters or generators"...

Screenshot 2024-01-25 at 10 01 47 PM
latenitefilms commented 5 months ago

No, all you need to do is run "Gyroflow Toolbox" from the Applications folder, and macOS will detect the plugin and allow Motion to access it. No need to move any files around.

Did you notarise the plugin? If you click "Product > Archive" you should be able to build for direct distribution (as opposed to App Store or TestFlight).

I think you'll need an Apple Developer Account for this all to work.

latenitefilms commented 5 months ago

After you build the Rust application (using /Scripts/build_rust.sh)...

In theory, you should just need to update the HARDCODED_DEVELOPER_ID here:

image

...and Signing Team here:

image

...and Signing Team here:

image

Then click Product > Archive:

image

Then click Distribute App:

image

Then click Direct Distribution:

image

Once it's signed and notarised you can export the Gyroflow Toolbox.app, then simply move the Application to your Applications folder, open it, and away you go.

latenitefilms commented 5 months ago

I'll close for now, but yell out if you have any further issues/questions!