Skip to content

tns run ios fails on iOS devices after rebuilding application in the process #2860

@rosen-vladimirov

Description

@rosen-vladimirov

Tell us about the problem

tns run ios command fails with Could not create device path for file: <path to project>/platforms/ios/build/device/.nsbuildinfo when during execution application is rebuilt.

NOTE: Device only, works fine for iOS Simulator.

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.0.x
  • Cross-platform modules: 3.0.1
  • Runtime(s): tns-ios 3.0.1
  • Plugin(s):
"dependencies": {
    "nativescript-theme-core": "~1.0.2",
    "tns-core-modules": "3.0.1"
  },
  "devDependencies": {
    "nativescript-dev-android-snapshot": "^0.*.*"
  }

Please tell us how to recreate the issue in as much detail as possible.

  1. In any project execute tns run ios
  2. After application is deployed/synced, apply a change that requires rebuild, for example change something in App_Resources
  3. Application is rebuilt, installed and a warning is shown:
    Could not create device path for file: <path to project>/platforms/ios/build/device/.nsbuildinfo
    After that all consecutive tries to livesync (in the same tns run ios execution, in case you stop the command and start it again, everything will work fine) will end up with the same warning.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions