开发者

V8 JavaScript Engine and Mac App Store

开发者 https://www.devze.com 2023-03-15 05:55 出处:网络
If I embed the V8 JavaScript Engine in my application (a game) is it still possible to distribute it in the Mac &a开发者_如何学Cmp; iOS App Stores?If you embed your own interpreter engine (any program

If I embed the V8 JavaScript Engine in my application (a game) is it still possible to distribute it in the Mac &a开发者_如何学Cmp; iOS App Stores?


If you embed your own interpreter engine (any programming language), you will have to disable JIT (or any other dynamic executable code generation), as writing executable code will not work in the app sandbox on stock OS iOS devices. Compiler engines are not allowed. An app with an interpreter also can not have any code download capability, or it will be rejected by Apple. So you will have to embed your complete game with your interpreter for submission to Apple's App store.

But there are many apps approved and in the app store with embedded interpreters (Basic, for instance).

0

精彩评论

暂无评论...
验证码 换一张
取 消