ealeksandrov / ProvisionQL

Quick Look plugin for mobile apps and provisioning profiles
MIT License
2.36k stars 149 forks source link

QuickLook does not work on macOS BigSur #40

Closed JanC closed 2 years ago

JanC commented 4 years ago

hey, I can't make the ProvisionQL to work on macOS BigSur. I installed it via Homebrew

brew install provisionql

My Xcode is here

xcode-select -p
/Applications/Xcode-12.1.app/Contents/Developer

I did remove the default QL for:

rm /Applications/Xcode-12.1.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator
qlmanage -r

qlmanage -m plugins | grep ProvisionQL.qlgenerator
  com.apple.iphone.mobileprovision -> /Users/jan/Library/QuickLook/ProvisionQL.qlgenerator (64)
  com.apple.application-and-system-extension -> /Users/jan/Library/QuickLook/ProvisionQL.qlgenerator (64)
  com.apple.xcode.archive -> /Users/jan/Library/QuickLook/ProvisionQL.qlgenerator (64)

But when I quick look an .ipa or a .mobileprovision, I don't get any preview

Screenshot 2020-11-15 at 20 42 12 Screenshot 2020-11-15 at 20 42 27

any tips?

carlosefonseca commented 3 years ago

I was having the same issue. After deleting the Xcode generator, the mobileprovision still didn't appear. Then it hit me that I was trying to view a profile encrypted with fastlane match… after decrypting it, it worked 🙂

JanC commented 3 years ago

In my case I use normal profiles without match. The Xcode QL plugin works on them

JeansHuang commented 2 years ago

It works on Monterey.

ealeksandrov commented 2 years ago

@JanC sorry for late answer! Probably your UTI/plugins list is missing 3 lines, most likely you had different version of Xcode installed in the system (or even lying in the trash).

You can check for Xcode generators with:

> qlmanage -m plugins | grep Xcode
  com.apple.mobileprovision -> /Users/ealeks/.Trash/Xcode-13.1.0.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator (19457)
  com.apple.provisionprofile -> /Users/ealeks/.Trash/Xcode-13.1.0.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator (19457)

And correct setup for ProvisionQL should look like this:

> qlmanage -m plugins | grep ProvisionQL.qlgenerator
  com.apple.xcode.archive -> /Users/ealeks/Library/QuickLook/ProvisionQL.qlgenerator (64)
  com.apple.iphone.mobileprovision -> /Users/ealeks/Library/QuickLook/ProvisionQL.qlgenerator (64)
  com.apple.application-and-system-extension -> /Users/ealeks/Library/QuickLook/ProvisionQL.qlgenerator (64)
  com.apple.itunes.ipa -> /Users/ealeks/Library/QuickLook/ProvisionQL.qlgenerator (64)
  com.apple.mobileprovision -> /Users/ealeks/Library/QuickLook/ProvisionQL.qlgenerator (64)
  com.apple.provisionprofile -> /Users/ealeks/Library/QuickLook/ProvisionQL.qlgenerator (64)
ealeksandrov commented 2 years ago

Closing as plugin compatibility confirmed on macOS Big Sur and Monterey.

JanC commented 2 years ago

@ealeksandrov thanks for your answer, I'll give it a try later

cheers