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.

npm link plugins fail to find source_files on iOS

See original GitHub issue

When developing a plugin and using npm link, npx cap update ios finds the plugin and runs the install, but none of the source files copy over from cocoapods.

I’m guessing this is a cocoapods issue but wanted to file it here so we can figure out exactly where things are breaking

screen shot 2018-05-11 at 4 20 14 pm

screen shot 2018-05-11 at 4 20 35 pm

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mlynchcommented, May 11, 2018

I can get it to work by putting the podspec into the ios folder in the plugin, but that ends up with some other weird behavior:

screen shot 2018-05-11 at 4 32 50 pm screen shot 2018-05-11 at 4 32 58 pm screen shot 2018-05-11 at 4 31 32 pm

0reactions
jcesarmobilecommented, Feb 27, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

cordova - Phonegap 3.0 IOS plugins not found
I was using PhoneGap 3.0/3.1 and was removing the local build folder before rebuilding (since I had to copy icons and stuff in...
Read more >
npm-link
First, npm link in a package folder with no arguments will create a symlink in the global folder {prefix}/lib/node_modules/<package> that links to the...
Read more >
Creating your first Cordova app
Install the cordova module using npm utility of Node.js. ... installed Cordova tooling for iOS requires Apple OS X Error: Some of requirements...
Read more >
Parcel
Many diagnostics even include a documentation link where you can learn more. $ parcel index.html Server running at http://localhost:1234 Build failed.
Read more >
Why isn't the npm link command working? | Benjamin W Fox
I don't know, this thing's complicated! Understanding more about what's going on under the hood and looking at some common issues may help....
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