oblador/react-native-shimmer

Shimmer not working on IOS RN 0.59.1

mandhu opened this issue · 4 comments

IOS compile error
Xcode v 10.1
error: Build input file cannot be found: '........./RN59/node_modules/react-native-shimmer/ios/Shimmer/FBShimmering/FBShimmeringView.m'
any solution?

Any solution?

You are running into an issue with the latest change in 0.5.0 to remove the FBShimmering submodule. Now this project expects you to use Cocoapods.
There is more detail in the PR. I just outlined the problem there: #18 (comment)

If anyone has a workaround, I'm all ears. For now though, just downgrade to 0.4.1.

Using pod 'react-native-shimmer', :path => '../node_modules/react-native-shimmer' instead of the documented pod 'react-native-shimmer', :path => '/node_modules/react-native-shimmer' in your podfile allows you to properly install and fixes the error.

Using RN 60 or later it should work completely out of the box with auto-linking which is based on CocoaPods.