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.

Library doesn't compile with RN 0.53.x and Cocoapods

See original GitHub issue

When i use Cocoapods and try to build project with XCode I always get the same error.

Steps to reproduce:

  1. Create new project with react-native init Test
  2. Add package with yarn: yarn add react-native-text-input-mask
  3. Link library
  4. Compile project - it’s ok, compiles well!
  5. Add Cocoapods into ios folder
  6. Open .xcworkspace
  7. Try compile again.

2018-03-01 10 46 10 2018-03-01 10 41 50

I think that there is something wrong with header search path, but don’t even know how to fix it

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

2reactions
IllyaVolkovcommented, Mar 3, 2018

I found solution:

  1. fix imports: screen shot 2018-03-03 at 17 04 21
  2. In RNTextInputMask.xcodeproj > Build Settings > Header Search Path set path search mode to recursive screen shot 2018-03-03 at 17 06 43
0reactions
lyseihacommented, Oct 30, 2018

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

CocoaPods install error on RN 0.60.0 init · Issue #487 - GitHub
Fixed with this - Open Xcode and go to Xcode → Preferences → Locations, and make sure the command line tools is set...
Read more >
Trouble with installing cocoapods | Apple Developer Forums
ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/ext/ffi_c.
Read more >
Compiling error with local CocoaPods pod - Stack Overflow
I've made my static library an local pod of CocoaPods and imported it as one of my pods. However, while compiling my new...
Read more >
React Native Upgrade Helper
React Native 0.60 includes Cocoapods integration by default, AndroidX support, auto-linking libraries, a brand new Start screen and more.
Read more >
react-native-codegen | Yarn - Package Manager
Fast, reliable, and secure dependency management.
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