KhronosGroup / KhronosGroup/glTF-iOS-Viewer

glTF viewer registers via iCloud as a file type provider for GLB and similar files on macOS and breaks Preview.app (it's wild)

Open
#6 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
74
Forks
11
PR merge metrics
No merged PRs in 30d

Description

I've verified this is the case. The issue causes the Preview app on macOS to be unable to open GLB files entirely due to the fact that the binary doesn't exist on macOS. I'm unsure why it breaks Preview.app, but it does.

The only solution is to remove the iOS app's data in iCloud entirely and to disallow it from saving any data there. Although it turns out this isn't enough as there are a few files in iCloud that macOS holds onto that you have to purge manually via the terminal.

The problem happens when the Launch Services database is rebuilt and the system is restarted.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure after rebuilding the Launch Services database and restarting macOS, focusing on the iOS app's iCloud data and its registration as a GLB file type provider. The issue is done when the viewer no longer breaks Preview.app's ability to open GLB files and no longer requires manually purging retained iCloud files.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, macos, swift
Domain
desktop, mobile, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.