{"id":15141841,"url":"https://github.com/nativescript/ios-ng2-tns","last_synced_at":"2026-02-06T06:32:52.679Z","repository":{"id":141977822,"uuid":"108988062","full_name":"NativeScript/ios-ng2-tns","owner":"NativeScript","description":"Extending and existing iOS app with Angular and Nativescript","archived":false,"fork":false,"pushed_at":"2017-10-31T11:53:21.000Z","size":30407,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-22T01:34:33.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NativeScript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-10-31T11:48:25.000Z","updated_at":"2017-10-31T11:53:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbee8118-fe0d-4b13-82a7-142cb4eafc5e","html_url":"https://github.com/NativeScript/ios-ng2-tns","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"5b30a7dac0a5dd259c26a4f3652f68a5a2a58d4d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NativeScript/ios-ng2-tns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Fios-ng2-tns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Fios-ng2-tns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Fios-ng2-tns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Fios-ng2-tns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NativeScript","download_url":"https://codeload.github.com/NativeScript/ios-ng2-tns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Fios-ng2-tns/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267505099,"owners_count":24098346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-26T09:02:42.017Z","updated_at":"2026-02-06T06:32:52.614Z","avatar_url":"https://github.com/NativeScript.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Extend your existing iOS app with Angular and NativeScript\n\n## Step-by-step instructions how to extend existing iOS app with Angular and NativeScript\n\n1.Build your NativeScript app for iOS:\n`tns build ios`\n\n2.Copy your NativeScript app `\\platforms\\ios\\YourAppName\\app` folder to your iOS app:\n\n![Copy your NativeScript](./img/copy-your-nativeScript.png)\n\n3.Copy your NativeScript app `\\platforms\\ios\\internal` folder next to your iOS app:\n\n![Copy your NativeScript](./img/copy-your-nativeScript-app2.png)\n\n\u003e Note: Both can be found in your NativeScript app `\\platforms\\ios\\`and `\\lib\\ios\\` folders.\n\n4.Add reference to **NativeScript.framework** and **TNSWidgets.framework** (the former should be in the **internal** folder)\n\n![Copy your NativeScript](./img//add-reference.png)\n\n\u003e Note: Both can be found in your NativeScript app `\\platforms\\ios\\` and `\\lib\\ios\\` folders.\n\n\n5.Add **Run Script** and **Linker Flags** to build and use the metadata:\n\n![Copy your NativeScript](./img/add-run-script-and-linker-flags.png)\n\n`cd \"$PROJECT_DIR/internal/metadata-generator/bin\" \u0026\u0026 ./build-step-metadata-generator.py`\n\n![Copy your NativeScript](./img/add-run-script-and-linker-flags2.png)\n\n`-sectcreate __DATA __TNSMetadata \"$(CONFIGURATION_BUILD_DIR)/metadata-$(CURRENT_ARCH).bin\"`\n\n\u003e Note: Run Script should be the first build phase.\n\n6.Present NativeScript view controller from your app:\n\n![Copy your NativeScript](./img/present-nativescript-view-controller.png)\n\n![Copy your NativeScript](./img/result.gif)\n\n# Credits\n[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)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript%2Fios-ng2-tns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnativescript%2Fios-ng2-tns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript%2Fios-ng2-tns/lists"}