ealeksandrov / ProvisionQL

Quick Look plugin for mobile apps and provisioning profiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to view more than one provision profile

evgeniyd opened this issue · comments

This issue started to reproduce since latest update (s) of macOS.

Steps to reproduce:

  1. Go to ~/Library/MobileDevice/Provisioning Profiles directory
  2. Select any .mobileprovision or .provisionprofile
  3. Press Space
  4. Notice the QuickLook plugin renders the profile of your choice
  5. With Down or Up arrow key change your selection
  6. Notice the QuickLook plugin does not render the profile.

Workaround:
I was able to overcome this issue by next steps:

  1. Clone the repo and setup the project to run qlmanage process (even though LLDB cannot attach to the process b/c of SIP, Xcode still can launch it)
  2. Open Activity Monitor and make sure qlmanage process is running
  3. Do the steps 1., 2., 3., 4., from "Steps to reproduce"
  4. When you continue to do steps 5. and 6. the issue still reproduce itself
  5. However, when you change the focus of the active Finder window to some other Finder window and then change it back, the next provision profile file can be previewed by the QuickLook plugin.
  6. Sometimes, you need to terminate the qlmanage process and start over again to continue to view profiles.

Taking into account "Steps to reproduce" and "Workaround" it might be a bug in High Sierra or in the plugin itself.

OS: macOS High Sierra
Version: 10.13.3 (17D47)

Can you try to reinstall ProvisionQL and try again?
I pretty frequently browse through Provisioning Profiles folder and confirming now - it still works.

Also High Sierra 10.13.3 (17D47).

I did it previously several times with no luck.
Today, I pulled latest changes from master and tried to install the debug build to /Library/QuickLook/ (previously, the location was ~/Library/QuickLook/).

I looks better now, but I'll test it more and report here.

Thank you for quick reply.

Great, latest changes will be released and pushed to homebrew cask later this week.

@ealeksandrov hey, I push it though some tests. It works well when the extension is placed into /Library/QuickLook/. I think this one can be closed.

Off top: I've just realized, that I reference this amazing project in one of my article on Medium.