Final Cut Pro X crashes on export
Lately whenever I click on a share button and then choose for example "apple devices", FCP crashes instantly. It didn't crash when I chose share -> export file and the audio and video (when I chose apple devices there it also crashed). I did delete preferences and it crashes in different libraries. I got SmartConverter app from the app store and it also crashes when I'm trying to convert a file from .mov to "iphone / ipod" so I'm guessing it's something more than just FCP bug but rather with a codec or something like that (?) Whenever I had a problem with FCP, trashing preferences would always help but now it's different, what can I do to fix this?
MacBook Pro with Retina display, macOS High Sierra (10.13), early 2015