-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Error in Latest versions (3.0.1) #511
Comments
It would be good to get these released to npm as the build gradle update changing the react native dependency from |
I'm having some issues building I want to make sure they are fixed before publishing. Hopefully 3.0.1 should be on npm later today. Sorry for the confusion |
Done! @owinter86 @cheeaun Could you guys do me a favor and test if everything is working fine for you? I think I managed to fix all the issues but it would be great to have a some other real projects running |
@emilioicai
lottie-react-native |
I have different problem:
I have linked the |
@StanislavMayorov I can confirm that the pod install issue is due to the incorrect lottie-ios version specified in the podspec file. Should be 3.0.3 not 3.0.4. |
@StanislavMayorov Was able to workaround the issue for now by switching
to
in my Podfile. Hope that helps |
Followed your advice @mysport12 I can now install the pod but getting
|
Adding |
Adding
|
@lyqht same issue |
@lyqht How do you solve this problem? tanks |
@lyqht hello, i find the way. https://stackoverflow.com/questions/52536380/why-linker-link-static-libraries-with-errors-ios/53101587# i use second way |
Guys, I just released 3.0.2 fixing the lottie-ios 3.0.3 dependency issue but I'm afraid there are more issues, specially when using RN 0.60.0. I would really appreciate if you guys could send any issues you are facing, including versions of RN and lottie-react-native. Thanks! |
@emilioicai
RN version: 0.59.10 |
I guess I should mention I'm on RN 0.59, "lottie-ios": "^3.0.3", and "lottie-react-native": "^3.0.1",
I then change this
Putting
I then tried what was described here and got this:
And that's where I'm stuck. |
I solved by this patch(delete the duplicate file).
|
I am also experiencing same issues @alimek RN Version: 0.59.10
|
If use_modular_headers isn't compatible with your pod file, try use_frameworks instead |
you ever fix this issue? facing the same issue |
@ganoch nope, just downgraded to |
@alimek I just deleted and removed every instance of lottie on my setup, including previous manually set up lottie libraries, then relinked and pod installed and then it worked I think I should have removed all manual references before reinstalling the new version. |
@alimek What was the process you took to install 2.6.1? I had similar issues installing 3.0.x. And what version of |
there is definitely cache issue somewhere here, after deleting DerivedData the problem reappeared |
I am currently executing the exact installation steps in the README using RN 0.60.4. Autolinking apparently does not work, because the pod paths for lottie-ios and lottie-react-native don't appear in the Podfile, so I linked them manually. Following that, I tried running react-native run-ios, but there seems to be a module map problem.. more specifically: fatal error: module map file '...Xcode/DerivedData/.../Build/Products/Debug-iphonesimulator/lottie-ios/Lottie.modulemap' not found What is the latest stable version of RN/Lottie-ios/Lottie-React-Native that you guys were able to make the lib work with? |
Ok. Made it work in RN 0.60.4, somehow. I don't know if it was just lucky or replicable, I've been at it for the good part of the last 7h.. I'm going to go step-by-step...
Just that. Before, I tried practically every solution posted til now, including the empty swift file, bridging header, PATH and other solutions. Nothing worked. This magically did the trick. Hope it helps. Cheers. |
@mateomarin the OR i haven't tried it yet, but @tokinonagare's patch should work, combined with EDIT: I'm currently on manual installation, because of different issues with different packages. So, I can't really tell if it works with Pods. |
Same here, stuck at pod install/build. After getting stuck the same way @pianoman730 did, I tried adding the lottie.framework to embedded binaries and I now have one error preventing me from the build: |
I am able to get below versions to compatibly work in iOS.
Now |
for me it was only adding the swift dummy file as @MaRuifeng told, step 4 |
@pianoman730, Following @mynamespace advice, updating cocoapods solve the issue! Yay thanks @mynamespace |
It doesn't in my case. Stuck on
|
Updated as of 07/10/2019 lottie-ios: 3.1.3
(no modification in Podfile) |
Same here. Still same error occurs even after updating cocoapods to 1.7.5. Did you find a solution? |
I was able to make it work using patch-package lib. I've patched the xcodeproj file: install the patch-package lib to dev dependencies: edit your package.json file and add create a patches folder, and create an empty file in it called 'lottie-ios+3.0.3.patch' and copy paste this: https://gist.github.com/adamivancza/bc75187ad4d11f1275020c6b4051316c now when you run npm or yarn install you should see a following message: |
Creating the bridge header file solved the issue for me. |
NOTE: creating bridging header easy and fast way:
|
First Update cocoapods with command
Then following Error coming "NameError - uninitialized constant Concurrent::Promises" Fix with link . Run Command
Then following errors are coming
Fix by adding "$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)" to the library search paths of your target , See link |
what solved a similar error for me was creating an empty swift file in xcode |
@JakeHadley: I am getting the same issue, see: react-native-maps/react-native-maps#3209 |
thanks bud, works perfectly now |
this worked for me, thanks! |
Updating lottie solved for me. |
Upgrading xCode always seem to throw ten spanners in the works. Tried everything here to no avail, anyone with any other ideas. I am stuck. |
I'm closing this as a version update should solve this issue. |
Which version of which library should solve this? |
lottie-react-native 4.0.2 |
I am using that version and still getting the following:
|
Getting same error for |
it got fixed using facebook/react-native#26217 (comment) |
Getting this error on version V4.0.2 The Swift pod Any help. |
I got this same error and was able to solve it by updating my project from react native v0.63.2 to v0.64.2. |
Works fine with
|
From the changelog, version 3.0.0 and 3.0.1 are released. On npm, both versions are not available.
Any plans on publishing?
The text was updated successfully, but these errors were encountered: