This is a migrated thread and some comments may be shown as answers.

tns run ios; does not install app

3 Answers 347 Views
NativeScript Insiders
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
TJ
Top achievements
Rank 1
TJ asked on 22 Dec 2014, 03:44 PM
Hey all,

I just wanted to report a small problem I've ran into with the `tns run` command. I've found that `tns run android`, `tns run android --emulator`, and `tns run ios --emulator` all work fine, but `tns run ios` does not.

The iOS build itself works fine—and I get a .ipa file—but the deploy process doesn't seem to run. It just gets stuck at `Using  /path/to/project-name/platforms/ios/build/device/project-name.ipa`, and no app appears on my iOS device. I verified that I'm running the latest version of the CLI, and that `tns list-devices` lists my iPhone. The appropriate certs and provisioning profiles *should* be in place, as the build itself works without any issues, and I'm able to deploy apps within Xcode without issues.

I placed the full output of a `tns run ios` run in a gist in case it helps: https://gist.github.com/tjvantoll/e366fafd0e059f7dd4c8. If you have any other questions let me know.

Thanks,
TJ

3 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 25 Dec 2014, 08:37 AM
Hey TJ,

Merry Christmas!

Thank you very much for reporting this. We are currently working with limited capacity, due to the holidays and we will require more time in order to investigate what is preventing you from deploying the NativeScript app on your iOS device. Please, excuse us for any inconveniences this has caused. We will get back to you as soon as possible. Thank you for the understanding.

Regards,
Kaloyan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Erjan Gavalji
Telerik team
answered on 05 Jan 2015, 02:05 PM
Hi TJ,

Happy New Year!

Sorry for not having a direct solution. Can you please, run the `tns run ios` command with a higher log level?

Here's the exact command:

`tns run ios --log trace`

Looking forward to your reply,
Erjan Gavalji
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
TJ
Top achievements
Rank 1
answered on 05 Jan 2015, 04:39 PM
Hey Erjan,

I think this was a problem on my end. Once I updated my provisioning profiles in Xcode the command ran fine.

Sorry about that and thanks.
TJ
Tags
NativeScript Insiders
Asked by
TJ
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Erjan Gavalji
Telerik team
TJ
Top achievements
Rank 1
Share this question
or