prscX / react-native-app-tour

React Native: Native App Tour Library
Apache License 2.0
640 stars 119 forks source link

Can't run on RN 61.5 - IOS #89

Closed movie4 closed 4 years ago

movie4 commented 4 years ago

Hello!

/node_modules/react-native-app-tour/ios/RNAppTour.h:3:9: fatal error: 'MaterialShowcase/MaterialShowcase-Swift.h' file not found
#import "MaterialShowcase/MaterialShowcase-Swift.h"

Example not working

Doha26 commented 4 years ago

Hi @movie4 , try to add this in your podfile

pod 'RNAppTour', :path => '../node_modules/react-native-app-tour/ios'

use_frameworks!

pod 'MaterialShowcase',:git => 'https://github.com/prscX/material-showcase-ios', :branch => 'swift-version-fix'

after that , run pod install.

also ensure that MaterialShowcase.framework is added in "link binaries with library" in your target Build phase and also in "Framework, library and embedded content".

and see if everything work properly

prscX commented 4 years ago

Thanks @Doha26 for sharing the installation steps.

@movie4: Hope this would have helped you.

Thanks </ Pranav >