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.
.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
Initially based on Provisioning by Craig Hockenberry.
- English - aleksandrov.ws
- Russian - habrahabr.ru
- Clone the project repo;
- Open the
ProvisionQL.xcodeproj
file, select theProvisionQLApp
target and click Run. - Authorize
ProvisionQLPreview
andProvisionQLThumbnail
based on system prompts. - Move or copy
ProvisionQLApp.app
to/Applications
ProvisionQL没有系统扩展的优先级高,可能不生效。
ProvisionQL生成的信息末尾有类似以下信息:
ProvisionQL v1.6.4 (99) (debug) (Fork on GitHub)
-
关闭ProvisioningProfileQuickLookExtension
在
系统设置
中搜索扩展
,将快速查看
中的ProvisioningProfileQuickLookExtension
复选框去掉勾选 -
删除DVTProvisioningProfileQuicklookGenerator对mobileprovision的支持
/Applications/Xcode.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator
查看当前解析器
-
查看文件和解析扩展的对应关系
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
Created and maintained by Evgeny Aleksandrov (@ealeksandrov).
ProvisionQL
is available under the MIT license. See the LICENSE.md file for more info.