Skip to content

Blavtes/ios-runtime

 
 

Repository files navigation

NativeScript for iOS Runtime

git clone --recursive git@github.com:NativeScript/ios-runtime.git

Requirements

Building

Run build/scripts/build.sh in the root of the repository. This will produce a static library and Cocoa Framework versions of the iOS runtime and a build of the metadata generator and place them in the dist folder. The script depends on the repo's git submodules, so if you run into issues make sure to update them using git submodule update --init.

Creating an Xcode Project

mkdir cmake-build && cd cmake-build
cmake .. -G Xcode

NPM Package

To build the npm package run sh build/script/build-runtime.sh in the root of the repository. This should produce a dist/tns-ios-*.tgz file, which should contain the NativeScript static library and Cocoa Framework, the NativeScript CLI template project, the API metadata generator and the Web Inspector frontend.

Tests

To run the tests build and run the TestRunner target from the generated Xcode project as described above.

About

iOS runtime for NativeScript (based on JavaScriptCore)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 81.9%
  • CSS 6.7%
  • C++ 4.4%
  • Objective-C++ 3.8%
  • Objective-C 1.7%
  • HTML 0.7%
  • Other 0.8%