Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensions support #45

Merged
merged 2 commits into from
Apr 17, 2023
Merged

Extensions support #45

merged 2 commits into from
Apr 17, 2023

Conversation

ealeksandrov
Copy link
Owner

Description

I've noticed that QuickLook doesn't work for any app extensions, although they should be supported. When debugging, I've found that they are missing provision data, so QuickLook fails without analysing Info.plist.

Changes

  • Add provisionData and appPlist initializers for app extensions.
  • When appPlist != nil && provisionData == nil - hide provisioning section, but continue previewing Info.plist data.
  • Add specific header title for app extensions.
  • Add Extension type info field for app extensions.

Test

  1. Install debug version of ProvisionQL to ~/Library/QuickLook/.
  2. Unzip test .ipa, navigate to the extensions folder: *.ipa/Payload/*.app/PlugIns/*.appex.
  3. Hit space to trigger QuickLook on any app extension.

Screenshots

before after

@ealeksandrov ealeksandrov merged commit f129ab1 into master Apr 17, 2023
@ealeksandrov ealeksandrov deleted the extensions-support branch April 17, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant