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

Firestore iOS build error #2700

Closed
blueromans opened this issue Oct 23, 2024 · 2 comments
Closed

Firestore iOS build error #2700

blueromans opened this issue Oct 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@blueromans
Copy link

blueromans commented Oct 23, 2024

Description

Im getting 'RNSkInfoParameter.h' file not found error when I try to use with Firestore. I tried difficult version combination however I couldn't build. Current version 1.5.0 and react-native-skottie: 2.1.4

Version

1.5.0

Steps to reproduce

Add firestore and react-native-skottie to project

Snack, code example, screenshot, or link to a repository

 "dependencies": {
    "@openspacelabs/react-native-zoomable-view": "^2.1.6",
    "@react-native-community/datetimepicker": "^8.2.0",
    "@react-native-firebase/app": "^21.2.0",
    "@react-native-firebase/firestore": "^21.2.0",
    "@react-native-firebase/messaging": "^21.2.0",
    "@react-native-masked-view/masked-view": "^0.3.0",
    "@react-navigation/bottom-tabs": "^6.6.1",
    "@react-navigation/native": "^6.1.9",
    "@react-navigation/stack": "^6.3.20",
    "@reduxjs/toolkit": "^2.2.8",
    "@sentry/react-native": "^5.33.2",
    "@shopify/flash-list": "^1.7.1",
    "@shopify/react-native-skia": "^1.5.0",
    "@tanstack/react-query": "^5.8.9",
    "date-fns": "^4.1.0",
    "i18next": "^23.7.7",
    "ky": "^1.1.3",
    "react": "^18.3.1",
    "react-hook-form": "^7.53.0",
    "react-i18next": "^13.5.0",
    "react-native": "^0.75.4",
    "react-native-alert-notification": "^0.4.0",
    "react-native-device-info": "^13.1.0",
    "react-native-element-dropdown": "^2.12.2",
    "react-native-gesture-handler": "^2.14.0",
    "react-native-image-picker": "^7.1.2",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-mmkv": "2.11.0",
    "react-native-modal-datetime-picker": "^18.0.0",
    "react-native-pager-view": "^6.4.1",
    "react-native-reanimated": "3.15.5",
    "react-native-safe-area-context": "^4.7.4",
    "react-native-screens": "^3.27.0",
    "react-native-skottie": "^2.1.4",
    "react-native-svg": "^15.8.0",
    "react-native-vector-icons": "^10.2.0",
    "react-native-video": "^6.7.0",
    "react-native-video-controls": "^2.8.1",
    "react-redux": "^9.1.2",
    "redux": "^5.0.1",
    "redux-persist": "^6.0.0"
  },

Podfile

pod 'FirebaseCore', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
pod 'FirebaseCoreExtension', :modular_headers => true
pod 'FirebaseFirestoreInternal', :modular_headers => true
@blueromans blueromans added the bug Something isn't working label Oct 23, 2024
@wcandillon
Copy link
Contributor

closing as a duplicated of margelo/react-native-skottie#59 for which I submitted a fix as well

@JimTeva
Copy link

JimTeva commented Nov 4, 2024

For others: the fix is to remove/comment the line 15 of file node_modules/react-native-skottie/cpp/RNSkSkottieView.h: #include "RNSkInfoParameter.h"
(For the moment I recommend doing a patch-package until the PR is approved)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants