geekonion / ProvisionQL

Quick Look plugin for mobile apps and provisioning profiles

Repository from Github https://github.comgeekonion/ProvisionQLRepository from Github https://github.comgeekonion/ProvisionQL

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.

Mobileprovision

Valid AdHoc provision

MacOS App

MacOS App

More screenshots

Supported file types:

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

Acknowledgments

Initially based on Provisioning by Craig Hockenberry.

Tutorials based on this example:

Installation

  • Clone the project repo;
  • Open the ProvisionQL.xcodeproj file, select the ProvisionQLApp target and click Run.
  • Authorize ProvisionQLPreview and ProvisionQLThumbnail based on system prompts.
  • Move or copy ProvisionQLApp.app to /Applications

其他

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/xxx/Library/QuickLook/ProvisionQL.qlgenerator (99)
      com.apple.application-and-system-extension -> /Users/xxx/Library/QuickLook/ProvisionQL.qlgenerator (99)
      ...
      com.apple.itunes.ipa -> /Users/xxx/Library/QuickLook/ProvisionQL.qlgenerator (99)
      ...
      com.apple.mobileprovision -> /Users/xxx/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.

About

Quick Look plugin for mobile apps and provisioning profiles

License:MIT License


Languages

Language:Objective-C 83.1%Language:C 10.2%Language:HTML 6.4%Language:Shell 0.4%