是C / C ++ / ObjC / Swift / JS Apple是唯一允许iPhone开发的语言吗? [英] Are C/C++/ObjC/Swift/JS Apple's only allowed languages for iPhone development?

查看:174
本文介绍了是C / C ++ / ObjC / Swift / JS Apple是唯一允许iPhone开发的语言吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据关于Daring Fireball的这篇文章,新的iPhone SDK协议版本与iPhone OS 4.0今天宣布专门禁止任何 iPhone应用程序未在C,C ++ Objective-C或JavaScript 中实现。这里明显的影响是用这些语言编写的各种程序。

According to this post on Daring Fireball a new iPhone SDK Agreement release in conjunction with the iPhone OS 4.0 announcement today specifically bans any iPhone application not implemented in C, C++ Objective-C or JavaScript. The clear impact here is to the wide array of programs written in languages other than those.

您是否也阅读了新协议中的条款?

Is that your reading of the clause in the new agreement as well?

更新:以下是Daring Fireball上打印的条款:

Update: Here is the clause as printed on Daring Fireball:


3.3.1 - 应用程序只能以Apple规定的方式使用Documented API,不得使用或调用任何私有API。应用程序必须最初用Objective-C,C,C ++或JavaScript编写,由iPhone OS WebKit引擎执行,并且只有用C,C ++和Objective-C编写的代码才可以编译并直接链接到Documented API(例如,禁止通过中间翻译或兼容性层或工具链接到Documented API的应用程序。)

3.3.1 — Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited).


推荐答案

<苹果已暂时禁止在iPhone上使用解释性语言,但是,我认为这使禁令更加清晰和准确。我想是的,Apple说如果你使用的语言不是C,C ++,Objective-C或JavaScript,你就有可能因为这些理由而拒绝你的应用程序。

Apple has had a ban on interpreted languages on the iPhone for a while now, but yes, I suppose this makes the ban more clear and more precise. I imagine that yes, Apple is saying that if you use a language other than C, C++, Objective-C, or JavaScript, you run the risk of having your app rejected from the App Store on those grounds.

这篇关于是C / C ++ / ObjC / Swift / JS Apple是唯一允许iPhone开发的语言吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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