Skip to content

Commit

Permalink
Merge pull request NativeScript#950 from NativeScript/tdermendjiev/up…
Browse files Browse the repository at this point in the history
…date-extend-existing-ios-app

Update extend existing ios app article
  • Loading branch information
tdermendjiev authored Nov 1, 2017
2 parents 9dacb6f + 5f37a1a commit f140b5f
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/extend-existing-ios-app-with-ns-angular2/result.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ environment: angular

> Note: Both can be found in your NativeScript app `\platforms\ios\`and `\lib\ios\` folders.
4.Add reference to **NativeScript.framework** and **TNSWidgets.framework**
4.Add reference to **NativeScript.framework** and **TNSWidgets.framework** (the former should be in the **internal** folder)

![Copy your NativeScript](../img/extend-existing-ios-app-with-ns-angular2/add-reference.png)

Expand All @@ -36,11 +36,11 @@ environment: angular

![Copy your NativeScript](../img/extend-existing-ios-app-with-ns-angular2/add-run-script-and-linker-flags.png)

`cd $PROJECT_DIR/internal/metadata-generator/bin && ./metadata-generation-build-step`
`cd "$PROJECT_DIR/internal/metadata-generator/bin" && ./build-step-metadata-generator.py`

![Copy your NativeScript](../img/extend-existing-ios-app-with-ns-angular2/add-run-script-and-linker-flags2.png)

`-sectcreate __DATA __TNSMetadata $(CONFIGURATION_BUILD_DIR)/metadata-$(CURRENT_ARCH).bin`
`-sectcreate __DATA __TNSMetadata "$(CONFIGURATION_BUILD_DIR)/metadata-$(CURRENT_ARCH).bin"`

> Note: Run Script should be the first build phase.
Expand All @@ -50,4 +50,7 @@ environment: angular

![Copy your NativeScript](../img/extend-existing-ios-app-with-ns-angular2/result.gif)

Get the app from here: [https://github.com/enchev/ios-ng2-tns/](https://github.com/enchev/ios-ng2-tns/)
Get the app from here: [https://github.com/NativeScript/ios-ng2-tns](https://github.com/NativeScript/ios-ng2-tns)

# Credits
[Extend your existing iOS app with Angular 2 and NativeScript](https://medium.com/@enchev/extend-your-existing-ios-app-with-angular-2-and-nativescript-c2225c9bf616)

0 comments on commit f140b5f

Please sign in to comment.