Skip to content

yuanduan66/ios-runtime

 
 

Repository files navigation

NativeScript for iOS Runtime

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

Requirements

  • OS X 10.11+
  • Xcode 8+
  • CMake 3.1.3 - Make sure to install the command line tools from the menu.
  • llvm 3.9 - used to build the metadata generator submodule. Be sure to have the folder containing llvm-config in PATH or make a symlink to in /usr/local/bin/.
  • Automake - available in Homebrew as automake.
  • GNU Libtool - available in Homebrew as libtool.
  • Checkout all git submodules using git submodule update --init.

Local Development

Execute the following commands:

mkdir "cmake-build" && cd "cmake-build"
cmake .. -G "Xcode"
open "NativeScript.xcodeproj"

After you open the newly generated project in Xcode you can run the TestRunner target or the Gameraww example app.

Building a Distribution Package

To build the tns-ios npm package run ./build/scripts/package-tns-ios.sh in the root of the repository. The package contains the NativeScript Cocoa Framework, the NativeScript CLI template project and the API metadata generator.

To build the tns-ios-inspector npm package run ./build/scripts/package-tns-ios-inspector.sh in the root of the repository. The package contains the Web Inspector frontend.

About

The NativeScript Runtime for iOS

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 81.8%
  • CSS 6.5%
  • C++ 4.4%
  • Objective-C++ 3.8%
  • Objective-C 1.7%
  • HTML 0.7%
  • Other 1.1%