question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[IOS]Unexpected duplicate tasks

See original GitHub issue

When i am in a working env dev with npm links i might end up with an XCode build error Unexpected duplicate tasks It is due to native deps being added twice. For example my plugin nativescript-gesturehandler comes with a framework. In my current case i have it in my app package.json but also as a dependency of another plugin. Consequently i have nativescript-gesturehandler in:

  • node_modules/nativescript-gesturehandler
  • node_modules/nativescript-chart/node_modules/nativescript-gesturehandler

Could you filter duplications when creating the XCode project and adding modules targets?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
mvnidheesh1992commented, Sep 13, 2021

@rigor789 Yes. it is working fine. Thank you !!!

1reaction
farfromrefugcommented, Jan 22, 2020

@rosen-vladimirov awesome! will test it and report any error. Will actually leave this open until i can confirm it works

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unexpected duplicate tasks - iOS 13 - Xcode 11 #9 - GitHub
Go to "Compile Sources" & "Copy Bundle resources" in Build Phases. If you see the same file within both of those drop downs,...
Read more >
Xcode 10 unexpected duplicate task: CopyPlistFile
10.0. Now I try to build my tvOS project and I see the following error: unexpected duplicate task: CopyPlistFile /Users/username/Library/ ...
Read more >
Project with Swift Package depende… - Apple Developer
Project with Swift Package dependencies results in "Unexpected duplicate tasks" error.
Read more >
Unexpected Duplicate Tasks Error : r/swift - Reddit
Unexpected Duplicate Tasks Error · Deleting derived data · Clean build folder · Restarting Xcode · Altering the pbxproj file to remove duplicates....
Read more >
Swift package with resources in iOS project won't compile test ...
We can't even build the project. Unexpected duplicate tasks: 1) Command: ProcessXCFramework /Users/victorbaro/Library/Developer/Xcode/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found