Search code examples
xcodemacosquicklookspotlight

Xcode 10 Archives to 'Other Items' instead of 'MacOS Apps'


This was working perfectly - before I upgraded to Xcode 10 that is. My app has a Quicklook and a Spotlight plugin integrated into it. These plugins are built separately and then, in the Build Phase, copied (two Copy Files) with the following settings:

Destination: Wrapper
Subpath: Contents/Library/<QuickLook|Spotlight>
Code Sign on Copy

Now, when I attempt to Archive in order to submit my App to the Mac App Store, my application archive to 'Other Items' instead of 'MacOS Apps'.

If I remove my plugins then it will archive correctly - but (obviously) I don't want to do that since this functionality is critical.

Has anyone seen this problem before? Can anyone suggest a solution?


Solution

  • You're getting generic Xcode build. This may happen, if you're using nested applications, static libraries, frameworks or headers.

    You should set Skip install toYES in build settings for your plugins.

    More here