Comments (17)
I had this problem just now (also only lottie)
Actually "fixed" it by switching from my home wifi to mobile hotspot connection.
🤷
from lottie-react-native.
Hi @FaridMicrocis
From the logs you have given, this seems like a network error:
Cloning into '/var/folders/nl/31c7y4xx28gbp00lhl8x7s5r0000gn/T/d20240211-18863-w6icl4'...
error: RPC failed; curl 18 HTTP/2 stream 5 was reset
error: 6428 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
Looking at the published Lottie-ios package, everything seems fine there. Please try with a different network config, and if it is still failing, please provide a reproducible
from lottie-react-native.
@TheRogue76 thanks for your quick response. As I mentioned in the Note, this happens only for lottie-react-native. I have tested different libraries and the installation completes without any issue.
from lottie-react-native.
@TheRogue76 thanks for your quick response. As I mentioned in the Note, this happens only for lottie-react-native. I have tested different libraries and the installation completes without any issue.
Very well. Please provide a reproducible repository so I can do further investigation.
from lottie-react-native.
I get the following error when trying to pod install:
[Lottie React Native] Using install_modules_dependencies
Auto-linking React Native modules for target fitnessTracker
: BVLinearGradient, RNCAsyncStorage, RNCMaskedView, RNGestureHandler, RNKeychain, RNReanimated, RNSVG, RNScreens, lottie-react-native, react-native-netinfo, and react-native-safe-area-context
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
[Codegen] generating an empty RCTThirdPartyFabricComponentsProvider
Analyzing dependencies
[Codegen] Found FBReactNativeSpec
[Codegen] Found rncore
[Lottie React Native] Using install_modules_dependencies
Downloading dependencies
Installing lottie-ios (4.4.0)
Installing lottie-react-native (6.6.0)
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod lottie-react-native
depends upon glog
, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers!
globally in your Podfile, or specify :modular_headers => true
for particular dependencies.
from lottie-react-native.
Hi @NoamKu95,
Please fill out the issue template or provide a reproducible here so I can take a look. Without those, there is very little I can do.
from lottie-react-native.
glog
I'm facing the same issue here!
Steps to Reproduce
- yarn add lottie-react-native
- cd ios && pod install
Anyone could help us?
from lottie-react-native.
I am closing the issue. Please provide a proper reproducible when opening issues. It is getting tiresome trying to debug things without any context or info to go on. Software development isn't magic. And this project is community-driven, we are all doing this in whatever free time we can find. I have resisted adding a bot for moderating issue openings, but at the rate things have gone for the past couple of weeks I feel like that is the only way we will be able to get anything worthwhile done.
from lottie-react-native.
I get the following error when trying to pod install:
[Lottie React Native] Using install_modules_dependencies Auto-linking React Native modules for target
fitnessTracker
: BVLinearGradient, RNCAsyncStorage, RNCMaskedView, RNGestureHandler, RNKeychain, RNReanimated, RNSVG, RNScreens, lottie-react-native, react-native-netinfo, and react-native-safe-area-context Framework build type is static library [Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json [Codegen] generating an empty RCTThirdPartyFabricComponentsProvider Analyzing dependencies [Codegen] Found FBReactNativeSpec [Codegen] Found rncore [Lottie React Native] Using install_modules_dependencies Downloading dependencies Installing lottie-ios (4.4.0) Installing lottie-react-native (6.6.0) [!] The following Swift pods cannot yet be integrated as static libraries:The Swift pod
lottie-react-native
depends uponglog
, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may setuse_modular_headers!
globally in your Podfile, or specify:modular_headers => true
for particular dependencies.
I figure out the solution.
In my case the problem was the Xcode version, I had installed the 14.2 and after upgrade it to 15.2 the pod install
command worked beautiful!
Good luck for your case!
from lottie-react-native.
For those who have that kind of issue, the only way to make it works is to add again lottie-ios: 4.4.1
in your package.json until lottie-react-native
releases a new version using lottie-ios
>= 4.4.1 (right now lottie-react-native
is using lottie-ios: 4.4.0
).
Lottie ios has the following issue that they fixed on version 4.4.1
: airbnb/lottie-ios#1830
from lottie-react-native.
This issue is from December 2022, And the release they are talking about is 4.0.1, not 4.4.1. The git LFS stuff has not been relevant for a while, since we don't have any files on either side that are that large. The CI is also checking this, hence me asking for a reproducible or at least some info to be able to debug things. Also if you want to update Lottie iOS manually, please always patch the package's podspec. LRN will look for its declared dependency, and chances of things becoming too messy are high.
from lottie-react-native.
did anyone find the solution for it?
from lottie-react-native.
I had this problem just now (also only lottie) Actually "fixed" it by switching from my home wifi to mobile hotspot connection.
🤷
lmao that actually fixes it
from lottie-react-native.
Hi guys.
So, I was also getting errors running pod install
.
This same error:
[!] /usr/bin/git clone https://github.com/airbnb/lottie-ios.git /var/folders/nl/31c7y4xx28gbp00lhl8x7s5r0000gn/T/d20240211-18863-w6icl4 --template= --single-branch --depth 1 --branch 4.4.0
Cloning into '/var/folders/nl/31c7y4xx28gbp00lhl8x7s5r0000gn/T/d20240211-18863-w6icl4'...
error: RPC failed; curl 18 HTTP/2 stream 5 was reset
error: 6428 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Here's what worked for me:
I had to downgrade to [email protected].
yarn add [email protected]
cd ios && pod install.
It worked and I stopped seeing the errors.
Device - Mac Monterey 12
My XCode version: 13.4.
from lottie-react-native.
try this command before running pod install or pod update
git config --global url."[email protected]:airbnb/lottie-ios.git".insteadOf https://github.com/airbnb/lottie-ios.git
AND
git config --global http.postBuffer 1048576000 # Set buffer to 1GB
from lottie-react-native.
downgrading the version to npm i [email protected] worked for me.
from lottie-react-native.
In package.json
Removing ^
sign helped me.
"lottie-react-native": "^6.7.2", ==>> "lottie-react-native": "6.7.2",
from lottie-react-native.
Related Issues (20)
- Possible to change colorFilters dynamically without reseting animation? HOT 1
- [Android | Expo 50 | RN 0.73.4] Memory is not freed on unmount HOT 4
- How to remove lottie-react-native for windows HOT 1
- Cannot run IOS after installing lottie-react-native. HOT 1
- Lottie json crashes on Andriod devices but IOS works fine HOT 6
- Animation flickering & Some animations not even visible on Android HOT 5
- [MACOS App Development][react Native Build Failure] Cannot find type 'Color' in scope HOT 2
- Flashing while animation is playing HOT 1
- Xcode will not build project with [email protected] due to lack of PrivacyInfo HOT 2
- My Lottie animation not working correctly HOT 8
- New version Lottie-ios(4.4.2) minimum deployment target HOT 8
- Conflicts event type within Android/iOS/Windows
- The Swift pod `lottie-react-native` depends upon `DoubleConversion`, which does not define modules. HOT 6
- React-native 074 pod install error HOT 7
- React native 0.74.1 pod install error HOT 1
- lottie-ios 4.4.3 not supported HOT 4
- [Web] Animation doesn't start even when the play method is called
- [Android | Expo 51 | RN 0.74.1] newArchEnabled = true; parseSync is not a function HOT 3
- Not work ref HOT 2
- [Web] Error: lottie-react-native: The module @lottiefiles/react-lottie-player is missing. (Expo 51) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lottie-react-native.