Skip to content

Commit a71c321

Browse files
committed
no message
1 parent c2e9f1e commit a71c321

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

README.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
# JavaScriptCore iOS
22

3-
The JavaScriptCore library is part of the [WebKit project](http://www.webkit.org/) and thus Open Source. However, in the sources you get from the [WebKit SVN](https://svn.webkit.org/repository/webkit/trunk), the XCode project files are curiously missing an iOS compile target. The sources you get from [opensource.apple.com](http://opensource.apple.com/release/ios-601/) are missing the project files altogether. You can't compile it at all. That's quite the Open Source spirit, Apple!
4-
5-
This repo aims to re-produce the missing iOS targets while staying on a somewhat up-to-date version.
6-
7-
Currently, the [Safari-538.11.1 tag](https://svn.webkit.org/repository/webkit/tags/Safari-538.11.1/) is used as the basis. With the current settings, the WTF and JavaScriptCore libraries can be compiled for armv7, armv7s, arm64 and x86 (for the iOS simulator). It will be compiled without Unicode collation support, because Apple claims [ICU](http://site.icu-project.org/) is a private framework on iOS. It should be AppStore compatible this way.
8-
9-
This version of JSC deprecates the `typed-arrays` branch of this repository. JSC now supports Typed Arrays natively, without any hacks.
10-
11-
Note however, that the source code of JSC was still modified:
12-
13-
- It includes some API methods to work with Typed Arrays in native code. Have a look at the `API/JSTypedArray.h`, it declares three new API functions. The documentation for these functions can be found in this header file as well.
14-
- `Number.MIN_VALUE` was fixed to return `DBL_MIN` instead of `0` when the CPU has not enabled support denormal numbers.
15-
163
## Binaries
174

18-
A compiled version of the `libJavaScriptCore.a` for armv7, armv7s, arm64 and the Simulator can be found in the [source tree](https://github.com/phoboslab/Ejecta/tree/master/Source/lib) of the [Ejecta project](https://github.com/phoboslab/Ejecta).
5+
A compiled version of the `JavaScriptCore.framwork` for armv7, armv7s, arm64 and the Simulator can be found in the root directory.
196

207
## How to Compile
218

229
1. Run `python make.py`.
2310
2. Get coffee! Building this takes a while ;P
2411

2512
You can do `python make.py --help` for more options.
13+
14+
15+
支持 JSContext JSValue 等 OBJC API
16+
17+
修改了编译选项 , 有些地方是用 OS X 的代码,改为了 iOS代码,使用 xcode6.4 编译成功。 xcode 7.2 还没有试。 我直接把编译好的framework 传上来了, 可直接使用。 最低支持版本 5.1.1
18+
19+
bitcode 还未开启

0 commit comments

Comments
 (0)