LottieFiles / dotlottie-ios

.lottie player for iOS
MIT License
48 stars 7 forks source link

Can't add package in XCode 15.1. #9

Open TheHmmka opened 11 months ago

TheHmmka commented 11 months ago

Hello!

I constantly get next error and can't use this library in my project.

Screenshot 2023-12-21 at 12 35 47 PM
samuelOsborne commented 11 months ago

@TheHmmka Whats the version of the targets your targeting? macOS, iOS etc..

TheHmmka commented 10 months ago

@TheHmmka Whats the version of the targets your targeting? macOS, iOS etc..

iOS started from 14.0

samuelOsborne commented 10 months ago

@TheHmmka Please pull, works for ios 14 now 🥳

TheHmmka commented 10 months ago

@TheHmmka Please pull, works for ios 14 now 🥳

The same issue =((

ryo0126 commented 10 months ago

Hello! I'm trying to use this library as the previous repo is no longer maintained, but the same issue is happening in my project.

dotlottie-ios could not be resolved:

スクリーンショット 2024-01-30 17 35 29

How can I solve this issue?

Environment

samuelOsborne commented 10 months ago

Let me check @ryo0126 And get back to you

samuelOsborne commented 10 months ago

hey @ryo0126 @TheHmmka I can't reproduce this error - I followed the steps in the README using the project link when adding the package to the ios project: https://github.com/LottieFiles/dotlottie-ios

could you please link a project recreating it ? Or email it to me at sam@lottiefiles.com

image

image

image

ryo0126 commented 10 months ago

@samuelOsborne Thank you so much for your investigation.

I'm sorry, I checked it again and the cause was my setting of SSH.

I created a new project to test it and added dotLottie via SwiftPM, and the same error happened, and it seemed failed to clone the submodule, Thorvg, inside dotLottie. So I removed all SSH keys from my Mac and GitHub and created/registered it again, resulting in success adding dotLottie via SwiftPM.

Thank you so much again.

samuelOsborne commented 10 months ago

thanks for your response @ryo0126

Im glad you found a solution, not sure removing ssh keys will be great for everyone encountering this issue though :/

Will leave open to look in to it more for the moment