Allowing QuickLook preview to work for all files with a specific extension.

Hi,

I have create a Mac app that allows viewing of ".fit" files a file format use to record exercise activities and routes (among other things).

I have created a QuickLook Extension to preview these in the finder and this is working fine in most cases if I add file access for this extension in system settings

There are serval cases where this does not work, I'm guessing because of the sandbox? e.g. fit files in iCloud Drive just show default QL view not my custom one.

Is there a way to allow the QL extension to view a "fit" no matter where it might be?

Thanks Ants

Answered by DTS Engineer in 745002022

Thanks for the clarification, but that just confuses me more )-: In general the system should extended the sandbox of the QL extension so that the extension can access any file that the system asks it to preview.

Are these .fit files simple ‘flat’ files? Or are they document packages? Or perhaps contain references to other files?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I add file access for this extension in system settings

Please clarify what you mean by this.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi,

Thanks for reply. what I meant here was I drag ''n' dropped app into Privacy & Security - Full Disk Access section. On my dev box this seems to allow the app to quicklook files on the file system (tried a lot of home sub folders including Dropbox, downloads, documents etc) - except for iCloud Drive. I can also see the extension in the Privacy & Security - Extension - Added extensions section in settings and the quick look preview is enabled there.

I was able to get Xcode cloud going and created a test flight build. Upon downloading this to another Mac I can open fit files in the app to view but not use the QuickLook feature. I added app to the Full Disk access section but it is not showing under Added extensions.

Thanks Ants

Accepted Answer

Thanks for the clarification, but that just confuses me more )-: In general the system should extended the sandbox of the QL extension so that the extension can access any file that the system asks it to preview.

Are these .fit files simple ‘flat’ files? Or are they document packages? Or perhaps contain references to other files?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Allowing QuickLook preview to work for all files with a specific extension.
 
 
Q