tns run ios; does not install app

4 posts, 0 answers
  1. TJ
    TJ avatar
    58 posts
    Member since:
    Aug 2013

    Posted 22 Dec 2014 Link to this post

    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
  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 25 Dec 2014 Link to this post

    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.

     
  3. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 05 Jan 2015 Link to this post

    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.

     
  4. TJ
    TJ avatar
    58 posts
    Member since:
    Aug 2013

    Posted 05 Jan 2015 in reply to Erjan Gavalji Link to this post

    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
Back to Top