prscX / react-native-app-tour

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

Error Build iOS #84

Closed tamacroft closed 4 years ago

tamacroft commented 4 years ago

it show error MaterialShowcase/MaterialShowcase-Swift.h' file not found in RNApptour.h

btw i'm using react-native: 0.61.4

prscX commented 4 years ago

Thanks @tamacroft for raising issue.

Could you please share the library version as well. Requesting to use latest released version and follow installation steps for the same.

Thanks </ Pranav >

billdami commented 4 years ago

I am seeing this same issue on react-native 0.61.3, using the latest version of this package (1.0.2)

prscX commented 4 years ago

@billdami: Did you added the native library to your Podfile?

Thanks </ Pranav >

Doha26 commented 4 years ago

Hi @tamacroft , 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.

@tamacroft: For details, please refer installation steps defined in README

Thanks </ Pranav >