Xcode shows alert about unknown com.apple.quicklook.preview extension point when running on Apple Vision Pro Simulator

I have an iOS app with a QuickLook extension. I also added Apple Vision Pro in the target's General > Supported Destinations section. About one year ago, I was able to run the app on iPhone, iPad and Apple Vision Pro Simulators.

Today I tried running it again on Apple Vision Pro with Xcode 26.0.1, but Xcode shows this error:

Try again later. Appex bundle at ~/Library/Developer/CoreSimulator/Devices/F6B3CCA8-82FA-485F-A306-CF85FF589096/data/Library/Caches/com.apple.mobile.installd.staging/temp.PWLT59/extracted/problem.app/PlugIns/problemQuickLook.appex with id org.example.problem.problemQuickLook specifies a value (com.apple.quicklook.preview) for the NSExtensionPointIdentifier key in the NSExtension dictionary in its Info.plist that does not correspond to a known extension point.

I tried again later a couple times, even after running Clean Build Folder Immediately, without any change. I can reproduce this with a fresh Xcode project to which I add a Quick Look Preview Extension and Apple Vision Pro as a supported destination. The error doesn't happen when running on Apple Vision Pro (Designed for iPad) or iPad Pro 13-inch (M4) destinations. What is the problem?

I created FB20448815.

Answered by Nickkk in 862169022

I tried some more myself and I was able to solve the issue by adding Apple Vision Pro to the Supported Destinations of the extension. Previously I had only added it to the main app.

Hi,
Any discrepancy in deployment target versions? I suppose not since you mentioned the fresh projects attempts.

What happens if you modify manually the info.plist?

Can you try deleting the phyical one and rely only on the "info.tab"?
Inversely, can you de select from build settings the 'generate info.plist' and handle that fully manually?
What happens if you deliberately make the NSExtensionPointIdentifier 'wrong' like making a typo - do you get same error message?
Can you check the bundle identifiers?

Can you try deleting the phyical one and rely only on the "info.tab"?

I don't see how, since the NSExtension plist key contains a nested structure.

Inversely, can you de select from build settings the 'generate info.plist' and handle that fully manually?

Not sure what that should change. Should I simply copy the generated contents into the Info.plist file? The error doesn't happen at compile time, but at installation time.

What happens if you deliberately make the NSExtensionPointIdentifier 'wrong' like making a typo - do you get same error message?

Same error message, now mentioning the updated NSExtensionPointIdentifier value.

I did a sanity check and looked in Xcode, in the templates for a new target, I don't see 'Quick Look Preview Extension' in the visionOS' list (I do see 'thumbnails').
Could it not be possible yet? That would explain why no issues when making the app 'designed for iPad'.
I suppose the issue disappears if you remove vision as a target for the quick look extension.. but maybe you want the extension in visionOS as well.
I read some more and I came to the conclusion that the Quick Look preview extensions are not yet for visionOS, but only someone from Apple can confirm that.

Accepted Answer

I tried some more myself and I was able to solve the issue by adding Apple Vision Pro to the Supported Destinations of the extension. Previously I had only added it to the main app.

Xcode shows alert about unknown com.apple.quicklook.preview extension point when running on Apple Vision Pro Simulator
 
 
Q