https://github.com/nativescript/sample-ios-embedded
Embedding the NativeScript for iOS runtime in an existing app
https://github.com/nativescript/sample-ios-embedded
Last synced: 3 months ago
JSON representation
Embedding the NativeScript for iOS runtime in an existing app
- Host: GitHub
- URL: https://github.com/nativescript/sample-ios-embedded
- Owner: NativeScript
- Created: 2016-01-04T14:05:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T13:49:12.000Z (over 7 years ago)
- Last Synced: 2025-08-16T00:37:07.602Z (3 months ago)
- Language: Objective-C
- Size: 1.86 MB
- Stars: 19
- Watchers: 32
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NativeScript Embedding in an Native iOS application
This repo contains a full XCode native sample app (*CoolApp*) with NativeScript app (*nsapp*) embedded into it.
## Installation & Running the example application
Now there are a couple things you need to do before you can run it. We assume you have NativeScript and Cocoapods support in your environment; if not; please read the documetation at http://nativescript.org on how to install everything you need.
- Clone this repo
- open a terminal and then navigate to where you downloaded this repo at
- `cd nsapp`
- `tns install && tns build ios`
- `cd ../CoolApp`
- `pod install`
You should now be able to open the `CoolApp/CoolApp.xcworkspace` up in **XCode** and then run the application on a simulator or device.
## Embedding NativeScript in your own project
For very detailed documentation on the entire process, which walks you through all the steps to make this process work; please read the [HOWTO.md](HOWTO.md) file.