/ProvisionQL

Quick Look plugin for mobile apps and provisioning profiles

Primary LanguageObjective-CMIT LicenseMIT

ProvisionQL - Quick Look for ipa & provision

Build Status Latest Release License Platform

Thumbnails example

Inspired by a number of existing alternatives, the goal of this project is to provide clean, reliable, current and open source Quick Look plugin for iOS & macOS developers.

Thumbnails will show app icon for .ipa/ .xcarchive or expiring status and device count for .mobileprovision. Quick Look preview will give a lot of information, including devices UUIDs, certificates, entitlements and much more.

Valid AdHoc provision

Supported file types:

  • .ipa or .tipa - iOS packaged application
  • .app - iOS application bundle
  • .xcarchive - Xcode archive
  • .appex - iOS/OSX application extension
  • .mobileprovision - iOS provisioning profile
  • .provisionprofile - OSX provisioning profile

More screenshots

Acknowledgments

Initially based on Provisioning by Craig Hockenberry.

Tutorials based on this example:

Installation

Homebrew Cask

Homebrew cask is the easiest way to install binary applications and Quick Look plugins.

If you have homebrew installed - just run one line and you are ready:

brew install --cask provisionql

Manual

  • download archive with latest version from the Releases page;
  • move ProvisionQL.qlgenerator to ~/Library/QuickLook/(current user) or /Library/QuickLook/(all users);
  • run qlmanage -r to refresh Quick Look plugins list.

其他

ProvisionQL没有系统扩展的优先级高,可能不生效。

ProvisionQL生成的信息末尾有类似以下信息:

ProvisionQL v1.6.4 (99) (debug) (Fork on GitHub)
  1. 关闭ProvisioningProfileQuickLookExtension

    系统设置中搜索扩展,将快速查看中的ProvisioningProfileQuickLookExtension复选框去掉勾选

  2. 删除DVTProvisioningProfileQuicklookGenerator对mobileprovision的支持

    /Applications/Xcode.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator

查看当前解析器

  1. 查看文件和解析扩展的对应关系

    qlmanage -m
    server: living for 0s (0 requests handled) - instant off: yes - arch: X86_64 - user id: 501
    memory used: 0 MB (849856 bytes) - used descriptors: 19/256
    plugins:
      ...
      com.apple.iphone.mobileprovision -> /Users/bangcle/Library/QuickLook/ProvisionQL.qlgenerator (99)
      com.apple.application-and-system-extension -> /Users/bangcle/Library/QuickLook/ProvisionQL.qlgenerator (99)
      ...
      com.apple.itunes.ipa -> /Users/bangcle/Library/QuickLook/ProvisionQL.qlgenerator (99)
      ...
      com.apple.mobileprovision -> /Users/bangcle/Library/QuickLook/ProvisionQL.qlgenerator (99)
      ...

获取文件类型contentTypeUTI

mdls -name kMDItemContentType /path/to/file

调试

attach进程ExternalQuickLookSatellite-x86_64

Author

Created and maintained by Evgeny Aleksandrov (@ealeksandrov).

License

ProvisionQL is available under the MIT license. See the LICENSE.md file for more info.