未安装Safari App Extension [英] Safari App Extension not installed

查看:155
本文介绍了未安装Safari App Extension的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅供参考,我对XCode开发完全陌生.我有一个Safari App Extension项目.

如果我从XCode中运行它,它将扩展添加到Safari中就好了.如果创建存档",导出"并选择导出开发签名的应用程序",则可以获取生成的文件,将其安装在另一台计算机上,运行Safari,然后查看扩展名.如果我创建一个Archive,Xport,然后选择为Mac App Store部署保存",然后安装生成的文件,则我的应用程序中会看到我的应用程序扩展名,但Safari中什么都没有显示.

我们向App Store提交的内容也遭到拒绝,因为扩展名缺失.如何让App Store安装程序安装扩展程序,以便Safari可以看到它?

预先感谢...

解决方案

对于遇到类似问题的其他人,我取得了一些进步.我确实发现,当我运行安装程序时,我的扩展程序实际上已安装到Safari.我只是在Safari扩展列表中才看到它,直到我在Safari的开发"菜单下选择了允许未签名的扩展"选项.

我以为,由于我在项目中设置了签名"区域,并且我的机器位于iTunes Connect允许的机器列表中,因此即使没有指定该选项,我也可以在扩展列表中看到它.因此,我再次上传了构建版本,因此他们不再拒绝它.

关于第一次发生的事情,我不确定.他们可能犯了一个错误,或者我创建存档时可能没有选择正确的目标.我需要确保将Mac应用程序作为目标,而不是扩展程序.

FYI I'm totally new to XCode development. I have a Safari App Extension project.

If I run it from within XCode, it adds my extension to Safari just fine. If I create an Archive, Export, and choose "Export a Development Signed Application" I can take the generated file, install it on another computer, run Safari, and see the extension. If I create an Archive, Xport, and choose "Save for Mac App Store Deployment" and then install the generated file, I see my App Extension in my Applications, but nothing shows up in Safari.

Our submission to the App Store also got denied because the extension was missing. How do I make the App Store installer install the extension so that Safari can see it?

Thanks in advance...

解决方案

For anyone else who hits a similar issue, I made some progress. I did find that when I ran my installer my extension was actually being installed to Safari. I just didn't see it in my Safari extension list until I chose the 'Allow Unsigned Extensions' option under the Develop menu in Safari.

I thought that since I had my Signing area set up in the project and my machine is on the list of allowed machines in iTunes Connect that I'd be able to see it in the extensions list even without that option specified. So I uploaded the build again and they didn't reject it for that reason anymore.

As to what happened the first time, I'm not sure. Either they made a mistake, or my maybe I didn't have the correct target selected when I created the archive. I needed to make sure to have the Mac app be the target, not the extension.

这篇关于未安装Safari App Extension的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆