Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS wrong reference resource folder for splashScreen png #63

Open
Kamill90 opened this issue Jul 17, 2018 · 1 comment
Open

iOS wrong reference resource folder for splashScreen png #63

Kamill90 opened this issue Jul 17, 2018 · 1 comment

Comments

@Kamill90
Copy link

I have done everything according to manual and it works fine on both platforms. However, when I reinstall all packages with 'yarn' command on iOS I see error:

CopyPNGFile build/Build/Products/Debug-iphonesimulator/projectname.app/[email protected] /Users/.../node_modules/react-native-smart-splash-screen/ios/SplashScreenResource/[email protected]
(1 failure)

After changing png file in module folder everything is ok again, but I would like rather have reference to my asset folder that is not ignoring by git.

Any way to achieve that?

@ostinred
Copy link

@Kamill90 I think you skipped these steps
Look for Header Search Paths and make sure it contains $(SRCROOT)/../../../react-native/React as recursive.
and
In your project, Look for Header Search Paths and make sure it contains $(SRCROOT)/../node_modules/react-native-smart-splash-screen/ios/RCTSplashScreen/RCTSplashScreen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants