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

旧巷老猫 提交于 2020-02-22 15:31:35

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/52653706/xcode-10-archives-to-other-items-instead-of-macos-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!