AppStore的/ iOS应用和跨preTED code - 他们在哪里划清界线呢? [英] AppStore / iOS apps and interpreted code - where do they draw the line?

查看:273
本文介绍了AppStore的/ iOS应用和跨preTED code - 他们在哪里划清界线呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

苹果的iOS开发者指南状态:

Apple's iOS developer guidelines state:

3.3.2 - 应用程序可能无法将自己安装,或以任何方式通过使用插件架构的推出其他可执行code,包括但不限于,调用其它框架,其他API或以其他方式。没有跨preTED code可下载或应用程序中使用,除了code这是间preTED和苹果的记录的API上运行,并内置间preTER(S)。

3.3.2 — An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded or used in an Application except for code that is interpreted and run by Apple’s Documented APIs and built-in interpreter(s).

假设,新下载的数据的 - 如XML和图片,或者游戏关卡描述,例如 - (因为是我的IM pression)在运行时是允许的,我想知道他们得出的数据和code之间的界限。想象一个应用程序,提供互动presentations用户(如调查,例如)的场景。 presentations被连续地加入到提供给不同的用户的服务器和不同presentations制成,因此它们不能在初始应用下载(这将是整点)的一部分。他们以XML格式描述,但作为互动的,它们可能包含这样的条件分支(伪形式显示举例):

Assuming that downloading data - like XML and images, or a game level description, for example - at run-time is allowed (as is my impression?), I am wondering where they draw the line between "data" and "code". Picture the scenario of an app that delivers interactive "presentations" to users (like a survey, for instance). Presentations are added continuously to the server and different presentations are made available to different users, so they cannot be part of the initial app download (which would be the whole point). They are described in XML format, but being interactive, they might contain conditional branching of this sort (shown in pseudo form to exemplify):

<options id="Gender">
    <option value="1">Male</option>
    <option value="2">Female</option>
</options>

<branches id="Gender">
    <branch value="1">
        <image src="Man" /> 
    </branch>
    <branch value="2">
        <image src="Woman" /> 
    </branch>
</branches>

在此XML间preTED和应用程序内的打,上面会分两步psented $ P $。首先选择屏幕显示,用户可以点击任一两种选择(男或女)中。接下来,图像将[动态下载],并根据在previous步骤中所做的选择显示出来。

When this XML is interpreted and "played" within the app, the above would be presented in two steps. First a selection screen is shown, where the user can click on either of the two choices ("Male" or "Female"). Next, an image will be [downloaded dynamically] and displayed based on the choice made in the previous step.

现在,从这个,很容易想象的附加标签,描述了进一步的逻辑。例如,一个含有标签可以被添加

Now, from this, it's easy to imagine additional tags, describing further logic still. For example, a containing tag could be added:

<loop count="3">

    <options... />
    <branches... />

</loop>

这里在于选择屏幕/图像画面对将被顺序presented三倍以上,当然结果。

The result here being that the selection screen / image screen pair would be sequentially presented three times over, of course.

或者想象某种格式描述的在游戏关卡的。这也许是自然,以查看,作为被动的数据,但如果它包括,比方说,几个门道,用户可以通过与连接有等各种触发器,陷阱和点 - 是不是一样使用脚本(或者更确切地说,除preTED code) - 来描述执行序列,选择和自己条件的响应

Or imagine some format describing a level in a game. It is perhaps natural to view that as passive "data", but if it includes, say, several doorways that the user can go through and with various triggers, traps and points attached to them etc - isn't that the same as using a script (or, indeed, interpreted code) - to describe execution sequences, options and their conditional responses?

假设该数据的跨pretation引擎已经是present的应用程序,这样的presentations只能在应用程序中被消耗(不创建或编辑),这将如何票价对抗苹果的iOS指南?不XML基本上构成一种脚本语言在这个意义上(不能在一个跨preTED语言的任何程序的XML描述)?

Assuming that the interpretation engine for the data is already present in the app and that such "presentations" can only be consumed (not created or edited) in the app, how would this fare against Apple's iOS guidelines? Doesn't XML basically constitute a scripting language in this sense (couldn't any program in an interpreted language be described in XML)?

难道是确定的,如果专有的脚本语言(参见上面使用的XML)是严格沙盒(他们怎么能知道?),并以任何方式没有给进入操作系统(但是可以下载内容 - 就像一个调查或游戏关卡 - 动态以及上传结果 - 答案或得分 - 到创作服务器)

Would it be OK if the proprietary scripting language (ref the XML used above) was strictly sandboxed (how can they tell?) and not given access to the operating system in any way (but able to download content - like a survey or a game level - dynamically as well as upload results - answers or scores - to the authoring server)?

在什么地方行去了?

推荐答案

根据3.3.2,他们可以拒绝该应用程序。然而,可怕的事情是,你可以创建应用程序,使其获得批准,请让许多用户下载和使用,然后苹果可以拉从商店的应用程序。

Based on 3.3.2, they could reject an app for this. However, the scarier thing is that you could create the app, get it approved, have it be downloaded and used by many users, and then Apple could pull the app from the store.

你有没有发布您所描述的应用程序?

Did you ever publish the app you described?

这篇关于AppStore的/ iOS应用和跨preTED code - 他们在哪里划清界线呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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