★ wanayoo — archive 1999 https://github.com/NativeScript/ios-runtimeNouvelle recherche | Portail wanayoo
Skip to content
iOS runtime for NativeScript (based on JavaScriptCore) http://docs.nativescript.org/runtimes/ios
JavaScript CSS C++ Objective-C++ Objective-C HTML Other
Latest commit f26b59c @jasssonpet jasssonpet Merge pull request #471 from NativeScript/jasssonpet/lock …
Lock in TNSDictionaryAdapter keyEnumerator

README.md

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

The tns-ios package is built with grunt. Install grunt-cli with npm and then run npm install . in the root of the repo to install the local grunt dependencies.

To build the npm package run grunt package in the root of the repo. 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.

Something went wrong with that request. Please try again.