Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new files during livesync doesn't succeed on iOS Devices #2661

Closed
pkoleva opened this issue Mar 27, 2017 · 1 comment
Closed

Adding new files during livesync doesn't succeed on iOS Devices #2661

pkoleva opened this issue Mar 27, 2017 · 1 comment

Comments

@pkoleva
Copy link
Contributor

pkoleva commented Mar 27, 2017

Tell us about the problem

I started run command and added new files to my project but I got errors

Which platform(s) does your issue occur on?

iOS device only

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

  • CLI: 3.0

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

Scenario 1

  1. tns run ios
  2. Add a file in app folder
    Result: Unable to sync files. Error is: Multiple errors were thrown:
    Could not open file: /Users/koleva/Work/Stable/appInst/platforms/ios/appInst/app/new.js

Scenario 2

  1. Add a new image in AppResources
  2. Rename it
    Result: The console is stuck on Installing...
Installing...
Uninstalling org.nativescript.appInst from devices with identifiers: b2365713167146c9fcf4f86a2ebca88c00340a3e.
Received multiple results:
{ b2365713167146c9fcf4f86a2ebca88c00340a3e:
  [ { deviceId: 'b2365713167146c9fcf4f86a2ebca88c00340a3e',
      response: 'Successfully uninstalled application' } ] }
Application org.nativescript.appInst has been uninstalled successfully.
Project dir from hooksArgs is: undefined.
Hooks directories: [ '/Users/koleva/Work/Stable/node_modules/nativescript/lib/hooks',
 '/Users/koleva/Work/Stable/node_modules/nativescript/lib/common/hooks',
 '/Users/koleva/Work/Stable/appInst/hooks' ]
BeforeHookName for command install is before-install
Installing /Users/koleva/Work/Stable/appInst/platforms/ios/build/device/appInst.ipa on devices with identifiers: b2365713167146c9fcf4f86a2ebca88c00340a3e.
Received multiple results:
{ b2365713167146c9fcf4f86a2ebca88c00340a3e:
  [ { deviceId: 'b2365713167146c9fcf4f86a2ebca88c00340a3e',
      response: 'Successfully installed application' } ] }
Project dir from hooksArgs is: undefined.
Hooks directories: [ '/Users/koleva/Work/Stable/node_modules/nativescript/lib/hooks',
 '/Users/koleva/Work/Stable/node_modules/nativescript/lib/common/hooks',
 '/Users/koleva/Work/Stable/appInst/hooks' ]
AfterHookName for command install is after-install
Uploading files:
[ { source: '/Users/koleva/Work/Stable/appInst/platforms/ios/build/device/.nsbuildinfo',
   destination: 'Library/Application Support/LiveSync/.nsbuildinfo' } ]
For application org.nativescript.appInst on device with identifier: b2365713167146c9fcf4f86a2ebca88c00340a3e.
@dtopuzov
Copy link
Contributor

Looks OK with Xcode 8.3

@pkoleva pkoleva modified the milestones: 3.0.0, 3.0.0-RC Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants