Mac应用程序拒绝 - 临时异常权利密钥Safari浏览器 [英] Mac App Rejection - Temporary Exception Entitlement Key for Safari

查看:290
本文介绍了Mac应用程序拒绝 - 临时异常权利密钥Safari浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我们考虑一个应用程序做使用AppleScript下面的步骤,以自动登录到某网站:

Let's consider an app doing the following steps using AppleScript, in order to auto-login to some website:

1,打开野生动物园,并导航到网站

1- Open "Safari" and navigate to website

2 - 填写用JavaScript结果的用户名和密码字段做的JavaScript的document.getElementById('password_input')。值='的userPassword'

2- Fill the username and password fields with JavaScript
do JavaScript " document.getElementById('password_input').value = 'userPassword' "

3使用JavaScript --- 办提交表单的JavaScriptdocument.forms ['login_form']。提交()

3- Submit form using JavaScript --- do JavaScript " document.forms['login_form'].submit() "

有关沙盒Mac应用程序, com.apple.security.temporary-exception.apple事件必须添加授权密钥野生动物园,为了执行上面的AppleScript程序。

For a sandboxed Mac app, com.apple.security.temporary-exception.apple-events entitlement key must be added for "Safari", in order to execute AppleScript procedure above.

<key>com.apple.security.temporary-exception.apple-events</key>
<array>
<string>com.apple.safari</string>
</array>

一切的伟大工程,这样一来,没有任何问题。

Everything works great this way, without any problem.

下面是我的问题:

该应用是否被拒绝,因为Safari浏览器这个临时的异常使用情况?

Does the app get rejected because of this temporary exception usage for Safari?

推荐答案

等待一个多月后,我的应用程序得到批准。

After waiting for more than one month, my app got approved.

在iTunesConnect的权益部分中,我简要地解释了为什么我用这个授权密钥,我的应用程序得到批准,没有任何问题。

In entitlements section of iTunesConnect, I briefly explained why I used this entitlement key, and my app got approved without any problem.

所以我可以说,Safari浏览器的临时例外的用法是不会拒绝原因。

So I can say that temporary exception usage for Safari is NOT a reject reason.

这篇关于Mac应用程序拒绝 - 临时异常权利密钥Safari浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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