TheAcharya / MarkersExtractor

Extract Markers from Final Cut Pro FCPXML
MIT License
36 stars 2 forks source link

Dependency API Changed and Breaks Build #70

Closed milanvarady closed 10 months ago

milanvarady commented 10 months ago

Bug Description, Steps to Reproduce, Crash Logs, Screenshots, etc.

Hi, I updated to version 0.2.6, but when I compile I get this error message:

'Role' is not a member type of struct 'DAWFileKit.FinalCutPro.FCPXML'

The problem is in the FCPXMLMarkerExtractor.swift at line 255 FinalCutPro.FCPXML.Role

func getClipRoles(_ marker: FinalCutPro.FCPXML.Marker) -> MarkerRoles {
            ...
            func handle(role: FinalCutPro.FCPXML.Role) { // Here
            ...
orchetect commented 10 months ago

It's because DAWFileKit was set to main branch and its API is changing. Just pull main branch of MarkersExtractor until I can release 0.2.7. I'll make sure dependencies are set to version numbers in future for releases.

orchetect commented 10 months ago

0.2.7 is up.

milanvarady commented 10 months ago

Thanks! It compiles now.