1

I'm trying to develop osx application that is respond final cut pro custom share.

final cut pro custom share to my application

I have been looking for references a lot for 2 weeks. And I did followings.

<key>NSAppleScriptEnabled</key>
<true/>
<key>OSAScriptingDefinition</key>
<string>pairs.sdef</string>
<key>NSAppleEventsUsageDescription</key>
<string>hello</string>
<key>com.apple.proapps.MediaAssetProtocol</key>
<dict>
</dict>
  • Implemented everything need and passed test apple script code from editor
tell application "My Application"
    make new asset with properties ¬
        {name:"MyNewAsset", |metadata|:{|com.apple.proapps.share.episodeID|:"MyNewEpisode"}, dataoptions:{|availableMetadataSets|:{"Camera View", "General View"}}}
    set newAsset to result
    set theLocation to location info of newAsset
end tell

Result : 
{folder:file "Macintosh HD:Users:handsome:Documents:gemiso"}

Then, I added custom share destination in final cut pro and point to my application enter image description here

I executed my application with xcode debug mode.

I click Final Cut Pro > File > Share > 'my application'

But my application didn't respond.

I lost way. please help me

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
muyoungko
  • 73
  • 2
  • 8
  • Omg, I archived, distributed(devleopment), moved it to /Applications, then rebooted my computer. Finally final cut pro x recognized my application. But not in xcode, in application. – muyoungko Jul 28 '20 at 07:22

1 Answers1

0

I found way.

Reason why my application did not respond is because of 2 conditions.

  1. packaged and provisioning should be above at least Developer ID(Distribute directly to customers)

  2. It should be in application folder

muyoungko
  • 73
  • 2
  • 8