NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 196 forks source link

Cant build since Xcode 10 #3909

Closed larssn closed 5 years ago

larssn commented 5 years ago

Did you verify this is a real problem by searching the [NativeScript Forum]

Found a related issue: https://stackoverflow.com/questions/52340033/xcodebuild-failed-exit-code-65-ios

Tell us about the problem

After updating to Xcode 10 (today), my tns run ios --log trace fails on the xcode build step with:

stderr: 
spawn: xcodebuild "archive" "-archivePath" "./platforms/ios/build/archive/ourApp.xcarchive" "-configuration" "Debug" "-workspace" "./platforms/ios/ourApp.xcworkspace" "-scheme" "ourApp" "SHARED_PRECOMPS_DIR=./platforms/ios/build/sharedpch" "ARCHS=arm64" "VALID_ARCHS=arm64" "-sdk" "iphoneos" "CONFIGURATION_BUILD_DIR=./platforms/ios/build/device" "-allowProvisioningUpdates"
User defaults from command line:
    IDEArchivePathOverride = ./platforms/ios/build/archive/ourApp.xcarchive

Build settings from command line:
    ARCHS = arm64
    CONFIGURATION_BUILD_DIR = ./platforms/ios/build/device
    SDKROOT = iphoneos12.0
    SHARED_PRECOMPS_DIR = ./platforms/ios/build/sharedpch
    VALID_ARCHS = arm64

note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: unexpected duplicate task: CodeSign <my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework (in target 'ourApp')

Build system information
error: unexpected duplicate task: CodeSign <my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework (in target 'ourApp')

Build system information
error: Multiple commands produce '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework/TNSCore':
1) Target 'ourApp' has copy command from './node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework'
2) Target 'ourApp' has copy command from './node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework'

Build system information
error: Multiple commands produce '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework':
1) Target 'ourApp' has copy command from './node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework'
2) Target 'ourApp' has copy command from './node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework'

Build system information
warning: duplicate output file '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework' on task: PBXCp ./node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework <my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework (in target 'ourApp')

Build system information
warning: duplicate output file '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework/TNSCore' on task: PBXCp ./node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework <my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework (in target 'ourApp')

Build system information
warning: duplicate output file '' on task: PBXCp ./node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework <my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework (in target 'ourApp')

Command xcodebuild failed with exit code 65
Unable to apply changes on device: a1f50f93c3c6c8473b2ce8a5ceafe1ddbd5cb753. Error is: Command xcodebuild failed with exit code 65.

(I've anonymized the output)

I have the entire trace log output if anyone needs it.

Not sure if the error could be related to having the xcode update run in the background, while xcodebuild being used from the commandline. I've tried doing a tns update, but it didn't fix the issue.

Which platform(s) does your issue occur on?

MacOS 10.13.6 (High Sierra)

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

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

Not sure how to recreate if it doesn't fail on a fresh upgrade of xcode 10 in your end.

larssn commented 5 years ago

Seems to be related to the new build system in Xcode 10. A temporary workaround seems to be switching to the legacy build system by going to (in Xcode) File -> Workspace Settings -> Build System -> Legacy Build System. But compiling with the CLI still doesnt work.

mbektchiev commented 5 years ago

Hi @larssn, looking at this error I can see that there are multiple TNSCore.frameworks in you node_modules directory:

error: Multiple commands produce '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework/TNSCore':
1) Target 'ourApp' has copy command from './node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework'
2) Target 'ourApp' has copy command from './node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework'

Probably this is due to the fact that you have different major versions for ListView and SideDrawer:

    "nativescript-ui-listview": "^3.6.1",
    "nativescript-ui-sidedrawer": "~4.2.0"

I suppose that upgrading ListView will fix the error.

mbektchiev commented 5 years ago

It seems that I spoke too fast -- ListView is already the latest but SideDrawer is not. I suggest you upgrade it as well.

mbektchiev commented 5 years ago

Yes, that fixes it. I managed to reproduce the error with your versions, and it got fixed after upgrading. It seems that the old build system has tolerated this inconsistency and has silently selected one of the 2 frameworks, while the new one is stricter and treats this as an error.

larssn commented 5 years ago

Thanks for the snappy response.

While you are correct that the dependency was behind, even bringing it up to v4.3.0 (using tns plugin update didn't fix the issue. Also updated tns-core-modules from 4.2.0 to 4.2.1. Getting the same errors.

I suspected nativescript-ui-core but doing a npm list nativescript-ui-core doesn't show any version mismatches:

./ourApp
├─┬ nativescript-ui-listview@3.6.1
│ └── nativescript-ui-core@2.0.0 
└─┬ nativescript-ui-sidedrawer@4.3.0
  └── nativescript-ui-core@2.0.0 

Will continue investigating...

mbektchiev commented 5 years ago

I would suggest that you wipe the node_modules directories altogether. Or at least the two nativescript-ui-core dirs. This will make npm install the plugin only once.

The failure continues to occur because you still have two occurrences of the frameworks.

Another alternative is to try and run npm dedupe

larssn commented 5 years ago

Same issue Have tried various combinations of rm -rf node_modules / npm i and tns update.

The resulting node_modules folder always seem to have a slightly wrong structure. Again, doing an npm list nativescript-ui-core reveals:

./ourApp/
├─┬ nativescript-ui-listview@3.6.1
│ └── nativescript-ui-core@2.0.0 
└─┬ nativescript-ui-sidedrawer@4.3.0
  └── nativescript-ui-core@2.0.0

So far so good, only one version of nativescript-ui-core. But when I inspect the folders, they look as following:

./node_modules/nativescript-ui-core
./node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core
./node_modules/nativescript-ui-sidedrawer

So nativescript-ui-listview has it's own node_modules folder, while nativescript-ui-sidedrawer does not, and instead seems to rely on the root level.

Any ideas as to why this happens?

mbektchiev commented 5 years ago

Do you have a package-lock.json? It could be forcing NPM to duplicate the module. Simply delete it if it exists.

larssn commented 5 years ago

nativescript-ui-listview seems to have just been updated to 3.7.0. That, combined with deleting package-lock.json seems to have corrected the node_modules pathing problem, BUT the problem still remains.

error: unexpected duplicate task: CodeSign /Users/<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework (in target 'ourApp')
error: unexpected duplicate task: CodeSign /Users/<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework (in target 'ourApp')

error: Multiple commands produce '/Users/<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework':
1) Target 'ourApp' has copy command from './ourApp/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework'
2) Target 'ourApp' has copy command from './ourApp/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/<my-user>/Library/Developer/Xcode/DerivedData/ourApp-axpwxekjlqemgxhcqrekmksxyout/Build/Intermediates.noindex/ArchiveIntermediates/ourApp/InstallationBuildProductsLocation/Applications/ourApp.app/Frameworks/TNSCore.framework'

As you can see from the above, it's still copying data from two places. Or so it thinks! I've verified that the node_modules folder is gone from nativescript-ui-listview, and just to be sure, I've done a cd /Users/<my-user>/workspace/<my-company>/<our-app>/node_modules/nativescript-ui-listview/node_modules and the path does not exist anymore.

So I figure it was cached somehow with some kind of tns magic, so I tried removing the related directories from /Users/<my-user>/Library/Developer/Xcode/DerivedData/, but that didn't work either.

Second idea was that even though the files doesn't exist, Xcode will deny any attempt to copy the same framework file? Not sure how to solve that one, if that is the case. I'm new with NativeScript, and I don't know that much yet.

rosen-vladimirov commented 5 years ago

Hey @larssn , Have you tried removing your platforms directory and building your project again (after fixing the package-lock.json issue) ?

larssn commented 5 years ago

@rosen-vladimirov It was my impression that tns update did that? I have some custom facebook/google configuration each in platform, that I was hoping to keep. It's no biggy if I lose it though.

larssn commented 5 years ago

No wait, I was thinking about App_Resources. I'll try deleting the platforms.

larssn commented 5 years ago

😂 It works! Deleting the platforms folder did the trick. Thank you so much guys, for your good ideas. I'd still be fiddling with this otherwise.

Out of curiosity, is there any recommendation on how to manage your dependencies in NS, so stuff like this doesn't happen again? npm will usually add install modules with the caret (minor) ^, while creating a new project will default to tilde (patch) versions ~. I'm thinking that's how the two plugins got out of sync.

hettiger commented 5 years ago

Please reopen the issue @larssn

I found a solution, see the bottom of this comment.

I'm having the same problem described here.

I did execute the following commands:

rm -rf node_modules
rm -rf platforms
rm package-lock.json
npm i
pod repo update
tns run ios

I'm still facing the issue. I will try switching to the Legacy Build System now.

Here's the (anonymized) build system log:

Xcode build...
error: unexpected duplicate task: CodeSign /path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework (in target 'MyApp')
error: unexpected duplicate task: CodeSign /path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework (in target 'MyApp')
error: Multiple commands produce '/path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework':
1) Target 'MyApp' has copy command from '/path/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework'
2) Target 'MyApp' has copy command from '/path/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework'
error: Multiple commands produce '/path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework/TNSCore':
1) Target 'MyApp' has copy command from '/path/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework'
2) Target 'MyApp' has copy command from '/path/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework'
warning: duplicate output file '/path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework' on task: PBXCp /path/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework (in target 'MyApp')
warning: duplicate output file '/path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework/TNSCore' on task: PBXCp /path/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework (in target 'MyApp')
warning: duplicate output file '' on task: PBXCp /path/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework (in target 'MyApp')
note: Using new build systemnote: Planning buildnote: Constructing build description
** BUILD FAILED **

Dependencies:

"dependencies": {
    "@angular/animations": "~6.1.0",
    "@angular/common": "~6.1.0",
    "@angular/compiler": "~6.1.0",
    "@angular/core": "~6.1.0",
    "@angular/forms": "~6.1.0",
    "@angular/http": "~6.1.0",
    "@angular/platform-browser": "~6.1.0",
    "@angular/platform-browser-dynamic": "~6.1.0",
    "@angular/router": "~6.1.0",
    "@ngrx/effects": "^6.1.0",
    "@ngrx/store": "^6.1.0",
    "nativescript-angular": "^6.1.0",
    "nativescript-feedback": "^1.2.0",
    "nativescript-imagepicker": "~5.0.0",
    "nativescript-loading-indicator": "^2.4.0",
    "nativescript-localize": "^3.0.5",
    "nativescript-localstorage": "^1.1.5",
    "nativescript-plugin-firebase": "^6.4.1",
    "nativescript-theme-core": "~1.0.4",
    "nativescript-tslib": "^1.9.1-r1",
    "nativescript-ui-listview": "^3.7.0",
    "ngrx-store-localstorage": "^5.0.1",
    "ngrx-store-logger": "^0.2.2",
    "reflect-metadata": "~0.1.10",
    "rxjs": "^6.0.0",
    "tns-core-modules": "^4.2.1",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~6.1.0",
    "@ngtools/webpack": "~6.2.0",
    "codelyzer": "~4.3.0",
    "nativescript-dev-sass": "~1.6.0",
    "nativescript-dev-typescript": "^0.7.4",
    "nativescript-dev-webpack": "^0.16.1",
    "tns-platform-declarations": "^4.2.0",
    "tslint": "~5.10.0",
    "typescript": "~2.7.2"
  }

EDIT

After switching to the Legacy Build System I was not able to build successfully. I had to execute the erase all contents and settings feature from the iOS Simulator first.

Now I'm able to build using Xcode directly. tns run ios still fails with the following (anonymized) output:

Xcode build...
=== BUILD TARGET MyApp OF PROJECT MyApp WITH CONFIGURATION Debug ===
Warning: Multiple build commands for output file /path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework
=== BUILD TARGET MyApp OF PROJECT MyApp WITH CONFIGURATION Debug ===
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/UIKit-1V5UHAPTOD24G.pcm
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Darwin-38I6DLZ5IH61J.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Foundation-3DFYNEBRQSXST.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Dispatch-2LX9MWM6UEPQW.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Dispatch-2LX9MWM6UEPQW.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/ObjectiveC-1R06XOY9T4FIM.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/ObjectiveC-1R06XOY9T4FIM.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/UIKit-1V5UHAPTOD24G.pcm
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Darwin-38I6DLZ5IH61J.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Foundation-3DFYNEBRQSXST.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Dispatch-2LX9MWM6UEPQW.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Dispatch-2LX9MWM6UEPQW.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/ObjectiveC-1R06XOY9T4FIM.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/ObjectiveC-1R06XOY9T4FIM.pcm
error: make directory /path/platforms/ios/build/emulator/MyApp.app/Frameworks/TNSCore.framework: File exists
2018-09-23 06:05:27.628 xcodebuild[7528:129524]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-14306.16/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/Runtime/PBXTargetBuildContext.mm:757
Details:  unexpected successful exit code from cancelled command <C0029:'PBXCp TNSListView.framework':P16>
Object:   <PBXTargetBuildContext: 0x7fa3974e7b50>
Method:   -createCommandInvocationRecordFromInvocation:
Thread:   <NSThread: 0x7fa397b9f330>{number = 10, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **

Here's my tns doctor output:

✔ Getting environment information 

No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Getting NativeScript components versions information...
✔ Component nativescript has 4.2.4 version and is up to date.
✔ Component tns-core-modules has 4.2.1 version and is up to date.
✖ Component tns-android is not installed.
✔ Component tns-ios has 4.2.0 version and is up to date.

Solution:

I've managed to find the root of all evil:

npm list nativescript-ui-core
├─┬ nativescript-imagepicker@5.0.2
│ └── nativescript-ui-core@1.0.1 
└─┬ nativescript-ui-listview@3.7.0
  └── nativescript-ui-core@2.0.0 

Fix:

tns plugin update nativescript-imagepicker
npm dedupe

Now everything's working like a charm. Even with the new build system.

larssn commented 5 years ago

Not sure if this is going to be a general problem in the ecosystem, so I've reopened it.

nuno-morais commented 5 years ago

I have the same issue here.

mbektchiev commented 5 years ago

@xnramx, did you try to deduplicate any plugins that might have appeared more than once under node_modules?

Can you send us the output of npm ls so that we can help you with your project?

peppeg85 commented 5 years ago

hello, i have the same issue, with these errors:what i could try to solve it? in my case the duplicated tasks are for TNSCalendar.framework and tnscore.framework, depending from nativescript-pro-ui and nativescript ui-core. i tried with npm deduper, but it answers with up to date.... here is the list of errors:

Xcode build...
error: unexpected duplicate task: CodeSign /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework (in target 'appname')
error: unexpected duplicate task: CodeSign /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework (in target 'appname')
error: unexpected duplicate task: CodeSign /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
error: unexpected duplicate task: CodeSign /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
error: Multiple commands produce '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework/TNSCore':
1) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-pro-ui/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
2) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
error: Multiple commands produce '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework/TNSCalendar':
1) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-pro-ui/platforms/ios/TNSCalendar.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework'
2) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-calendar/platforms/ios/TNSCalendar.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework'
error: Multiple commands produce '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework':
1) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-pro-ui/platforms/ios/TNSCalendar.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework'
2) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-calendar/platforms/ios/TNSCalendar.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework'
error: Multiple commands produce '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework':
1) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-pro-ui/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
2) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
warning: Capabilities for appname may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the build settings editor. (in target 'appname')
warning: duplicate output file '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-calendar/platforms/ios/TNSCalendar.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework (in target 'appname')
warning: duplicate output file '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework/TNSCalendar' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-calendar/platforms/ios/TNSCalendar.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework (in target 'appname')
warning: duplicate output file '' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-calendar/platforms/ios/TNSCalendar.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCalendar.framework (in target 'appname')
warning: duplicate output file '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
warning: duplicate output file '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework/TNSCore' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
warning: duplicate output file '' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
note: Using new build systemnote: Planning buildnote: Constructing build description
** BUILD FAILED **

Unable to apply changes on device: 5E60EAED-CD38-4D00-B4C8-CD78379E326B. Error is: Command xcodebuild failed with exit code 65.

thank you

mbektchiev commented 5 years ago

@peppeg85, can you send us the output of npm ls?

peppeg85 commented 5 years ago

sure:

├── @nota/nativescript-webview-ext@0.4.3
├─┬ babel-traverse@6.4.5
│ ├─┬ babel-code-frame@6.26.0
│ │ ├─┬ chalk@1.1.3
│ │ │ ├── ansi-styles@2.2.1
│ │ │ ├── escape-string-regexp@1.0.5
│ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ └── ansi-regex@2.1.1
│ │ │ ├─┬ strip-ansi@3.0.1
│ │ │ │ └── ansi-regex@2.1.1 deduped
│ │ │ └── supports-color@2.0.0
│ │ ├── esutils@2.0.2 deduped
│ │ └── js-tokens@3.0.2
│ ├─┬ babel-messages@6.23.0
│ │ └─┬ babel-runtime@6.26.0
│ │   ├── core-js@2.5.3
│ │   └── regenerator-runtime@0.11.1
│ ├─┬ babel-runtime@5.8.38
│ │ └── core-js@1.2.7
│ ├── babel-types@6.4.5 deduped
│ ├── babylon@6.4.5 deduped
│ ├─┬ debug@2.6.9
│ │ └── ms@2.0.0
│ ├── globals@8.18.0
│ ├─┬ invariant@2.2.3
│ │ └─┬ loose-envify@1.3.1
│ │   └── js-tokens@3.0.2 deduped
│ ├── lodash@3.10.1
│ └─┬ repeating@1.1.3
│   └─┬ is-finite@1.0.2
│     └── number-is-nan@1.0.1
├─┬ babel-types@6.4.5
│ ├── babel-runtime@5.8.38 deduped
│ ├── babel-traverse@6.4.5 deduped
│ ├── esutils@2.0.2
│ ├── lodash@3.10.1 deduped
│ └── to-fast-properties@1.0.3
├─┬ babylon@6.4.5
│ └── babel-runtime@5.8.38 deduped
├── html-entities@1.2.1
├── lazy@1.0.11
├── moment@2.22.1
├── nativescript-cardview@2.0.5
├── nativescript-dom@2.0.0
├── nativescript-exoplayer@3.4.1
├── nativescript-floatingactionbutton@4.1.3
├── nativescript-fonticon@1.1.1
├─┬ nativescript-geolocation@4.2.6
│ └── nativescript-permissions@1.2.3
├── nativescript-google-maps-sdk@2.5.0
├── nativescript-loading-indicator@2.4.0
├── nativescript-pro-ui@3.4.1
├── nativescript-screen-orientation@2.0.0
├── nativescript-theme-core@1.0.4
├─┬ nativescript-ui-calendar@3.5.2
│ └── nativescript-ui-core@1.0.0
├── nativescript-webview-interface@1.4.2
├── randomcolor@0.5.3
└─┬ tns-core-modules@3.4.0
  └── tns-core-modules-widgets@3.4.0

thank you

mbektchiev commented 5 years ago

@peppeg85 I found out the problem. The nativescript-pro-ui plugin has been deprecated and its incompatible with the new Telerik UI plugins (nativescript-ui-calendar in your case). You can read this article for guidelines about how to migrate your project: http://docs.telerik.com/devtools/nativescript-ui/migration.

peppeg85 commented 5 years ago

hi, thanks for your answer, but it donesn't work:

Building project...
Xcode build...
error: unexpected duplicate task: CodeSign /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
error: unexpected duplicate task: CodeSign /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
error: unexpected duplicate task: CodeSign /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
error: unexpected duplicate task: CodeSign /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
error: Multiple commands produce '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework':
1) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
2) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-gauge/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
3) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
4) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-sidedrawer/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
error: Multiple commands produce '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework/TNSCore':
1) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
2) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-gauge/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
3) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
4) Target 'appname' has copy command from '/Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-sidedrawer/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework'
warning: Capabilities for appname may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the build settings editor. (in target 'appname')
warning: duplicate output file '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-gauge/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
warning: duplicate output file '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework/TNSCore' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-gauge/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
warning: duplicate output file '' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-gauge/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
warning: duplicate output file '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
warning: duplicate output file '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework/TNSCore' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
warning: duplicate output file '' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
warning: duplicate output file '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-sidedrawer/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
warning: duplicate output file '/Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework/TNSCore' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-sidedrawer/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
warning: duplicate output file '' on task: PBXCp /Users/mac/WebstormProjects/appname/node_modules/nativescript-ui-sidedrawer/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/mac/WebstormProjects/appname/platforms/ios/build/emulator/appname.app/Frameworks/TNSCore.framework (in target 'appname')
note: Using new build systemnote: Planning buildnote: Constructing build description
** BUILD FAILED **

Unable to apply changes on device: 5E60EAED-CD38-4D00-B4C8-CD78379E326B. Error is: Command xcodebuild failed with exit code 65.

├── @nota/nativescript-webview-ext@0.4.3
├─┬ babel-traverse@6.4.5
│ ├─┬ babel-code-frame@6.26.0
│ │ ├─┬ chalk@1.1.3
│ │ │ ├── ansi-styles@2.2.1
│ │ │ ├── escape-string-regexp@1.0.5
│ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ └── ansi-regex@2.1.1
│ │ │ ├─┬ strip-ansi@3.0.1
│ │ │ │ └── ansi-regex@2.1.1 deduped
│ │ │ └── supports-color@2.0.0
│ │ ├── esutils@2.0.2 deduped
│ │ └── js-tokens@3.0.2
│ ├─┬ babel-messages@6.23.0
│ │ └─┬ babel-runtime@6.26.0
│ │   ├── core-js@2.5.3
│ │   └── regenerator-runtime@0.11.1
│ ├─┬ babel-runtime@5.8.38
│ │ └── core-js@1.2.7
│ ├── babel-types@6.4.5 deduped
│ ├── babylon@6.4.5 deduped
│ ├─┬ debug@2.6.9
│ │ └── ms@2.0.0
│ ├── globals@8.18.0
│ ├─┬ invariant@2.2.3
│ │ └─┬ loose-envify@1.3.1
│ │   └── js-tokens@3.0.2 deduped
│ ├── lodash@3.10.1
│ └─┬ repeating@1.1.3
│   └─┬ is-finite@1.0.2
│     └── number-is-nan@1.0.1
├─┬ babel-types@6.4.5
│ ├── babel-runtime@5.8.38 deduped
│ ├── babel-traverse@6.4.5 deduped
│ ├── esutils@2.0.2
│ ├── lodash@3.10.1 deduped
│ └── to-fast-properties@1.0.3
├─┬ babylon@6.4.5
│ └── babel-runtime@5.8.38 deduped
├── html-entities@1.2.1
├── lazy@1.0.11
├── moment@2.22.1
├── nativescript-cardview@2.0.5
├── nativescript-dom@2.0.0
├── nativescript-exoplayer@3.4.1
├── nativescript-floatingactionbutton@4.1.3
├── nativescript-fonticon@1.1.1
├─┬ nativescript-geolocation@4.2.6
│ └── nativescript-permissions@1.2.3
├── nativescript-google-maps-sdk@2.5.0
├── nativescript-loading-indicator@2.4.0
├── nativescript-screen-orientation@2.0.0
├── nativescript-theme-core@1.0.4
├─┬ nativescript-ui-calendar@3.5.2
│ └── nativescript-ui-core@1.0.0
├─┬ nativescript-ui-gauge@3.7.1
│ └── nativescript-ui-core@2.0.0
├─┬ nativescript-ui-listview@3.7.0
│ └── nativescript-ui-core@2.0.0
├─┬ nativescript-ui-sidedrawer@4.3.0
│ └── nativescript-ui-core@2.0.0
├── nativescript-webview-interface@1.4.2
├── randomcolor@0.5.3
└─┬ tns-core-modules@3.4.0
  └── tns-core-modules-widgets@3.4.0
mbektchiev commented 5 years ago

You'll have to upgrade nativescript-ui-calendar as it uses an older version of nativescript-ui-core. After you do it, you may need to delete node_modules or execute npm dedupe, because I can see that you still have many occurrences of nativescript-ui-core in the directory tree

├─┬ nativescript-ui-calendar@3.5.2
│ └── nativescript-ui-core@1.0.0
├─┬ nativescript-ui-gauge@3.7.1
│ └── nativescript-ui-core@2.0.0
peppeg85 commented 5 years ago

hello, i've updated everything and now the build is ok...but the app crashes after the splashscreen...

peppeg85 commented 5 years ago

in the build i have this error:


error: the following command failed with exit code 0 but produced no further output
Ld /Users/mac/Library/Developer/Xcode/DerivedData/appname-crqbudvtguybzbcbtvxssrrpwiqq/Build/Intermediates.noindex/appname.build/Debug-iphonesimulator/appname.build/Objects-normal/i386/appname normal i386
ignaciofuentes commented 5 years ago

I am having a similar issue with Xcode 10.

As soon as I add the google maps plugin the app fails to build. Switching to legacy build, as @larssn suggested fixes this problem.

Please see:

https://www.screencast.com/t/z4Mo73HihZre

mbektchiev commented 5 years ago

@peppeg85 Can you send us more information about the crash? Some device logs for example and what kind of crash it is (e.g. Unhandled exception, signal, Access violation). You can refer to this docs section for guidelines how to obtain diagnostic logs from the device if tns run's output seems to be incomplete for some reason.

@ignaciofuentes We couldn't reproduce the error that you see. Can you tell us the exact version strings of CocoaPods and Xcode on your machine? You can send us the outputs of pod --version, xcodebuild -version commands. It seems that the cause is the plugin's CocoaPod reference. With the latest versions (Xcode 10.0 Build version 10A255 and CocoaPods - 1.5.3) there's no such error.

larssn commented 5 years ago

I am having a similar issue with Xcode 10.

As soon as I add the google maps plugin the app fails to build. Switching to legacy build, as @larssn suggested fixes this problem.

Please see:

https://www.screencast.com/t/z4Mo73HihZre

Have you tried:

rm -rf node_modules
rm -rf platforms
rm package-lock.json
<bring all nativescript packages up to date in package.json>
npm i
tns run

Basically that sequence fixed my issues.

ignaciofuentes commented 5 years ago

@mbektchiev that was it! Cocoapods version was 1.3.1. After upgrading to 1.5.3 all is back to normal

felipebueno commented 5 years ago

Hey, I just updated to XCode 10 and got the same errors :(

Xcode build...
2018-10-01 11:35:58.654 xcodebuild[96050:1567691]  DTDeviceKit: deviceType from 53b12119d92f761e03d6cbcdb333c65ea6dec299 was NULL
error: unexpected duplicate task: CodeSign /Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework (in target 'emulzintmobile')
error: unexpected duplicate task: CodeSign /Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework (in target 'emulzintmobile')
error: Multiple commands produce '/Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework/TNSCore':
1) Target 'emulzintmobile' has copy command from '/Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework'
2) Target 'emulzintmobile' has copy command from '/Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework'
error: Multiple commands produce '/Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework':
1) Target 'emulzintmobile' has copy command from '/Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework'
2) Target 'emulzintmobile' has copy command from '/Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework'
warning: duplicate output file '/Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework' on task: PBXCp /Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework (in target 'emulzintmobile')
warning: duplicate output file '/Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework/TNSCore' on task: PBXCp /Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework (in target 'emulzintmobile')
warning: duplicate output file '' on task: PBXCp /Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/felipe/Library/Developer/Xcode/DerivedData/emulzintmobile-cpdlmrxkbrwybyabobbjzobkdccm/Build/Intermediates.noindex/ArchiveIntermediates/emulzintmobile/InstallationBuildProductsLocation/Applications/emulzintmobile.app/Frameworks/TNSCore.framework (in target 'emulzintmobile')
note: Using new build systemnote: Planning buildnote: Constructing build description
** ARCHIVE FAILED **
➜  emulzint-mobile git:(master) ✗ tns --version
4.2.4

➜  emulzint-mobile git:(master) ✗ pod --version
1.5.3
{
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "readme": "NativeScript Application",
  "repository": "<fill-your-repository-here>",
  "nativescript": {
    "id": "br.com.innovareti.ooo",
    "tns-android": {
      "version": "4.2.0"
    },
    "tns-ios": {
      "version": "4.2.0"
    }
  },
  "scripts": {
    "lint": "tslint \"app/**/*.ts\""
  },
  "dependencies": {
    "@nstudio/nativescript-camera-plus": "^1.0.6",
    "email-validator": "^2.0.4",
    "nativescript-bitmap-factory": "^1.7.1",
    "nativescript-checkbox": "^3.0.3",
    "nativescript-couchbase": "^1.0.18",
    "nativescript-downloadmanager": "^0.1.0",
    "nativescript-drop-down": "^4.0.1",
    "nativescript-filterable-listpicker": "git+ssh://git@gitlab.com/innovareti/nativescript-filterable-listpicker.git",
    "nativescript-fresco": "^5.0.0",
    "nativescript-imagepicker": "^5.0.2",
    "nativescript-intl": "^3.0.0",
    "nativescript-iqkeyboardmanager": "^1.3.0",
    "nativescript-loading-indicator": "^2.4.0",
    "nativescript-modal-datetimepicker": "^1.1.7",
    "nativescript-pdf-view": "^2.0.1",
    "nativescript-phone": "^1.3.1",
    "nativescript-plugin-firebase": "7.1.1",
    "nativescript-share-file": "^1.0.4",
    "nativescript-slides": "^2.2.14",
    "nativescript-social-share": "^1.5.1",
    "nativescript-theme-core": "~1.0.4",
    "nativescript-ui-listview": "^3.7.0",
    "nativescript-youtubeplayer": "^3.0.1",
    "rxjs": "^5.5.6",
    "tns-core-modules": "^4.2.1"
  },
  "devDependencies": {
    "awesome-typescript-loader": "~3.1.3",
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "clean-webpack-plugin": "~0.1.19",
    "copy-webpack-plugin": "~4.3.0",
    "css-loader": "^0.28.11",
    "extract-text-webpack-plugin": "~3.0.2",
    "lazy": "1.0.11",
    "nativescript-dev-sass": "1.6.0",
    "nativescript-dev-typescript": "~0.7.3",
    "nativescript-dev-webpack": "~0.10.0",
    "nativescript-worker-loader": "~0.8.1",
    "raw-loader": "~0.5.1",
    "resolve-url-loader": "~2.2.1",
    "sass-loader": "~6.0.6",
    "tns-platform-declarations": "^4.2.0",
    "tslint": "^5.11.0",
    "typescript": "~2.7.2",
    "uglifyjs-webpack-plugin": "~1.1.6",
    "webpack": "~3.10.0",
    "webpack-bundle-analyzer": "^2.13.1",
    "webpack-sources": "~1.1.0"
  }
}

I tried almost all the workarounds proposed in this issue with no success. I didn't try switching to legacy build yet... I'm going to try it now.

Any ideas?

mbektchiev commented 5 years ago

@felipebueno For some reason you have nativescript-ui-core twice in you node_modules directory -- once at the root level and once under nativescript-ui-listview. You should either run npm dedupe or remove node_modules and perform a clean npm install.

If this doesn't help, review the output of npm ls and see what may be causing the duplication. You can then send it to us if you still need help with this.

felipebueno commented 5 years ago

Hi, @mbektchiev! Thanks for the quick reply!

I tried both solutions but it didn't work. I have no idea why nativescript-ui-core is duplicated.

➜  emulzint-mobile git:(master) ✗ find . -name 'nativescript-ui-core'
./node_modules/nativescript-ui-core
./node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core
➜  emulzint-mobile git:(master) ✗ npm ls
/Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile
├── @nstudio/nativescript-camera-plus@1.0.6
├─┬ awesome-typescript-loader@3.1.3
│ ├── colors@1.3.2
│ ├─┬ enhanced-resolve@3.4.1
│ │ ├── graceful-fs@4.1.11
│ │ ├── memory-fs@0.4.1 deduped
│ │ ├── object-assign@4.1.1 deduped
│ │ └── tapable@0.2.8 deduped
│ ├─┬ loader-utils@1.1.0
│ │ ├── big.js@3.2.0
│ │ ├── emojis-list@2.1.0
│ │ └── json5@0.5.1 deduped
│ ├── lodash@4.17.11
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├── object-assign@4.1.1
│ └─┬ source-map-support@0.4.18
│   └── source-map@0.5.7 deduped
├─┬ babel-traverse@6.26.0
│ ├─┬ babel-code-frame@6.26.0
│ │ ├─┬ chalk@1.1.3
│ │ │ ├── ansi-styles@2.2.1
│ │ │ ├── escape-string-regexp@1.0.5 deduped
│ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ └── ansi-regex@2.1.1
│ │ │ ├─┬ strip-ansi@3.0.1
│ │ │ │ └── ansi-regex@2.1.1 deduped
│ │ │ └── supports-color@2.0.0
│ │ ├── esutils@2.0.2 deduped
│ │ └── js-tokens@3.0.2
│ ├─┬ babel-messages@6.23.0
│ │ └── babel-runtime@6.26.0 deduped
│ ├─┬ babel-runtime@6.26.0
│ │ ├── core-js@2.5.7
│ │ └── regenerator-runtime@0.11.1
│ ├── babel-types@6.26.0 deduped
│ ├── babylon@6.18.0 deduped
│ ├─┬ debug@2.6.9
│ │ └── ms@2.0.0
│ ├── globals@9.18.0
│ ├─┬ invariant@2.2.4
│ │ └─┬ loose-envify@1.4.0
│ │   └── js-tokens@3.0.2 deduped
│ └── lodash@4.17.11 deduped
├─┬ babel-types@6.26.0
│ ├── babel-runtime@6.26.0 deduped
│ ├── esutils@2.0.2
│ ├── lodash@4.17.11 deduped
│ └── to-fast-properties@1.0.3
├── babylon@6.18.0
├─┬ clean-webpack-plugin@0.1.19
│ └─┬ rimraf@2.6.2
│   └─┬ glob@7.1.3
│     ├── fs.realpath@1.0.0 deduped
│     ├── inflight@1.0.6 deduped
│     ├── inherits@2.0.3 deduped
│     ├── minimatch@3.0.4 deduped
│     ├── once@1.4.0 deduped
│     └── path-is-absolute@1.0.1 deduped
├─┬ copy-webpack-plugin@4.3.1
│ ├─┬ cacache@10.0.4
│ │ ├── bluebird@3.5.2 deduped
│ │ ├── chownr@1.1.1
│ │ ├─┬ glob@7.1.3
│ │ │ ├── fs.realpath@1.0.0 deduped
│ │ │ ├── inflight@1.0.6 deduped
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ ├── minimatch@3.0.4 deduped
│ │ │ ├── once@1.4.0 deduped
│ │ │ └── path-is-absolute@1.0.1 deduped
│ │ ├── graceful-fs@4.1.11 deduped
│ │ ├─┬ lru-cache@4.1.3
│ │ │ ├── pseudomap@1.0.2
│ │ │ └── yallist@2.1.2
│ │ ├─┬ mississippi@2.0.0
│ │ │ ├─┬ concat-stream@1.6.2
│ │ │ │ ├── buffer-from@1.1.1
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ ├── readable-stream@2.3.6 deduped
│ │ │ │ └── typedarray@0.0.6
│ │ │ ├─┬ duplexify@3.6.0
│ │ │ │ ├── end-of-stream@1.4.1 deduped
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ ├── readable-stream@2.3.6 deduped
│ │ │ │ └── stream-shift@1.0.0
│ │ │ ├─┬ end-of-stream@1.4.1
│ │ │ │ └── once@1.4.0 deduped
│ │ │ ├─┬ flush-write-stream@1.0.3
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ └── readable-stream@2.3.6 deduped
│ │ │ ├─┬ from2@2.3.0
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ └── readable-stream@2.3.6 deduped
│ │ │ ├─┬ parallel-transform@1.1.0
│ │ │ │ ├── cyclist@0.2.2
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ └── readable-stream@2.3.6 deduped
│ │ │ ├─┬ pump@2.0.1
│ │ │ │ ├── end-of-stream@1.4.1 deduped
│ │ │ │ └── once@1.4.0 deduped
│ │ │ ├─┬ pumpify@1.5.1
│ │ │ │ ├── duplexify@3.6.0 deduped
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ └── pump@2.0.1 deduped
│ │ │ ├─┬ stream-each@1.2.3
│ │ │ │ ├── end-of-stream@1.4.1 deduped
│ │ │ │ └── stream-shift@1.0.0 deduped
│ │ │ └─┬ through2@2.0.3
│ │ │   ├── readable-stream@2.3.6 deduped
│ │ │   └── xtend@4.0.1 deduped
│ │ ├── mkdirp@0.5.1 deduped
│ │ ├─┬ move-concurrently@1.0.1
│ │ │ ├── aproba@1.2.0
│ │ │ ├─┬ copy-concurrently@1.0.5
│ │ │ │ ├── aproba@1.2.0 deduped
│ │ │ │ ├── fs-write-stream-atomic@1.0.10 deduped
│ │ │ │ ├── iferr@0.1.5
│ │ │ │ ├── mkdirp@0.5.1 deduped
│ │ │ │ ├── rimraf@2.6.2 deduped
│ │ │ │ └── run-queue@1.0.3 deduped
│ │ │ ├─┬ fs-write-stream-atomic@1.0.10
│ │ │ │ ├── graceful-fs@4.1.11 deduped
│ │ │ │ ├── iferr@0.1.5 deduped
│ │ │ │ ├── imurmurhash@0.1.4
│ │ │ │ └── readable-stream@2.3.6 deduped
│ │ │ ├── mkdirp@0.5.1 deduped
│ │ │ ├── rimraf@2.6.2 deduped
│ │ │ └─┬ run-queue@1.0.3
│ │ │   └── aproba@1.2.0 deduped
│ │ ├── promise-inflight@1.0.1
│ │ ├── rimraf@2.6.2 deduped
│ │ ├─┬ ssri@5.3.0
│ │ │ └── safe-buffer@5.1.2 deduped
│ │ ├─┬ unique-filename@1.1.1
│ │ │ └─┬ unique-slug@2.0.1
│ │ │   └── imurmurhash@0.1.4 deduped
│ │ └── y18n@4.0.0
│ ├─┬ find-cache-dir@1.0.0
│ │ ├── commondir@1.0.1
│ │ ├─┬ make-dir@1.3.0
│ │ │ └── pify@3.0.0 deduped
│ │ └─┬ pkg-dir@2.0.0
│ │   └─┬ find-up@2.1.0
│ │     └─┬ locate-path@2.0.0
│ │       ├─┬ p-locate@2.0.0
│ │       │ └── p-limit@1.3.0 deduped
│ │       └── path-exists@3.0.0
│ ├─┬ globby@7.1.1
│ │ ├─┬ array-union@1.0.2
│ │ │ └── array-uniq@1.0.3
│ │ ├─┬ dir-glob@2.0.0
│ │ │ ├── arrify@1.0.1
│ │ │ └─┬ path-type@3.0.0
│ │ │   └── pify@3.0.0 deduped
│ │ ├─┬ glob@7.1.3
│ │ │ ├── fs.realpath@1.0.0 deduped
│ │ │ ├── inflight@1.0.6 deduped
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ ├── minimatch@3.0.4 deduped
│ │ │ ├── once@1.4.0 deduped
│ │ │ └── path-is-absolute@1.0.1 deduped
│ │ ├── ignore@3.3.10
│ │ ├── pify@3.0.0 deduped
│ │ └── slash@1.0.0
│ ├─┬ is-glob@4.0.0
│ │ └── is-extglob@2.1.1
│ ├─┬ loader-utils@0.2.17
│ │ ├── big.js@3.2.0 deduped
│ │ ├── emojis-list@2.1.0 deduped
│ │ ├── json5@0.5.1 deduped
│ │ └── object-assign@4.1.1 deduped
│ ├── lodash@4.17.11 deduped
│ ├─┬ minimatch@3.0.4
│ │ └─┬ brace-expansion@1.1.11
│ │   ├── balanced-match@1.0.0
│ │   └── concat-map@0.0.1
│ ├─┬ p-limit@1.3.0
│ │ └── p-try@1.0.0
│ ├── pify@3.0.0
│ └── serialize-javascript@1.5.0
├─┬ css-loader@0.28.11
│ ├── babel-code-frame@6.26.0 deduped
│ ├─┬ css-selector-tokenizer@0.7.0
│ │ ├── cssesc@0.1.0
│ │ ├── fastparse@1.1.1
│ │ └─┬ regexpu-core@1.0.0
│ │   ├── regenerate@1.4.0
│ │   ├── regjsgen@0.2.0
│ │   └─┬ regjsparser@0.1.5
│ │     └── jsesc@0.5.0
│ ├─┬ cssnano@3.10.0
│ │ ├─┬ autoprefixer@6.7.7
│ │ │ ├─┬ browserslist@1.7.7
│ │ │ │ ├── caniuse-db@1.0.30000888 deduped
│ │ │ │ └── electron-to-chromium@1.3.72
│ │ │ ├── caniuse-db@1.0.30000888
│ │ │ ├── normalize-range@0.1.2
│ │ │ ├── num2fraction@1.2.2
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-value-parser@3.3.0 deduped
│ │ ├── decamelize@1.2.0
│ │ ├── defined@1.0.0
│ │ ├─┬ has@1.0.3
│ │ │ └── function-bind@1.1.1
│ │ ├── object-assign@4.1.1 deduped
│ │ ├── postcss@5.2.18 deduped
│ │ ├─┬ postcss-calc@5.3.1
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ ├── postcss-message-helpers@2.0.0
│ │ │ └─┬ reduce-css-calc@1.3.0
│ │ │   ├── balanced-match@0.4.2
│ │ │   ├── math-expression-evaluator@1.2.17
│ │ │   └─┬ reduce-function-call@1.0.2
│ │ │     └── balanced-match@0.4.2
│ │ ├─┬ postcss-colormin@2.2.2
│ │ │ ├─┬ colormin@1.1.2
│ │ │ │ ├─┬ color@0.11.4
│ │ │ │ │ ├── clone@1.0.4
│ │ │ │ │ ├── color-convert@1.9.3 deduped
│ │ │ │ │ └─┬ color-string@0.3.0
│ │ │ │ │   └── color-name@1.1.3 deduped
│ │ │ │ ├── css-color-names@0.0.4
│ │ │ │ └── has@1.0.3 deduped
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-value-parser@3.3.0 deduped
│ │ ├─┬ postcss-convert-values@2.6.1
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-value-parser@3.3.0 deduped
│ │ ├─┬ postcss-discard-comments@2.0.4
│ │ │ └── postcss@5.2.18 deduped
│ │ ├─┬ postcss-discard-duplicates@2.1.0
│ │ │ └── postcss@5.2.18 deduped
│ │ ├─┬ postcss-discard-empty@2.1.0
│ │ │ └── postcss@5.2.18 deduped
│ │ ├─┬ postcss-discard-overridden@0.1.1
│ │ │ └── postcss@5.2.18 deduped
│ │ ├─┬ postcss-discard-unused@2.2.3
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── uniqs@2.0.0
│ │ ├─┬ postcss-filter-plugins@2.0.3
│ │ │ └── postcss@5.2.18 deduped
│ │ ├─┬ postcss-merge-idents@2.1.7
│ │ │ ├── has@1.0.3 deduped
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-value-parser@3.3.0 deduped
│ │ ├─┬ postcss-merge-longhand@2.0.2
│ │ │ └── postcss@5.2.18 deduped
│ │ ├─┬ postcss-merge-rules@2.1.2
│ │ │ ├── browserslist@1.7.7 deduped
│ │ │ ├─┬ caniuse-api@1.6.1
│ │ │ │ ├── browserslist@1.7.7 deduped
│ │ │ │ ├── caniuse-db@1.0.30000888 deduped
│ │ │ │ ├── lodash.memoize@4.1.2
│ │ │ │ └── lodash.uniq@4.5.0
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ ├─┬ postcss-selector-parser@2.2.3
│ │ │ │ ├── flatten@1.0.2
│ │ │ │ ├── indexes-of@1.0.1
│ │ │ │ └── uniq@1.0.1
│ │ │ └── vendors@1.0.2
│ │ ├─┬ postcss-minify-font-values@1.0.5
│ │ │ ├── object-assign@4.1.1 deduped
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-value-parser@3.3.0 deduped
│ │ ├─┬ postcss-minify-gradients@1.0.5
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-value-parser@3.3.0 deduped
│ │ ├─┬ postcss-minify-params@1.2.2
│ │ │ ├── alphanum-sort@1.0.2
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ ├── postcss-value-parser@3.3.0 deduped
│ │ │ └── uniqs@2.0.0 deduped
│ │ ├─┬ postcss-minify-selectors@2.1.1
│ │ │ ├── alphanum-sort@1.0.2 deduped
│ │ │ ├── has@1.0.3 deduped
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-selector-parser@2.2.3 deduped
│ │ ├─┬ postcss-normalize-charset@1.1.1
│ │ │ └── postcss@5.2.18 deduped
│ │ ├─┬ postcss-normalize-url@3.0.8
│ │ │ ├── is-absolute-url@2.1.0
│ │ │ ├─┬ normalize-url@1.9.1
│ │ │ │ ├── object-assign@4.1.1 deduped
│ │ │ │ ├── prepend-http@1.0.4
│ │ │ │ ├─┬ query-string@4.3.4
│ │ │ │ │ ├── object-assign@4.1.1 deduped
│ │ │ │ │ └── strict-uri-encode@1.1.0
│ │ │ │ └─┬ sort-keys@1.1.2
│ │ │ │   └── is-plain-obj@1.1.0
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-value-parser@3.3.0 deduped
│ │ ├─┬ postcss-ordered-values@2.2.3
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-value-parser@3.3.0 deduped
│ │ ├─┬ postcss-reduce-idents@2.4.0
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-value-parser@3.3.0 deduped
│ │ ├─┬ postcss-reduce-initial@1.0.1
│ │ │ └── postcss@5.2.18 deduped
│ │ ├─┬ postcss-reduce-transforms@1.0.4
│ │ │ ├── has@1.0.3 deduped
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── postcss-value-parser@3.3.0 deduped
│ │ ├─┬ postcss-svgo@2.1.6
│ │ │ ├─┬ is-svg@2.1.0
│ │ │ │ └── html-comment-regex@1.1.1
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ ├── postcss-value-parser@3.3.0 deduped
│ │ │ └─┬ svgo@0.7.2
│ │ │   ├─┬ coa@1.0.4
│ │ │   │ └── q@1.5.1
│ │ │   ├── colors@1.1.2
│ │ │   ├─┬ csso@2.3.2
│ │ │   │ ├─┬ clap@1.2.3
│ │ │   │ │ └── chalk@1.1.3 deduped
│ │ │   │ └── source-map@0.5.7 deduped
│ │ │   ├── js-yaml@3.7.0 deduped
│ │ │   ├── mkdirp@0.5.1 deduped
│ │ │   ├── sax@1.2.4
│ │ │   └── whet.extend@0.9.9
│ │ ├─┬ postcss-unique-selectors@2.0.2
│ │ │ ├── alphanum-sort@1.0.2 deduped
│ │ │ ├── postcss@5.2.18 deduped
│ │ │ └── uniqs@2.0.0 deduped
│ │ ├── postcss-value-parser@3.3.0 deduped
│ │ └─┬ postcss-zindex@2.2.0
│ │   ├── has@1.0.3 deduped
│ │   ├── postcss@5.2.18 deduped
│ │   └── uniqs@2.0.0 deduped
│ ├─┬ icss-utils@2.1.0
│ │ └─┬ postcss@6.0.23
│ │   ├─┬ chalk@2.4.1
│ │   │ ├─┬ ansi-styles@3.2.1
│ │   │ │ └── color-convert@1.9.3 deduped
│ │   │ ├── escape-string-regexp@1.0.5 deduped
│ │   │ └── supports-color@5.5.0 deduped
│ │   ├── source-map@0.6.1
│ │   └─┬ supports-color@5.5.0
│ │     └── has-flag@3.0.0
│ ├── loader-utils@1.1.0 deduped
│ ├── lodash.camelcase@4.3.0
│ ├── object-assign@4.1.1 deduped
│ ├─┬ postcss@5.2.18
│ │ ├── chalk@1.1.3 deduped
│ │ ├── js-base64@2.4.9
│ │ ├── source-map@0.5.7 deduped
│ │ └─┬ supports-color@3.2.3
│ │   └── has-flag@1.0.0
│ ├─┬ postcss-modules-extract-imports@1.2.0
│ │ └─┬ postcss@6.0.23
│ │   ├─┬ chalk@2.4.1
│ │   │ ├─┬ ansi-styles@3.2.1
│ │   │ │ └── color-convert@1.9.3 deduped
│ │   │ ├── escape-string-regexp@1.0.5 deduped
│ │   │ └── supports-color@5.5.0 deduped
│ │   ├── source-map@0.6.1
│ │   └─┬ supports-color@5.5.0
│ │     └── has-flag@3.0.0
│ ├─┬ postcss-modules-local-by-default@1.2.0
│ │ ├── css-selector-tokenizer@0.7.0 deduped
│ │ └─┬ postcss@6.0.23
│ │   ├─┬ chalk@2.4.1
│ │   │ ├─┬ ansi-styles@3.2.1
│ │   │ │ └── color-convert@1.9.3 deduped
│ │   │ ├── escape-string-regexp@1.0.5 deduped
│ │   │ └── supports-color@5.5.0 deduped
│ │   ├── source-map@0.6.1
│ │   └─┬ supports-color@5.5.0
│ │     └── has-flag@3.0.0
│ ├─┬ postcss-modules-scope@1.1.0
│ │ ├── css-selector-tokenizer@0.7.0 deduped
│ │ └─┬ postcss@6.0.23
│ │   ├─┬ chalk@2.4.1
│ │   │ ├─┬ ansi-styles@3.2.1
│ │   │ │ └── color-convert@1.9.3 deduped
│ │   │ ├── escape-string-regexp@1.0.5 deduped
│ │   │ └── supports-color@5.5.0 deduped
│ │   ├── source-map@0.6.1
│ │   └─┬ supports-color@5.5.0
│ │     └── has-flag@3.0.0
│ ├─┬ postcss-modules-values@1.3.0
│ │ ├── icss-replace-symbols@1.1.0
│ │ └─┬ postcss@6.0.23
│ │   ├─┬ chalk@2.4.1
│ │   │ ├─┬ ansi-styles@3.2.1
│ │   │ │ └── color-convert@1.9.3 deduped
│ │   │ ├── escape-string-regexp@1.0.5 deduped
│ │   │ └── supports-color@5.5.0 deduped
│ │   ├── source-map@0.6.1
│ │   └─┬ supports-color@5.5.0
│ │     └── has-flag@3.0.0
│ ├── postcss-value-parser@3.3.0
│ └── source-list-map@2.0.0
├── email-validator@2.0.4
├─┬ extract-text-webpack-plugin@3.0.2
│ ├─┬ async@2.6.1
│ │ └── lodash@4.17.11 deduped
│ ├── loader-utils@1.1.0 deduped
│ ├─┬ schema-utils@0.3.0
│ │ └── ajv@5.5.2 deduped
│ └── webpack-sources@1.1.0 deduped
├── lazy@1.0.11
├── nativescript-bitmap-factory@1.7.1
├── nativescript-checkbox@3.0.3
├── nativescript-couchbase@1.0.18
├─┬ nativescript-dev-sass@1.6.0
│ ├── bluebird@3.5.2
│ ├─┬ chokidar@2.0.2
│ │ ├─┬ anymatch@2.0.0
│ │ │ ├─┬ micromatch@3.1.10
│ │ │ │ ├── arr-diff@4.0.0
│ │ │ │ ├── array-unique@0.3.2 deduped
│ │ │ │ ├── braces@2.3.2 deduped
│ │ │ │ ├─┬ define-property@2.0.2
│ │ │ │ │ ├─┬ is-descriptor@1.0.2
│ │ │ │ │ │ ├─┬ is-accessor-descriptor@1.0.0
│ │ │ │ │ │ │ └── kind-of@6.0.2 deduped
│ │ │ │ │ │ ├─┬ is-data-descriptor@1.0.0
│ │ │ │ │ │ │ └── kind-of@6.0.2 deduped
│ │ │ │ │ │ └── kind-of@6.0.2 deduped
│ │ │ │ │ └── isobject@3.0.1 deduped
│ │ │ │ ├─┬ extend-shallow@3.0.2
│ │ │ │ │ ├── assign-symbols@1.0.0
│ │ │ │ │ └─┬ is-extendable@1.0.1
│ │ │ │ │   └── is-plain-object@2.0.4 deduped
│ │ │ │ ├─┬ extglob@2.0.4
│ │ │ │ │ ├── array-unique@0.3.2 deduped
│ │ │ │ │ ├─┬ define-property@1.0.0
│ │ │ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │ │ │   ├─┬ is-accessor-descriptor@1.0.0
│ │ │ │ │ │   │ └── kind-of@6.0.2 deduped
│ │ │ │ │ │   ├─┬ is-data-descriptor@1.0.0
│ │ │ │ │ │   │ └── kind-of@6.0.2 deduped
│ │ │ │ │ │   └── kind-of@6.0.2 deduped
│ │ │ │ │ ├─┬ expand-brackets@2.1.4
│ │ │ │ │ │ ├── debug@2.6.9 deduped
│ │ │ │ │ │ ├─┬ define-property@0.2.5
│ │ │ │ │ │ │ └── is-descriptor@0.1.6 deduped
│ │ │ │ │ │ ├─┬ extend-shallow@2.0.1
│ │ │ │ │ │ │ └── is-extendable@0.1.1 deduped
│ │ │ │ │ │ ├── posix-character-classes@0.1.1
│ │ │ │ │ │ ├── regex-not@1.0.2 deduped
│ │ │ │ │ │ ├── snapdragon@0.8.2 deduped
│ │ │ │ │ │ └── to-regex@3.0.2 deduped
│ │ │ │ │ ├─┬ extend-shallow@2.0.1
│ │ │ │ │ │ └── is-extendable@0.1.1 deduped
│ │ │ │ │ ├── fragment-cache@0.2.1 deduped
│ │ │ │ │ ├── regex-not@1.0.2 deduped
│ │ │ │ │ ├── snapdragon@0.8.2 deduped
│ │ │ │ │ └── to-regex@3.0.2 deduped
│ │ │ │ ├─┬ fragment-cache@0.2.1
│ │ │ │ │ └── map-cache@0.2.2 deduped
│ │ │ │ ├── kind-of@6.0.2 deduped
│ │ │ │ ├─┬ nanomatch@1.2.13
│ │ │ │ │ ├── arr-diff@4.0.0 deduped
│ │ │ │ │ ├── array-unique@0.3.2 deduped
│ │ │ │ │ ├── define-property@2.0.2 deduped
│ │ │ │ │ ├── extend-shallow@3.0.2 deduped
│ │ │ │ │ ├── fragment-cache@0.2.1 deduped
│ │ │ │ │ ├── is-windows@1.0.2
│ │ │ │ │ ├── kind-of@6.0.2 deduped
│ │ │ │ │ ├── object.pick@1.3.0 deduped
│ │ │ │ │ ├── regex-not@1.0.2 deduped
│ │ │ │ │ ├── snapdragon@0.8.2 deduped
│ │ │ │ │ └── to-regex@3.0.2 deduped
│ │ │ │ ├─┬ object.pick@1.3.0
│ │ │ │ │ └── isobject@3.0.1 deduped
│ │ │ │ ├─┬ regex-not@1.0.2
│ │ │ │ │ ├── extend-shallow@3.0.2 deduped
│ │ │ │ │ └── safe-regex@1.1.0 deduped
│ │ │ │ ├── snapdragon@0.8.2 deduped
│ │ │ │ └── to-regex@3.0.2 deduped
│ │ │ └── normalize-path@2.1.1 deduped
│ │ ├── async-each@1.0.1
│ │ ├─┬ braces@2.3.2
│ │ │ ├── arr-flatten@1.1.0
│ │ │ ├── array-unique@0.3.2
│ │ │ ├─┬ extend-shallow@2.0.1
│ │ │ │ └── is-extendable@0.1.1 deduped
│ │ │ ├─┬ fill-range@4.0.0
│ │ │ │ ├─┬ extend-shallow@2.0.1
│ │ │ │ │ └── is-extendable@0.1.1 deduped
│ │ │ │ ├─┬ is-number@3.0.0
│ │ │ │ │ └─┬ kind-of@3.2.2
│ │ │ │ │   └── is-buffer@1.1.6
│ │ │ │ ├── repeat-string@1.6.1
│ │ │ │ └─┬ to-regex-range@2.1.1
│ │ │ │   ├── is-number@3.0.0 deduped
│ │ │ │   └── repeat-string@1.6.1 deduped
│ │ │ ├── isobject@3.0.1
│ │ │ ├── repeat-element@1.1.3
│ │ │ ├─┬ snapdragon@0.8.2
│ │ │ │ ├─┬ base@0.11.2
│ │ │ │ │ ├─┬ cache-base@1.0.1
│ │ │ │ │ │ ├─┬ collection-visit@1.0.0
│ │ │ │ │ │ │ ├─┬ map-visit@1.0.0
│ │ │ │ │ │ │ │ └── object-visit@1.0.1 deduped
│ │ │ │ │ │ │ └─┬ object-visit@1.0.1
│ │ │ │ │ │ │   └── isobject@3.0.1 deduped
│ │ │ │ │ │ ├── component-emitter@1.2.1 deduped
│ │ │ │ │ │ ├── get-value@2.0.6
│ │ │ │ │ │ ├─┬ has-value@1.0.0
│ │ │ │ │ │ │ ├── get-value@2.0.6 deduped
│ │ │ │ │ │ │ ├─┬ has-values@1.0.0
│ │ │ │ │ │ │ │ ├── is-number@3.0.0 deduped
│ │ │ │ │ │ │ │ └─┬ kind-of@4.0.0
│ │ │ │ │ │ │ │   └── is-buffer@1.1.6 deduped
│ │ │ │ │ │ │ └── isobject@3.0.1 deduped
│ │ │ │ │ │ ├── isobject@3.0.1 deduped
│ │ │ │ │ │ ├─┬ set-value@2.0.0
│ │ │ │ │ │ │ ├─┬ extend-shallow@2.0.1
│ │ │ │ │ │ │ │ └── is-extendable@0.1.1 deduped
│ │ │ │ │ │ │ ├── is-extendable@0.1.1 deduped
│ │ │ │ │ │ │ ├── is-plain-object@2.0.4 deduped
│ │ │ │ │ │ │ └── split-string@3.1.0 deduped
│ │ │ │ │ │ ├─┬ to-object-path@0.3.0
│ │ │ │ │ │ │ └─┬ kind-of@3.2.2
│ │ │ │ │ │ │   └── is-buffer@1.1.6 deduped
│ │ │ │ │ │ ├─┬ union-value@1.0.0
│ │ │ │ │ │ │ ├── arr-union@3.1.0 deduped
│ │ │ │ │ │ │ ├── get-value@2.0.6 deduped
│ │ │ │ │ │ │ ├── is-extendable@0.1.1 deduped
│ │ │ │ │ │ │ └─┬ set-value@0.4.3
│ │ │ │ │ │ │   ├─┬ extend-shallow@2.0.1
│ │ │ │ │ │ │   │ └── is-extendable@0.1.1 deduped
│ │ │ │ │ │ │   ├── is-extendable@0.1.1 deduped
│ │ │ │ │ │ │   ├── is-plain-object@2.0.4 deduped
│ │ │ │ │ │ │   └── to-object-path@0.3.0 deduped
│ │ │ │ │ │ └─┬ unset-value@1.0.0
│ │ │ │ │ │   ├─┬ has-value@0.3.1
│ │ │ │ │ │   │ ├── get-value@2.0.6 deduped
│ │ │ │ │ │   │ ├── has-values@0.1.4
│ │ │ │ │ │   │ └─┬ isobject@2.1.0
│ │ │ │ │ │   │   └── isarray@1.0.0 deduped
│ │ │ │ │ │   └── isobject@3.0.1 deduped
│ │ │ │ │ ├─┬ class-utils@0.3.6
│ │ │ │ │ │ ├── arr-union@3.1.0
│ │ │ │ │ │ ├─┬ define-property@0.2.5
│ │ │ │ │ │ │ └── is-descriptor@0.1.6 deduped
│ │ │ │ │ │ ├── isobject@3.0.1 deduped
│ │ │ │ │ │ └─┬ static-extend@0.1.2
│ │ │ │ │ │   ├─┬ define-property@0.2.5
│ │ │ │ │ │   │ └── is-descriptor@0.1.6 deduped
│ │ │ │ │ │   └─┬ object-copy@0.1.0
│ │ │ │ │ │     ├── copy-descriptor@0.1.1
│ │ │ │ │ │     ├─┬ define-property@0.2.5
│ │ │ │ │ │     │ └── is-descriptor@0.1.6 deduped
│ │ │ │ │ │     └─┬ kind-of@3.2.2
│ │ │ │ │ │       └── is-buffer@1.1.6 deduped
│ │ │ │ │ ├── component-emitter@1.2.1
│ │ │ │ │ ├─┬ define-property@1.0.0
│ │ │ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │ │ │   ├─┬ is-accessor-descriptor@1.0.0
│ │ │ │ │ │   │ └── kind-of@6.0.2 deduped
│ │ │ │ │ │   ├─┬ is-data-descriptor@1.0.0
│ │ │ │ │ │   │ └── kind-of@6.0.2 deduped
│ │ │ │ │ │   └── kind-of@6.0.2 deduped
│ │ │ │ │ ├── isobject@3.0.1 deduped
│ │ │ │ │ ├─┬ mixin-deep@1.3.1
│ │ │ │ │ │ ├── for-in@1.0.2 deduped
│ │ │ │ │ │ └─┬ is-extendable@1.0.1
│ │ │ │ │ │   └── is-plain-object@2.0.4 deduped
│ │ │ │ │ └── pascalcase@0.1.1
│ │ │ │ ├── debug@2.6.9 deduped
│ │ │ │ ├─┬ define-property@0.2.5
│ │ │ │ │ └─┬ is-descriptor@0.1.6
│ │ │ │ │   ├─┬ is-accessor-descriptor@0.1.6
│ │ │ │ │   │ └─┬ kind-of@3.2.2
│ │ │ │ │   │   └── is-buffer@1.1.6 deduped
│ │ │ │ │   ├─┬ is-data-descriptor@0.1.4
│ │ │ │ │   │ └─┬ kind-of@3.2.2
│ │ │ │ │   │   └── is-buffer@1.1.6 deduped
│ │ │ │ │   └── kind-of@5.1.0
│ │ │ │ ├─┬ extend-shallow@2.0.1
│ │ │ │ │ └── is-extendable@0.1.1 deduped
│ │ │ │ ├── map-cache@0.2.2
│ │ │ │ ├── source-map@0.5.7 deduped
│ │ │ │ ├── source-map-resolve@0.5.2 deduped
│ │ │ │ └── use@3.1.1
│ │ │ ├─┬ snapdragon-node@2.1.1
│ │ │ │ ├─┬ define-property@1.0.0
│ │ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │ │   ├─┬ is-accessor-descriptor@1.0.0
│ │ │ │ │   │ └── kind-of@6.0.2 deduped
│ │ │ │ │   ├─┬ is-data-descriptor@1.0.0
│ │ │ │ │   │ └── kind-of@6.0.2 deduped
│ │ │ │ │   └── kind-of@6.0.2 deduped
│ │ │ │ ├── isobject@3.0.1 deduped
│ │ │ │ └─┬ snapdragon-util@3.0.1
│ │ │ │   └─┬ kind-of@3.2.2
│ │ │ │     └── is-buffer@1.1.6 deduped
│ │ │ ├─┬ split-string@3.1.0
│ │ │ │ └── extend-shallow@3.0.2 deduped
│ │ │ └─┬ to-regex@3.0.2
│ │ │   ├── define-property@2.0.2 deduped
│ │ │   ├── extend-shallow@3.0.2 deduped
│ │ │   ├── regex-not@1.0.2 deduped
│ │ │   └─┬ safe-regex@1.1.0
│ │ │     └── ret@0.1.15
│ │ ├─┬ fsevents@1.2.4
│ │ │ ├── glob@7.1.2 extraneous
│ │ │ ├── nan@2.11.1 deduped
│ │ │ ├─┬ node-pre-gyp@0.10.0
│ │ │ │ ├── detect-libc@1.0.3
│ │ │ │ ├── mkdirp@0.5.1 deduped
│ │ │ │ ├─┬ needle@2.2.0
│ │ │ │ │ ├── debug@2.6.9 deduped
│ │ │ │ │ ├── iconv-lite@0.4.19 deduped
│ │ │ │ │ └── sax@1.2.4 deduped
│ │ │ │ ├── UNMET DEPENDENCY nopt@^4.0.1
│ │ │ │ ├─┬ npm-packlist@1.1.10
│ │ │ │ │ ├─┬ ignore-walk@3.0.1
│ │ │ │ │ │ └── minimatch@3.0.4 deduped
│ │ │ │ │ └── npm-bundled@1.0.3
│ │ │ │ ├── npmlog@4.1.2 deduped
│ │ │ │ ├─┬ rc@1.2.7
│ │ │ │ │ ├── deep-extend@0.5.1
│ │ │ │ │ ├── ini@1.3.5
│ │ │ │ │ ├── minimist@1.2.0
│ │ │ │ │ └── strip-json-comments@2.0.1
│ │ │ │ ├── rimraf@2.6.2 deduped
│ │ │ │ ├── semver@5.5.1 deduped
│ │ │ │ └── UNMET DEPENDENCY tar@^4
│ │ │ ├── nopt@4.0.1 extraneous
│ │ │ ├── semver@5.5.0 extraneous
│ │ │ ├── tar@4.4.1 extraneous
│ │ │ └── wide-align@1.1.2 extraneous
│ │ ├─┬ glob-parent@3.1.0
│ │ │ ├─┬ is-glob@3.1.0
│ │ │ │ └── is-extglob@2.1.1 deduped
│ │ │ └── path-dirname@1.0.2
│ │ ├── inherits@2.0.3
│ │ ├─┬ is-binary-path@1.0.1
│ │ │ └── binary-extensions@1.12.0
│ │ ├── is-glob@4.0.0 deduped
│ │ ├─┬ normalize-path@2.1.1
│ │ │ └── remove-trailing-separator@1.1.0
│ │ ├── path-is-absolute@1.0.1
│ │ ├─┬ readdirp@2.2.1
│ │ │ ├── graceful-fs@4.1.11 deduped
│ │ │ ├── micromatch@3.1.10 deduped
│ │ │ └── readable-stream@2.3.6 deduped
│ │ └── upath@1.1.0
│ ├─┬ glob@7.1.3
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ inflight@1.0.6
│ │ │ ├── once@1.4.0 deduped
│ │ │ └── wrappy@1.0.2
│ │ ├── inherits@2.0.3 deduped
│ │ ├── minimatch@3.0.4 deduped
│ │ ├─┬ once@1.4.0
│ │ │ └── wrappy@1.0.2 deduped
│ │ └── path-is-absolute@1.0.1 deduped
│ ├─┬ nativescript-hook@0.2.4
│ │ ├─┬ glob@6.0.4
│ │ │ ├── inflight@1.0.6 deduped
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ ├── minimatch@3.0.4 deduped
│ │ │ ├── once@1.4.0 deduped
│ │ │ └── path-is-absolute@1.0.1 deduped
│ │ └── mkdirp@0.5.1 deduped
│ └─┬ node-sass@4.9.3
│   ├── async-foreach@0.1.3
│   ├── chalk@1.1.3 deduped
│   ├─┬ cross-spawn@3.0.1
│   │ ├── lru-cache@4.1.3 deduped
│   │ └─┬ which@1.3.1
│   │   └── isexe@2.0.0
│   ├─┬ gaze@1.1.3
│   │ └─┬ globule@1.2.1
│   │   ├─┬ glob@7.1.3
│   │   │ ├── fs.realpath@1.0.0 deduped
│   │   │ ├── inflight@1.0.6 deduped
│   │   │ ├── inherits@2.0.3 deduped
│   │   │ ├── minimatch@3.0.4 deduped
│   │   │ ├── once@1.4.0 deduped
│   │   │ └── path-is-absolute@1.0.1 deduped
│   │   ├── lodash@4.17.11 deduped
│   │   └── minimatch@3.0.4 deduped
│   ├── get-stdin@4.0.1
│   ├─┬ glob@7.1.3
│   │ ├── fs.realpath@1.0.0 deduped
│   │ ├── inflight@1.0.6 deduped
│   │ ├── inherits@2.0.3 deduped
│   │ ├── minimatch@3.0.4 deduped
│   │ ├── once@1.4.0 deduped
│   │ └── path-is-absolute@1.0.1 deduped
│   ├── in-publish@2.0.0
│   ├── lodash.assign@4.2.0
│   ├── lodash.clonedeep@4.5.0
│   ├── lodash.mergewith@4.6.1
│   ├─┬ meow@3.7.0
│   │ ├─┬ camelcase-keys@2.1.0
│   │ │ ├── camelcase@2.1.1
│   │ │ └── map-obj@1.0.1 deduped
│   │ ├── decamelize@1.2.0 deduped
│   │ ├─┬ loud-rejection@1.6.0
│   │ │ ├─┬ currently-unhandled@0.4.1
│   │ │ │ └── array-find-index@1.0.2
│   │ │ └── signal-exit@3.0.2
│   │ ├── map-obj@1.0.1
│   │ ├── minimist@1.2.0
│   │ ├─┬ normalize-package-data@2.4.0
│   │ │ ├── hosted-git-info@2.7.1
│   │ │ ├─┬ is-builtin-module@1.0.0
│   │ │ │ └── builtin-modules@1.1.1 deduped
│   │ │ ├── semver@5.5.1 deduped
│   │ │ └─┬ validate-npm-package-license@3.0.4
│   │ │   ├─┬ spdx-correct@3.0.1
│   │ │   │ ├── spdx-expression-parse@3.0.0 deduped
│   │ │   │ └── spdx-license-ids@3.0.1
│   │ │   └─┬ spdx-expression-parse@3.0.0
│   │ │     ├── spdx-exceptions@2.1.0
│   │ │     └── spdx-license-ids@3.0.1 deduped
│   │ ├── object-assign@4.1.1 deduped
│   │ ├─┬ read-pkg-up@1.0.1
│   │ │ ├─┬ find-up@1.1.2
│   │ │ │ ├─┬ path-exists@2.1.0
│   │ │ │ │ └── pinkie-promise@2.0.1 deduped
│   │ │ │ └─┬ pinkie-promise@2.0.1
│   │ │ │   └── pinkie@2.0.4
│   │ │ └─┬ read-pkg@1.1.0
│   │ │   ├─┬ load-json-file@1.1.0
│   │ │   │ ├── graceful-fs@4.1.11 deduped
│   │ │   │ ├── parse-json@2.2.0 deduped
│   │ │   │ ├── pify@2.3.0
│   │ │   │ ├── pinkie-promise@2.0.1 deduped
│   │ │   │ └─┬ strip-bom@2.0.0
│   │ │   │   └── is-utf8@0.2.1
│   │ │   ├── normalize-package-data@2.4.0 deduped
│   │ │   └─┬ path-type@1.1.0
│   │ │     ├── graceful-fs@4.1.11 deduped
│   │ │     ├── pify@2.3.0
│   │ │     └── pinkie-promise@2.0.1 deduped
│   │ ├─┬ redent@1.0.0
│   │ │ ├─┬ indent-string@2.1.0
│   │ │ │ └─┬ repeating@2.0.1
│   │ │ │   └─┬ is-finite@1.0.2
│   │ │ │     └── number-is-nan@1.0.1 deduped
│   │ │ └─┬ strip-indent@1.0.1
│   │ │   └── get-stdin@4.0.1 deduped
│   │ └── trim-newlines@1.0.0
│   ├── mkdirp@0.5.1 deduped
│   ├── nan@2.11.1
│   ├─┬ node-gyp@3.8.0
│   │ ├─┬ fstream@1.0.11
│   │ │ ├── graceful-fs@4.1.11 deduped
│   │ │ ├── inherits@2.0.3 deduped
│   │ │ ├── mkdirp@0.5.1 deduped
│   │ │ └── rimraf@2.6.2 deduped
│   │ ├─┬ glob@7.1.3
│   │ │ ├── fs.realpath@1.0.0 deduped
│   │ │ ├── inflight@1.0.6 deduped
│   │ │ ├── inherits@2.0.3 deduped
│   │ │ ├── minimatch@3.0.4 deduped
│   │ │ ├── once@1.4.0 deduped
│   │ │ └── path-is-absolute@1.0.1 deduped
│   │ ├── graceful-fs@4.1.11 deduped
│   │ ├── mkdirp@0.5.1 deduped
│   │ ├─┬ nopt@3.0.6
│   │ │ └── abbrev@1.1.1
│   │ ├── npmlog@4.1.2 deduped
│   │ ├─┬ osenv@0.1.5
│   │ │ ├── os-homedir@1.0.2 deduped
│   │ │ └── os-tmpdir@1.0.2 deduped
│   │ ├── request@2.87.0 deduped
│   │ ├── rimraf@2.6.2 deduped
│   │ ├── semver@5.3.0
│   │ ├─┬ tar@2.2.1
│   │ │ ├─┬ block-stream@0.0.9
│   │ │ │ └── inherits@2.0.3 deduped
│   │ │ ├── fstream@1.0.11 deduped
│   │ │ └── inherits@2.0.3 deduped
│   │ └── which@1.3.1 deduped
│   ├─┬ npmlog@4.1.2
│   │ ├─┬ are-we-there-yet@1.1.5
│   │ │ ├── delegates@1.0.0
│   │ │ └── readable-stream@2.3.6 deduped
│   │ ├── console-control-strings@1.1.0
│   │ ├─┬ gauge@2.7.4
│   │ │ ├── aproba@1.2.0 deduped
│   │ │ ├── console-control-strings@1.1.0 deduped
│   │ │ ├── has-unicode@2.0.1
│   │ │ ├── object-assign@4.1.1 deduped
│   │ │ ├── signal-exit@3.0.2 deduped
│   │ │ ├── string-width@1.0.2 deduped
│   │ │ ├── strip-ansi@3.0.1 deduped
│   │ │ └─┬ wide-align@1.1.3
│   │ │   └── string-width@1.0.2 deduped
│   │ └── set-blocking@2.0.0 deduped
│   ├─┬ request@2.87.0
│   │ ├── aws-sign2@0.7.0 deduped
│   │ ├── aws4@1.8.0 deduped
│   │ ├── caseless@0.12.0 deduped
│   │ ├── combined-stream@1.0.7 deduped
│   │ ├── extend@3.0.2 deduped
│   │ ├── forever-agent@0.6.1 deduped
│   │ ├── form-data@2.3.2 deduped
│   │ ├── har-validator@5.0.3 deduped
│   │ ├── http-signature@1.2.0 deduped
│   │ ├── is-typedarray@1.0.0 deduped
│   │ ├── isstream@0.1.2 deduped
│   │ ├── json-stringify-safe@5.0.1 deduped
│   │ ├── mime-types@2.1.20 deduped
│   │ ├── oauth-sign@0.8.2 deduped
│   │ ├── performance-now@2.1.0 deduped
│   │ ├── qs@6.5.2 deduped
│   │ ├── safe-buffer@5.1.2 deduped
│   │ ├── tough-cookie@2.3.4 deduped
│   │ ├── tunnel-agent@0.6.0 deduped
│   │ └── uuid@3.3.2
│   ├─┬ sass-graph@2.2.4
│   │ ├─┬ glob@7.1.3
│   │ │ ├── fs.realpath@1.0.0 deduped
│   │ │ ├── inflight@1.0.6 deduped
│   │ │ ├── inherits@2.0.3 deduped
│   │ │ ├── minimatch@3.0.4 deduped
│   │ │ ├── once@1.4.0 deduped
│   │ │ └── path-is-absolute@1.0.1 deduped
│   │ ├── lodash@4.17.11 deduped
│   │ ├─┬ scss-tokenizer@0.2.3
│   │ │ ├── js-base64@2.4.9 deduped
│   │ │ └─┬ source-map@0.4.4
│   │ │   └── amdefine@1.0.1
│   │ └─┬ yargs@7.1.0
│   │   ├── camelcase@3.0.0
│   │   ├── cliui@3.2.0 deduped
│   │   ├── decamelize@1.2.0 deduped
│   │   ├── get-caller-file@1.0.3 deduped
│   │   ├─┬ os-locale@1.4.0
│   │   │ └── lcid@1.0.0 deduped
│   │   ├── read-pkg-up@1.0.1 deduped
│   │   ├── require-directory@2.1.1 deduped
│   │   ├── require-main-filename@1.0.1 deduped
│   │   ├── set-blocking@2.0.0 deduped
│   │   ├── string-width@1.0.2 deduped
│   │   ├── which-module@1.0.0
│   │   ├── y18n@3.2.1
│   │   └─┬ yargs-parser@5.0.0
│   │     └── camelcase@3.0.0
│   ├─┬ stdout-stream@1.4.1
│   │ └── readable-stream@2.3.6 deduped
│   └─┬ true-case-path@1.0.3
│     └─┬ glob@7.1.3
│       ├── fs.realpath@1.0.0 deduped
│       ├── inflight@1.0.6 deduped
│       ├── inherits@2.0.3 deduped
│       ├── minimatch@3.0.4 deduped
│       ├── once@1.4.0 deduped
│       └── path-is-absolute@1.0.1 deduped
├─┬ nativescript-dev-typescript@0.7.4
│ ├── nativescript-hook@0.2.4 deduped
│ └── semver@5.5.0
├─┬ nativescript-dev-webpack@0.10.2
│ ├── global-modules-path@2.0.0
│ ├── minimatch@3.0.4 deduped
│ ├── nativescript-hook@0.2.4 deduped
│ ├─┬ proxy-lib@0.4.0
│ │ └─┬ osenv@0.1.4
│ │   ├── os-homedir@1.0.2
│ │   └── os-tmpdir@1.0.2
│ ├─┬ request@2.83.0
│ │ ├── aws-sign2@0.7.0
│ │ ├── aws4@1.8.0
│ │ ├── caseless@0.12.0
│ │ ├─┬ combined-stream@1.0.7
│ │ │ └── delayed-stream@1.0.0
│ │ ├── extend@3.0.2
│ │ ├── forever-agent@0.6.1
│ │ ├─┬ form-data@2.3.2
│ │ │ ├── asynckit@0.4.0
│ │ │ ├─┬ combined-stream@1.0.6
│ │ │ │ └── delayed-stream@1.0.0 deduped
│ │ │ └── mime-types@2.1.20 deduped
│ │ ├─┬ har-validator@5.0.3
│ │ │ ├── ajv@5.5.2 deduped
│ │ │ └── har-schema@2.0.0
│ │ ├─┬ hawk@6.0.2
│ │ │ ├─┬ boom@4.3.1
│ │ │ │ └── hoek@4.2.1 deduped
│ │ │ ├─┬ cryptiles@3.1.2
│ │ │ │ └─┬ boom@5.2.0
│ │ │ │   └── hoek@4.2.1 deduped
│ │ │ ├── hoek@4.2.1
│ │ │ └─┬ sntp@2.1.0
│ │ │   └── hoek@4.2.1 deduped
│ │ ├─┬ http-signature@1.2.0
│ │ │ ├── assert-plus@1.0.0
│ │ │ ├─┬ jsprim@1.4.1
│ │ │ │ ├── assert-plus@1.0.0 deduped
│ │ │ │ ├── extsprintf@1.3.0
│ │ │ │ ├── json-schema@0.2.3
│ │ │ │ └─┬ verror@1.10.0
│ │ │ │   ├── assert-plus@1.0.0 deduped
│ │ │ │   ├── core-util-is@1.0.2 deduped
│ │ │ │   └── extsprintf@1.3.0 deduped
│ │ │ └─┬ sshpk@1.14.2
│ │ │   ├─┬ asn1@0.2.4
│ │ │   │ └── safer-buffer@2.1.2 deduped
│ │ │   ├── assert-plus@1.0.0 deduped
│ │ │   ├─┬ bcrypt-pbkdf@1.0.2
│ │ │   │ └── tweetnacl@0.14.5 deduped
│ │ │   ├─┬ dashdash@1.14.1
│ │ │   │ └── assert-plus@1.0.0 deduped
│ │ │   ├─┬ ecc-jsbn@0.1.2
│ │ │   │ ├── jsbn@0.1.1 deduped
│ │ │   │ └── safer-buffer@2.1.2 deduped
│ │ │   ├─┬ getpass@0.1.7
│ │ │   │ └── assert-plus@1.0.0 deduped
│ │ │   ├── jsbn@0.1.1
│ │ │   ├── safer-buffer@2.1.2
│ │ │   └── tweetnacl@0.14.5
│ │ ├── is-typedarray@1.0.0
│ │ ├── isstream@0.1.2
│ │ ├── json-stringify-safe@5.0.1
│ │ ├─┬ mime-types@2.1.20
│ │ │ └── mime-db@1.36.0
│ │ ├── oauth-sign@0.8.2
│ │ ├── performance-now@2.1.0
│ │ ├── qs@6.5.2
│ │ ├── safe-buffer@5.1.2
│ │ ├── stringstream@0.0.6
│ │ ├─┬ tough-cookie@2.3.4
│ │ │ └── punycode@1.4.1 deduped
│ │ ├─┬ tunnel-agent@0.6.0
│ │ │ └── safe-buffer@5.1.2 deduped
│ │ └── uuid@3.3.2
│ ├─┬ schema-utils@0.4.3
│ │ ├── ajv@5.5.2 deduped
│ │ └── ajv-keywords@2.1.1 deduped
│ ├── semver@5.4.1
│ └── shelljs@0.6.0
├── nativescript-downloadmanager@0.1.0
├── nativescript-drop-down@4.0.1
├── nativescript-filterable-listpicker@2.0.1 (git+ssh://git@gitlab.com/innovareti/nativescript-filterable-listpicker.git#c93af8bd0d6a8b91e6f562af8f493985f5929ea4)
├── nativescript-fresco@5.0.0
├─┬ nativescript-imagepicker@5.0.2
│ ├── nativescript-permissions@1.2.3
│ ├── nativescript-ui-core@1.0.1
│ └── nativescript-ui-listview@3.7.0 deduped
├── nativescript-intl@3.0.0
├── nativescript-iqkeyboardmanager@1.3.0
├── nativescript-loading-indicator@2.4.0
├── nativescript-modal-datetimepicker@1.1.7
├── nativescript-pdf-view@2.0.1
├─┬ nativescript-phone@1.3.1
│ └── nativescript-permissions@1.2.3 deduped
├─┬ nativescript-plugin-firebase@7.1.1
│ ├─┬ fs-extra@2.1.2
│ │ ├── graceful-fs@4.1.11 deduped
│ │ └─┬ jsonfile@2.4.0
│ │   └── graceful-fs@4.1.11 deduped
│ ├── nativescript-hook@0.2.4 deduped
│ ├─┬ prompt-lite@0.1.1
│ │ ├── async@0.1.22
│ │ ├── colors@0.6.2
│ │ ├─┬ read@1.0.7
│ │ │ └── mute-stream@0.0.7
│ │ └── revalidator@0.1.8
│ └─┬ xcode@0.9.3
│   ├── pegjs@0.10.0
│   ├─┬ simple-plist@0.2.1
│   │ ├─┬ bplist-creator@0.0.7
│   │ │ └── stream-buffers@2.2.0
│   │ ├─┬ bplist-parser@0.1.1
│   │ │ └── big-integer@1.6.36
│   │ └─┬ plist@2.0.1
│   │   ├── base64-js@1.1.2 deduped
│   │   ├── xmlbuilder@8.2.2
│   │   └── xmldom@0.1.27
│   └── uuid@3.0.1
├── nativescript-share-file@1.0.4
├─┬ nativescript-slides@2.2.14
│ └── nativescript-dom@2.0.2
├── nativescript-social-share@1.5.1
├── nativescript-theme-core@1.0.4
├─┬ nativescript-ui-listview@3.7.0
│ └── nativescript-ui-core@2.0.0
├─┬ nativescript-worker-loader@0.8.1
│ ├── loader-utils@1.1.0 deduped
│ ├── schema-utils@0.3.0 deduped
│ └── webpack@3.10.0 deduped
├── nativescript-youtubeplayer@3.0.1
├── raw-loader@0.5.1
├─┬ resolve-url-loader@2.2.1
│ ├─┬ adjust-sourcemap-loader@1.2.0
│ │ ├─┬ assert@1.4.1
│ │ │ └─┬ util@0.10.3
│ │ │   └── inherits@2.0.1
│ │ ├── camelcase@1.2.1
│ │ ├── loader-utils@1.1.0 deduped
│ │ ├── lodash.assign@4.2.0 deduped
│ │ ├─┬ lodash.defaults@3.1.2
│ │ │ ├─┬ lodash.assign@3.2.0
│ │ │ │ ├─┬ lodash._baseassign@3.2.0
│ │ │ │ │ ├── lodash._basecopy@3.0.1
│ │ │ │ │ └── lodash.keys@3.1.2 deduped
│ │ │ │ ├─┬ lodash._createassigner@3.1.1
│ │ │ │ │ ├── lodash._bindcallback@3.0.1
│ │ │ │ │ ├── lodash._isiterateecall@3.0.9
│ │ │ │ │ └── lodash.restparam@3.6.1 deduped
│ │ │ │ └─┬ lodash.keys@3.1.2
│ │ │ │   ├── lodash._getnative@3.9.1
│ │ │ │   ├── lodash.isarguments@3.1.0
│ │ │ │   └── lodash.isarray@3.0.4
│ │ │ └── lodash.restparam@3.6.1
│ │ ├── object-path@0.9.2
│ │ └── regex-parser@2.2.9
│ ├── camelcase@4.1.0
│ ├─┬ convert-source-map@1.6.0
│ │ └── safe-buffer@5.1.2 deduped
│ ├── loader-utils@1.1.0 deduped
│ ├── lodash.defaults@4.2.0
│ ├─┬ rework@1.0.1
│ │ ├── convert-source-map@0.3.5
│ │ └─┬ css@2.2.4
│ │   ├── inherits@2.0.3 deduped
│ │   ├── source-map@0.6.1
│ │   ├─┬ source-map-resolve@0.5.2
│ │   │ ├── atob@2.1.2
│ │   │ ├── decode-uri-component@0.2.0
│ │   │ ├── resolve-url@0.2.1
│ │   │ ├── source-map-url@0.4.0
│ │   │ └── urix@0.1.0 deduped
│ │   └── urix@0.1.0 deduped
│ ├── rework-visit@1.0.0
│ ├── source-map@0.5.7
│ └── urix@0.1.0
├─┬ rxjs@5.5.12
│ └── symbol-observable@1.0.1
├─┬ sass-loader@6.0.7
│ ├─┬ clone-deep@2.0.2
│ │ ├─┬ for-own@1.0.0
│ │ │ └── for-in@1.0.2
│ │ ├─┬ is-plain-object@2.0.4
│ │ │ └── isobject@3.0.1 deduped
│ │ ├── kind-of@6.0.2
│ │ └─┬ shallow-clone@1.0.0
│ │   ├── is-extendable@0.1.1
│ │   ├── kind-of@5.1.0
│ │   └─┬ mixin-object@2.0.1
│ │     ├── for-in@0.1.8
│ │     └── is-extendable@0.1.1 deduped
│ ├── loader-utils@1.1.0 deduped
│ ├── lodash.tail@4.1.1
│ ├── neo-async@2.5.2
│ └── pify@3.0.0 deduped
├─┬ UNMET PEER DEPENDENCY tns-core-modules@4.2.1
│ └── tns-core-modules-widgets@4.2.1
├── tns-platform-declarations@4.2.1
├─┬ tslint@5.11.0
│ ├── babel-code-frame@6.26.0 deduped
│ ├── builtin-modules@1.1.1
│ ├─┬ chalk@2.4.1
│ │ ├─┬ ansi-styles@3.2.1
│ │ │ └─┬ color-convert@1.9.3
│ │ │   └── color-name@1.1.3
│ │ ├── escape-string-regexp@1.0.5
│ │ └─┬ supports-color@5.5.0
│ │   └── has-flag@3.0.0
│ ├── commander@2.18.0
│ ├── diff@3.5.0
│ ├─┬ glob@7.1.3
│ │ ├── fs.realpath@1.0.0 deduped
│ │ ├── inflight@1.0.6 deduped
│ │ ├── inherits@2.0.3 deduped
│ │ ├── minimatch@3.0.4 deduped
│ │ ├── once@1.4.0 deduped
│ │ └── path-is-absolute@1.0.1 deduped
│ ├─┬ js-yaml@3.7.0
│ │ ├─┬ argparse@1.0.10
│ │ │ └── sprintf-js@1.0.3
│ │ └── esprima@2.7.3
│ ├── minimatch@3.0.4 deduped
│ ├─┬ resolve@1.8.1
│ │ └── path-parse@1.0.6
│ ├── semver@5.5.1
│ ├── tslib@1.9.3
│ └─┬ tsutils@2.29.0
│   └── tslib@1.9.3 deduped
├── typescript@2.7.2
├─┬ uglifyjs-webpack-plugin@1.1.8
│ ├── cacache@10.0.4 deduped
│ ├── find-cache-dir@1.0.0 deduped
│ ├─┬ schema-utils@0.4.7
│ │ ├─┬ ajv@6.5.4
│ │ │ ├── fast-deep-equal@2.0.1
│ │ │ ├── fast-json-stable-stringify@2.0.0 deduped
│ │ │ ├── json-schema-traverse@0.4.1
│ │ │ └─┬ uri-js@4.2.2
│ │ │   └── punycode@2.1.1
│ │ └── ajv-keywords@3.2.0
│ ├── serialize-javascript@1.5.0 deduped
│ ├── source-map@0.6.1
│ ├─┬ uglify-es@3.3.9
│ │ ├── commander@2.13.0
│ │ └── source-map@0.6.1 deduped
│ ├── webpack-sources@1.1.0 deduped
│ └─┬ worker-farm@1.6.0
│   └─┬ errno@0.1.7
│     └── prr@1.0.1
├─┬ webpack@3.10.0
│ ├── acorn@5.7.3
│ ├─┬ acorn-dynamic-import@2.0.2
│ │ └── acorn@4.0.13
│ ├─┬ ajv@5.5.2
│ │ ├── co@4.6.0
│ │ ├── fast-deep-equal@1.1.0
│ │ ├── fast-json-stable-stringify@2.0.0
│ │ └── json-schema-traverse@0.3.1
│ ├── ajv-keywords@2.1.1
│ ├─┬ async@2.6.1
│ │ └── lodash@4.17.11 deduped
│ ├── enhanced-resolve@3.4.1 deduped
│ ├─┬ escope@3.6.0
│ │ ├─┬ es6-map@0.1.5
│ │ │ ├─┬ d@1.0.0
│ │ │ │ └── es5-ext@0.10.46 deduped
│ │ │ ├─┬ es5-ext@0.10.46
│ │ │ │ ├── es6-iterator@2.0.3 deduped
│ │ │ │ ├── es6-symbol@3.1.1 deduped
│ │ │ │ └── next-tick@1.0.0
│ │ │ ├─┬ es6-iterator@2.0.3
│ │ │ │ ├── d@1.0.0 deduped
│ │ │ │ ├── es5-ext@0.10.46 deduped
│ │ │ │ └── es6-symbol@3.1.1 deduped
│ │ │ ├─┬ es6-set@0.1.5
│ │ │ │ ├── d@1.0.0 deduped
│ │ │ │ ├── es5-ext@0.10.46 deduped
│ │ │ │ ├── es6-iterator@2.0.3 deduped
│ │ │ │ ├── es6-symbol@3.1.1 deduped
│ │ │ │ └── event-emitter@0.3.5 deduped
│ │ │ ├─┬ es6-symbol@3.1.1
│ │ │ │ ├── d@1.0.0 deduped
│ │ │ │ └── es5-ext@0.10.46 deduped
│ │ │ └─┬ event-emitter@0.3.5
│ │ │   ├── d@1.0.0 deduped
│ │ │   └── es5-ext@0.10.46 deduped
│ │ ├─┬ es6-weak-map@2.0.2
│ │ │ ├── d@1.0.0 deduped
│ │ │ ├── es5-ext@0.10.46 deduped
│ │ │ ├── es6-iterator@2.0.3 deduped
│ │ │ └── es6-symbol@3.1.1 deduped
│ │ ├─┬ esrecurse@4.2.1
│ │ │ └── estraverse@4.2.0 deduped
│ │ └── estraverse@4.2.0
│ ├── interpret@1.1.0
│ ├── json-loader@0.5.7
│ ├── json5@0.5.1
│ ├── loader-runner@2.3.1
│ ├── loader-utils@1.1.0 deduped
│ ├─┬ memory-fs@0.4.1
│ │ ├── errno@0.1.7 deduped
│ │ └─┬ readable-stream@2.3.6
│ │   ├── core-util-is@1.0.2
│ │   ├── inherits@2.0.3 deduped
│ │   ├── isarray@1.0.0
│ │   ├── process-nextick-args@2.0.0
│ │   ├── safe-buffer@5.1.2 deduped
│ │   ├── string_decoder@1.1.1 deduped
│ │   └── util-deprecate@1.0.2
│ ├── mkdirp@0.5.1 deduped
│ ├─┬ node-libs-browser@2.1.0
│ │ ├── assert@1.4.1 deduped
│ │ ├─┬ browserify-zlib@0.2.0
│ │ │ └── pako@1.0.6
│ │ ├─┬ buffer@4.9.1
│ │ │ ├── base64-js@1.1.2
│ │ │ ├── ieee754@1.1.12
│ │ │ └── isarray@1.0.0 deduped
│ │ ├─┬ console-browserify@1.1.0
│ │ │ └── date-now@0.1.4
│ │ ├── constants-browserify@1.0.0
│ │ ├─┬ crypto-browserify@3.12.0
│ │ │ ├─┬ browserify-cipher@1.0.1
│ │ │ │ ├─┬ browserify-aes@1.2.0
│ │ │ │ │ ├── buffer-xor@1.0.3
│ │ │ │ │ ├── cipher-base@1.0.4 deduped
│ │ │ │ │ ├── create-hash@1.2.0 deduped
│ │ │ │ │ ├── evp_bytestokey@1.0.3 deduped
│ │ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ │ └── safe-buffer@5.1.2 deduped
│ │ │ │ ├─┬ browserify-des@1.0.2
│ │ │ │ │ ├── cipher-base@1.0.4 deduped
│ │ │ │ │ ├─┬ des.js@1.0.0
│ │ │ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ │ │ └── minimalistic-assert@1.0.1 deduped
│ │ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ │ └── safe-buffer@5.1.2 deduped
│ │ │ │ └─┬ evp_bytestokey@1.0.3
│ │ │ │   ├── md5.js@1.3.4 deduped
│ │ │ │   └── safe-buffer@5.1.2 deduped
│ │ │ ├─┬ browserify-sign@4.0.4
│ │ │ │ ├── bn.js@4.11.8
│ │ │ │ ├─┬ browserify-rsa@4.0.1
│ │ │ │ │ ├── bn.js@4.11.8 deduped
│ │ │ │ │ └── randombytes@2.0.6 deduped
│ │ │ │ ├── create-hash@1.2.0 deduped
│ │ │ │ ├── create-hmac@1.1.7 deduped
│ │ │ │ ├─┬ elliptic@6.4.1
│ │ │ │ │ ├── bn.js@4.11.8 deduped
│ │ │ │ │ ├── brorand@1.1.0
│ │ │ │ │ ├─┬ hash.js@1.1.5
│ │ │ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ │ │ └── minimalistic-assert@1.0.1 deduped
│ │ │ │ │ ├─┬ hmac-drbg@1.0.1
│ │ │ │ │ │ ├── hash.js@1.1.5 deduped
│ │ │ │ │ │ ├── minimalistic-assert@1.0.1 deduped
│ │ │ │ │ │ └── minimalistic-crypto-utils@1.0.1 deduped
│ │ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ │ ├── minimalistic-assert@1.0.1
│ │ │ │ │ └── minimalistic-crypto-utils@1.0.1
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ └─┬ parse-asn1@5.1.1
│ │ │ │   ├─┬ asn1.js@4.10.1
│ │ │ │   │ ├── bn.js@4.11.8 deduped
│ │ │ │   │ ├── inherits@2.0.3 deduped
│ │ │ │   │ └── minimalistic-assert@1.0.1 deduped
│ │ │ │   ├── browserify-aes@1.2.0 deduped
│ │ │ │   ├── create-hash@1.2.0 deduped
│ │ │ │   ├── evp_bytestokey@1.0.3 deduped
│ │ │ │   └── pbkdf2@3.0.17 deduped
│ │ │ ├─┬ create-ecdh@4.0.3
│ │ │ │ ├── bn.js@4.11.8 deduped
│ │ │ │ └── elliptic@6.4.1 deduped
│ │ │ ├─┬ create-hash@1.2.0
│ │ │ │ ├─┬ cipher-base@1.0.4
│ │ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ │ └── safe-buffer@5.1.2 deduped
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ ├─┬ md5.js@1.3.4
│ │ │ │ │ ├─┬ hash-base@3.0.4
│ │ │ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ │ │ └── safe-buffer@5.1.2 deduped
│ │ │ │ │ └── inherits@2.0.3 deduped
│ │ │ │ ├─┬ ripemd160@2.0.2
│ │ │ │ │ ├── hash-base@3.0.4 deduped
│ │ │ │ │ └── inherits@2.0.3 deduped
│ │ │ │ └─┬ sha.js@2.4.11
│ │ │ │   ├── inherits@2.0.3 deduped
│ │ │ │   └── safe-buffer@5.1.2 deduped
│ │ │ ├─┬ create-hmac@1.1.7
│ │ │ │ ├── cipher-base@1.0.4 deduped
│ │ │ │ ├── create-hash@1.2.0 deduped
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ ├── ripemd160@2.0.2 deduped
│ │ │ │ ├── safe-buffer@5.1.2 deduped
│ │ │ │ └── sha.js@2.4.11 deduped
│ │ │ ├─┬ diffie-hellman@5.0.3
│ │ │ │ ├── bn.js@4.11.8 deduped
│ │ │ │ ├─┬ miller-rabin@4.0.1
│ │ │ │ │ ├── bn.js@4.11.8 deduped
│ │ │ │ │ └── brorand@1.1.0 deduped
│ │ │ │ └── randombytes@2.0.6 deduped
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ ├─┬ pbkdf2@3.0.17
│ │ │ │ ├── create-hash@1.2.0 deduped
│ │ │ │ ├── create-hmac@1.1.7 deduped
│ │ │ │ ├── ripemd160@2.0.2 deduped
│ │ │ │ ├── safe-buffer@5.1.2 deduped
│ │ │ │ └── sha.js@2.4.11 deduped
│ │ │ ├─┬ public-encrypt@4.0.2
│ │ │ │ ├── bn.js@4.11.8 deduped
│ │ │ │ ├── browserify-rsa@4.0.1 deduped
│ │ │ │ ├── create-hash@1.2.0 deduped
│ │ │ │ ├── parse-asn1@5.1.1 deduped
│ │ │ │ └── randombytes@2.0.6 deduped
│ │ │ ├─┬ randombytes@2.0.6
│ │ │ │ └── safe-buffer@5.1.2 deduped
│ │ │ └─┬ randomfill@1.0.4
│ │ │   ├── randombytes@2.0.6 deduped
│ │ │   └── safe-buffer@5.1.2 deduped
│ │ ├── domain-browser@1.2.0
│ │ ├── events@1.1.1
│ │ ├── https-browserify@1.0.0
│ │ ├── os-browserify@0.3.0
│ │ ├── path-browserify@0.0.0
│ │ ├── process@0.11.10
│ │ ├── punycode@1.4.1
│ │ ├── querystring-es3@0.2.1
│ │ ├── readable-stream@2.3.6 deduped
│ │ ├─┬ stream-browserify@2.0.1
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ └── readable-stream@2.3.6 deduped
│ │ ├─┬ stream-http@2.8.3
│ │ │ ├── builtin-status-codes@3.0.0
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ ├── readable-stream@2.3.6 deduped
│ │ │ ├── to-arraybuffer@1.0.1
│ │ │ └── xtend@4.0.1
│ │ ├─┬ string_decoder@1.1.1
│ │ │ └── safe-buffer@5.1.2 deduped
│ │ ├─┬ timers-browserify@2.0.10
│ │ │ └── setimmediate@1.0.5
│ │ ├── tty-browserify@0.0.0
│ │ ├─┬ url@0.11.0
│ │ │ ├── punycode@1.3.2
│ │ │ └── querystring@0.2.0
│ │ ├─┬ util@0.10.4
│ │ │ └── inherits@2.0.3 deduped
│ │ └─┬ vm-browserify@0.0.4
│ │   └── indexof@0.0.1
│ ├── source-map@0.5.7 deduped
│ ├─┬ supports-color@4.5.0
│ │ └── has-flag@2.0.0
│ ├── tapable@0.2.8
│ ├─┬ uglifyjs-webpack-plugin@0.4.6
│ │ ├── source-map@0.5.7 deduped
│ │ ├─┬ uglify-js@2.8.29
│ │ │ ├── source-map@0.5.7 deduped
│ │ │ ├── uglify-to-browserify@1.0.2
│ │ │ └─┬ yargs@3.10.0
│ │ │   ├── camelcase@1.2.1
│ │ │   ├─┬ cliui@2.1.0
│ │ │   │ ├─┬ center-align@0.1.3
│ │ │   │ │ ├─┬ align-text@0.1.4
│ │ │   │ │ │ ├─┬ kind-of@3.2.2
│ │ │   │ │ │ │ └── is-buffer@1.1.6 deduped
│ │ │   │ │ │ ├── longest@1.0.1
│ │ │   │ │ │ └── repeat-string@1.6.1 deduped
│ │ │   │ │ └── lazy-cache@1.0.4
│ │ │   │ ├─┬ right-align@0.1.3
│ │ │   │ │ └── align-text@0.1.4 deduped
│ │ │   │ └── wordwrap@0.0.2
│ │ │   ├── decamelize@1.2.0 deduped
│ │ │   └── window-size@0.1.0
│ │ └── webpack-sources@1.1.0 deduped
│ ├─┬ watchpack@1.6.0
│ │ ├── chokidar@2.0.2 deduped
│ │ ├── graceful-fs@4.1.11 deduped
│ │ └── neo-async@2.5.2 deduped
│ ├── webpack-sources@1.1.0 deduped
│ └─┬ yargs@8.0.2
│   ├── camelcase@4.1.0
│   ├─┬ cliui@3.2.0
│   │ ├─┬ string-width@1.0.2
│   │ │ ├── code-point-at@1.1.0
│   │ │ ├─┬ is-fullwidth-code-point@1.0.0
│   │ │ │ └── number-is-nan@1.0.1
│   │ │ └── strip-ansi@3.0.1 deduped
│   │ ├── strip-ansi@3.0.1 deduped
│   │ └─┬ wrap-ansi@2.1.0
│   │   ├── string-width@1.0.2 deduped
│   │   └── strip-ansi@3.0.1 deduped
│   ├── decamelize@1.2.0 deduped
│   ├── get-caller-file@1.0.3
│   ├─┬ os-locale@2.1.0
│   │ ├─┬ execa@0.7.0
│   │ │ ├─┬ cross-spawn@5.1.0
│   │ │ │ ├── lru-cache@4.1.3 deduped
│   │ │ │ ├─┬ shebang-command@1.2.0
│   │ │ │ │ └── shebang-regex@1.0.0
│   │ │ │ └── which@1.3.1 deduped
│   │ │ ├── get-stream@3.0.0
│   │ │ ├── is-stream@1.1.0
│   │ │ ├─┬ npm-run-path@2.0.2
│   │ │ │ └── path-key@2.0.1
│   │ │ ├── p-finally@1.0.0
│   │ │ ├── signal-exit@3.0.2 deduped
│   │ │ └── strip-eof@1.0.0
│   │ ├─┬ lcid@1.0.0
│   │ │ └── invert-kv@1.0.0
│   │ └─┬ mem@1.1.0
│   │   └── mimic-fn@1.2.0
│   ├─┬ read-pkg-up@2.0.0
│   │ ├── find-up@2.1.0 deduped
│   │ └─┬ read-pkg@2.0.0
│   │   ├─┬ load-json-file@2.0.0
│   │   │ ├── graceful-fs@4.1.11 deduped
│   │   │ ├─┬ parse-json@2.2.0
│   │   │ │ └─┬ error-ex@1.3.2
│   │   │ │   └── is-arrayish@0.2.1
│   │   │ ├── pify@2.3.0
│   │   │ └── strip-bom@3.0.0
│   │   ├── normalize-package-data@2.4.0 deduped
│   │   └─┬ path-type@2.0.0
│   │     └── pify@2.3.0 deduped
│   ├── require-directory@2.1.1
│   ├── require-main-filename@1.0.1
│   ├── set-blocking@2.0.0
│   ├─┬ string-width@2.1.1
│   │ ├── is-fullwidth-code-point@2.0.0
│   │ └─┬ strip-ansi@4.0.0
│   │   └── ansi-regex@3.0.0
│   ├── which-module@2.0.0
│   ├── y18n@3.2.1
│   └─┬ yargs-parser@7.0.0
│     └── camelcase@4.1.0 deduped
├─┬ webpack-bundle-analyzer@2.13.1
│ ├── acorn@5.7.3 deduped
│ ├─┬ bfj-node4@5.3.1
│ │ ├── bluebird@3.5.2 deduped
│ │ ├── check-types@7.4.0
│ │ └── tryer@1.0.1
│ ├─┬ chalk@2.4.1
│ │ ├─┬ ansi-styles@3.2.1
│ │ │ └── color-convert@1.9.3 deduped
│ │ ├── escape-string-regexp@1.0.5 deduped
│ │ └─┬ supports-color@5.5.0
│ │   └── has-flag@3.0.0
│ ├── commander@2.18.0 deduped
│ ├── ejs@2.6.1
│ ├─┬ express@4.16.3
│ │ ├─┬ accepts@1.3.5
│ │ │ ├── mime-types@2.1.20 deduped
│ │ │ └── negotiator@0.6.1
│ │ ├── array-flatten@1.1.1
│ │ ├─┬ body-parser@1.18.2
│ │ │ ├── bytes@3.0.0
│ │ │ ├── content-type@1.0.4 deduped
│ │ │ ├── debug@2.6.9 deduped
│ │ │ ├── depd@1.1.2 deduped
│ │ │ ├─┬ http-errors@1.6.3
│ │ │ │ ├── depd@1.1.2 deduped
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ ├── setprototypeof@1.1.0 deduped
│ │ │ │ └── statuses@1.4.0 deduped
│ │ │ ├── iconv-lite@0.4.19
│ │ │ ├── on-finished@2.3.0 deduped
│ │ │ ├── qs@6.5.1
│ │ │ ├─┬ raw-body@2.3.2
│ │ │ │ ├── bytes@3.0.0 deduped
│ │ │ │ ├─┬ http-errors@1.6.2
│ │ │ │ │ ├── depd@1.1.1
│ │ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ │ ├── setprototypeof@1.0.3
│ │ │ │ │ └── statuses@1.4.0 deduped
│ │ │ │ ├── iconv-lite@0.4.19 deduped
│ │ │ │ └── unpipe@1.0.0 deduped
│ │ │ └── type-is@1.6.16 deduped
│ │ ├── content-disposition@0.5.2
│ │ ├── content-type@1.0.4
│ │ ├── cookie@0.3.1
│ │ ├── cookie-signature@1.0.6
│ │ ├── debug@2.6.9 deduped
│ │ ├── depd@1.1.2
│ │ ├── encodeurl@1.0.2
│ │ ├── escape-html@1.0.3
│ │ ├── etag@1.8.1
│ │ ├─┬ finalhandler@1.1.1
│ │ │ ├── debug@2.6.9 deduped
│ │ │ ├── encodeurl@1.0.2 deduped
│ │ │ ├── escape-html@1.0.3 deduped
│ │ │ ├── on-finished@2.3.0 deduped
│ │ │ ├── parseurl@1.3.2 deduped
│ │ │ ├── statuses@1.4.0 deduped
│ │ │ └── unpipe@1.0.0
│ │ ├── fresh@0.5.2
│ │ ├── merge-descriptors@1.0.1
│ │ ├── methods@1.1.2
│ │ ├─┬ on-finished@2.3.0
│ │ │ └── ee-first@1.1.1
│ │ ├── parseurl@1.3.2
│ │ ├── path-to-regexp@0.1.7
│ │ ├─┬ proxy-addr@2.0.4
│ │ │ ├── forwarded@0.1.2
│ │ │ └── ipaddr.js@1.8.0
│ │ ├── qs@6.5.1
│ │ ├── range-parser@1.2.0
│ │ ├── safe-buffer@5.1.1
│ │ ├─┬ send@0.16.2
│ │ │ ├── debug@2.6.9 deduped
│ │ │ ├── depd@1.1.2 deduped
│ │ │ ├── destroy@1.0.4
│ │ │ ├── encodeurl@1.0.2 deduped
│ │ │ ├── escape-html@1.0.3 deduped
│ │ │ ├── etag@1.8.1 deduped
│ │ │ ├── fresh@0.5.2 deduped
│ │ │ ├── http-errors@1.6.3 deduped
│ │ │ ├── mime@1.4.1
│ │ │ ├── ms@2.0.0 deduped
│ │ │ ├── on-finished@2.3.0 deduped
│ │ │ ├── range-parser@1.2.0 deduped
│ │ │ └── statuses@1.4.0 deduped
│ │ ├─┬ serve-static@1.13.2
│ │ │ ├── encodeurl@1.0.2 deduped
│ │ │ ├── escape-html@1.0.3 deduped
│ │ │ ├── parseurl@1.3.2 deduped
│ │ │ └── send@0.16.2 deduped
│ │ ├── setprototypeof@1.1.0
│ │ ├── statuses@1.4.0
│ │ ├─┬ type-is@1.6.16
│ │ │ ├── media-typer@0.3.0
│ │ │ └── mime-types@2.1.20 deduped
│ │ ├── utils-merge@1.0.1
│ │ └── vary@1.1.2
│ ├── filesize@3.6.1
│ ├─┬ gzip-size@4.1.0
│ │ ├── duplexer@0.1.1
│ │ └── pify@3.0.0 deduped
│ ├── lodash@4.17.11 deduped
│ ├── mkdirp@0.5.1 deduped
│ ├── opener@1.5.1
│ └─┬ ws@4.1.0
│   ├── async-limiter@1.0.0
│   └── safe-buffer@5.1.2 deduped
└─┬ webpack-sources@1.1.0
  ├── source-list-map@2.0.0 deduped
  └── source-map@0.6.1

npm ERR! peer dep missing: tns-core-modules@^3.0.0, required by nativescript-couchbase@1.0.18
npm ERR! peer dep missing: tns-core-modules@^3.0.0, required by nativescript-youtubeplayer@3.0.1
npm ERR! extraneous: glob@7.1.2 /Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/fsevents/node_modules/glob
npm ERR! extraneous: nopt@4.0.1 /Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/fsevents/node_modules/nopt
npm ERR! extraneous: semver@5.5.0 /Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/fsevents/node_modules/semver
npm ERR! extraneous: tar@4.4.1 /Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/fsevents/node_modules/tar
npm ERR! extraneous: wide-align@1.1.2 /Users/felipe/Projects/InnovareTI/Emulzint/emulzint-mobile/node_modules/fsevents/node_modules/wide-align
npm ERR! missing: nopt@^4.0.1, required by node-pre-gyp@0.10.0
npm ERR! missing: tar@^4, required by node-pre-gyp@0.10.0
mbektchiev commented 5 years ago
├─┬ nativescript-imagepicker@5.0.2
│ ├── nativescript-permissions@1.2.3
│ ├── nativescript-ui-core@1.0.1
│ └── nativescript-ui-listview@3.7.0 deduped
├─┬ nativescript-ui-listview@3.7.0
│ └── nativescript-ui-core@2.0.0

nativescript-imagepicker and nativescript-ui-listview seem to be with incompatible versions. You'll have to upgrade imagepicker to fix the issue with tns plugin update nativescript-imagepicker

mbektchiev commented 5 years ago

It looks like nativescript-imagepicker version 5.x has incompatible dependencies that lead to this duplication. This has been fixed in version 6.0.0.

└─┬ nativescript-imagepicker@5.0.2
  ├── nativescript-ui-core@1.0.1 
  └─┬ nativescript-ui-listview@3.7.0
    └── nativescript-ui-core@2.0.0 
felipebueno commented 5 years ago

Hey that's it!!!

Thank you very much, @mbektchiev! I really appreciate it!

felipebueno commented 5 years ago

Oh, God, I think I celebrated too early.

I've got a new error:

error: exportArchive: Code signing "TNSCore.framework" failed.

Error Domain=IDEDistributionPipelineErrorDomain Code=0 "Code signing "TNSCore.framework" failed." UserInfo={NSLocalizedDescription=Code signing "TNSCore.framework" failed., NSLocalizedRecoverySuggestion=View distribution logs for more information.}

** EXPORT FAILED **

Investigating it now...

felipebueno commented 5 years ago

It works when I delete rm -rf node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core manually.

Does anyone know why is it duplicating?

felipebueno commented 5 years ago

And now it's crashing after the splashscreen :cry: .

Hey @peppeg85 how did you fix this?

mbektchiev commented 5 years ago

@felipebueno I'm glad that you've managed to make it work!

I'm not sure what has caused the above mentioned directory to remain in the tree after upgrading the plugin. Maybe you have had to run npm dedupe once again.

peppeg85 commented 5 years ago

@mbektchiev

@peppeg85 Can you send us more information about the crash? Some device logs for example and what kind of crash it is (e.g. Unhandled exception, signal, Access violation). You can refer to this docs section for guidelines how to obtain diagnostic logs from the device if tns run's output seems to be incomplete for some reason.

i still don't fix it, the app starts but crashes after the splashscreen without any kind of message, i tried to uninstall packages like maps but still doesn't work.

mbektchiev commented 5 years ago

Can you try launching the app from Xcode and see if there'll be any output there?

peppeg85 commented 5 years ago

hello, i've opened the xcodeproj file, when i run i have the following error:

ld: framework not found MBProgressHUD
clang: error: linker command failed with exit code 1 (use -v to see invocation)

is this the correct way to run with xcode?

mbektchiev commented 5 years ago

If your project has CocoaPods dependencies then there will be a .xcworkspace directory right beside the .xcodeproj one. This is the one that you have to open.

peppeg85 commented 5 years ago

hello i have this error:

could not attach to pid:"2228"
Ensure “appname” is not already running, and mac has permission to debug it.

is it a problem of permissions?

Edit:

during nativescript running i have these warnings, maybe someone of them could be useful:

warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/UIKit-1V5UHAPTOD24G.pcm
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Darwin-38I6DLZ5IH61J.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Foundation-3DFYNEBRQSXST.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Dispatch-2LX9MWM6UEPQW.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/Dispatch-2LX9MWM6UEPQW.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/ObjectiveC-1R06XOY9T4FIM.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Y0LVQ9G7OBT/ObjectiveC-1R06XOY9T4FIM.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/UIKit-1V5UHAPTOD24G.pcm
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Darwin-38I6DLZ5IH61J.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Foundation-3DFYNEBRQSXST.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Dispatch-2LX9MWM6UEPQW.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/Dispatch-2LX9MWM6UEPQW.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/ObjectiveC-1R06XOY9T4FIM.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9G23JDZCI6P8/ObjectiveC-1R06XOY9T4FIM.pcm
note: Using new build systemnote: Planning buildnote: Constructing build description
Project successfully built.
Installing...
Successfully installed on device with identifier '5E60EAED-CD38-4D00-B4C8-CD78379E326B'.
Successfully transferred all files.
mbektchiev commented 5 years ago

If you have a running debugging session in CLI (tns run or tns debug) you may not be able to start the app from Xcode and vice versa. Make sure that you've stopped all sessions before starting a new one.

These warnings are normal for all tns ios builds and we've already fixed them -- in the next release of NativeScript they won't show up.

peppeg85 commented 5 years ago

here there are xcode errors:


dyld`__abort_with_payload:
    0x110e32240 <+0>:  movl   $0x2000209, %eax          ; imm = 0x2000209 
    0x110e32245 <+5>:  movq   %rcx, %r10
    0x110e32248 <+8>:  syscall 
->  0x110e3224a <+10>: jae    0x110e32254               ; <+20> Thread 1: signal SIGABRT
    0x110e3224c <+12>: movq   %rax, %rdi
    0x110e3224f <+15>: jmp    0x110e31aa8               ; cerror_nocancel
    0x110e32254 <+20>: retq   
    0x110e32255 <+21>: nop    
    0x110e32256 <+22>: nop    
    0x110e32257 <+23>: nop  

dyld: Symbol not found: __T0BOWV
  Referenced from: /Users/mac/Library/Developer/CoreSimulator/Devices/A8869A1E-A38E-4FEE-9181-AFD9A5852FF3/data/Containers/Bundle/Application/9AC06D71-D294-4C71-AE86-5AD33DCE701F/myappname.app/Frameworks/NotaWebViewExt.framework/NotaWebViewExt
  Expected in: /Users/mac/Library/Developer/CoreSimulator/Devices/A8869A1E-A38E-4FEE-9181-AFD9A5852FF3/data/Containers/Bundle/Application/9AC06D71-D294-4C71-AE86-5AD33DCE701F/myappname.app/Frameworks/libswiftCore.dylib
 in /Users/mac/Library/Developer/CoreSimulator/Devices/A8869A1E-A38E-4FEE-9181-AFD9A5852FF3/data/Containers/Bundle/Application/9AC06D71-D294-4C71-AE86-5AD33DCE701F/myappname.app/Frameworks/NotaWebViewExt.framework/NotaWebViewExt
(lldb) 
mbektchiev commented 5 years ago

@peppeg85 Thanks! This is far more meaningful now. I think that the problem is with the NotaWebViewExt.framework, it hasn't been built with support for Swift 4.2 which comes with Xcode 10. Maybe your project links with an older version. This framework seems to be a dependency of the nativescript-webview-ext@0.4.3 plugin. You should check and see if there's an update which fixes the problem.

mbektchiev commented 5 years ago

It seems that version 0.5.0 is rebuilt with Xcode 10 and should have this problem fixed. Refs Added official support for Swift 4.2.

peppeg85 commented 5 years ago

yes, i've upgraded all the dependencies to the latest, but i still crashes, now i have this alert from xcode:

Failed to load Info.plist from bundle at path /Users/mac/Library/Developer/CoreSimulator/Devices/A8869A1E-A38E-4FEE-9181-AFD9A5852FF3/data/Library/Caches/com.apple.mobile.installd.staging/temp.1jTLCJ/extracted/Payload/myappname.app

this is the error in the console:

Unable to apply changes on device: A8869A1E-A38E-4FEE-9181-AFD9A5852FF3. Error is: Command xcrun with arguments simctl install A8869A1E-A38E-4FEE-9181-AFD9A5852FF3 /Users/mac/WebstormProjects/myappname/platforms/ios/build/emulator/myappname.app failed with exit code 1. Error output:
 An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Failed to load Info.plist from bundle at path /Users/mac/Library/Developer/CoreSimulator/Devices/A8869A1E-A38E-4FEE-9181-AFD9A5852FF3/data/Library/Caches/com.apple.mobile.installd.staging/temp.hj86Ap/extracted/Payload/myappname.app
Failed to load Info.plist from bundle at path /Users/mac/Library/Developer/CoreSimulator/Devices/A8869A1E-A38E-4FEE-9181-AFD9A5852FF3/data/Library/Caches/com.apple.mobile.installd.staging/temp.hj86Ap/extracted/Payload/myappname.app
Underlying error (domain=MIInstallerErrorDomain, code=35):
        Failed to load Info.plist from bundle at path /Users/mac/Library/Developer/CoreSimulator/Devices/A8869A1E-A38E-4FEE-9181-AFD9A5852FF3/data/Library/Caches/com.apple.mobile.installd.staging/temp.hj86Ap/extracted/Payload/myappname.app
.
mbektchiev commented 5 years ago

This is related to another issue that we found with Xcode 10. The fix has already been published in NPM as nativescript@next. You can upgrade NativeScript CLI and try again.

Refs: https://github.com/NativeScript/nativescript-cli/issues/3920