question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve Angular support

See original GitHub issue

Find all tasks that make developer experience unpleasant when reading NS with Angular Tutorial:

This is not related to nativescript-angular in any way, but when I installed the latest Node.js version with homebrew by running brew install homebrew/versions/node6-lts, node was installed successfully, but homebrew could not link it and I did not have the node and npm commands available. On the other hand, by downloading node-v6.9.1.pkg from Node.js website and running it node and npm were installed successfully. Just saying.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:38 (28 by maintainers)

github_iconTop GitHub Comments

6reactions
hamorphiscommented, Nov 30, 2016
  1. I ran tns run ios and was prompted by the CLI to select a development team:
Xcode 8 requires a team id to be specified when building for device.
You can specify the team id by setting the DEVELOPMENT_TEAM setting in build.xcconfig file located in App_Resources folder of your app, or by using the --teamId option when calling run, debug or livesync commnads.
? Found multiple development teams, select one: (Use arrow keys)
❯ Telerik A D (XXXXXXXXXX) 
  Telerik AD (XXXXXXXXXX) 
  Rossen Hristov (XXXXXXXXXX) 

I selected my personal development team Rossen Hristov (XXXXXXXXXX), since our users are clearly not part of the two Telerik teams. After which I got the following error:

No profiles for 'org.nativescript.groceries' were found:  Xcode couldn't find a provisioning profile matching 'org.nativescript.groceries'.
Code signing is required for product type 'Application' in SDK 'iOS 10.1'
Code signing is required for product type 'Application' in SDK 'iOS 10.1'

The only way to work around this issue was to open the xCode project with xCode and change the bundle indentifier from org.nativescript.groceries to something very unique like org.nativescript.groceriesalabala. If I chose the Telerik A D I did not have any problems, but a person following this tutorial is not part of the Telerik A D team.

It seems that you cannot deploy the app on a real device with the bundle ID org.nativescript.groceries if you do not choose the Telerik A D as the team id.

The worst thing is that exactly the same happened for a brand new project created from scratch:

No profiles for 'org.nativescript.azobichammachiboza' were found:  Xcode couldn't find a provisioning profile matching 'org.nativescript.azobichammachiboza'.
Code signing is required for product type 'Application' in SDK 'iOS 10.1'
Code signing is required for product type 'Application' in SDK 'iOS 10.1'

We have to ask someone outside Telerik to try this. Someone with his own AppleID and team and iPhone. I guess everything is fine, but I can’t test it as me.

0reactions
hamorphiscommented, Dec 6, 2016

@tjvantoll Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrading for performance - Angular
This guide describes some of the built-in tools for efficiently migrating AngularJS projects over to the Angular platform, one piece at a time....
Read more >
How to Improve your Angular application's performance |
Go to your tsconfig. · When building your app use --es5-browser-support=false with ng build to exclude es5 browser polyfills from your bundle or...
Read more >
7 Tips to Optimize Your Angular App/Application - Dot Net Tricks
7 Tips to Optimize Your Angular App/Application · 1. Controlling Change Detection · 2. Lazy Loading · 3. AOT compilation mode + compression...
Read more >
The Complete Guide to Angular Performance Tuning
In this post, I will go through different methods that can be used to performance tune Angular apps. Some of them involve improving...
Read more >
Performance Optimization Techniques in Angular - XenonStack
Techniques of Performance Optimization in Angular use suitable compilation methods and techniques to improve the application's performance.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found