-
Notifications
You must be signed in to change notification settings - Fork 22
Why not use Pod instead? #2
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
Comments
Hi, do you mean using . Podfile file instead of .framework file? only reason I didn't use a pod and instead used a static library is because pod didn't work well with NativeScript versions below 2.0, and tns build always failed, throwing errors for Target not specified, which is a requirement for latest pod and is revamped in 2.0 . I'll look into this and get back at you. If possible, can you provide a link to sample project so I can reproduce the issue? |
Hi @bathejasumeet, I removed the platform ios and added it again, so I couldn't reproduce the error again. I really tried. Anyway! Instead of having the Podfile
Reference: IQKeyboardManager/platforms/ios/Podfile |
I completely understand it is simple and a norm to use podfile instead of static libraries, I agree with you, when you build it on 2.0 it works perfectly, but when using NativeScript 1.7.2 or 1.6 , the build fails with podfile. It throws a Target not specified exception. The cocoa pods package manager pod specs changed in between NS 1.7.2 and 2.0 , and to adapt to the latest pod spec changes were made in 2.0. .Framework file is used for backward compatibility and it is build from same repo using Carthage. Does the problem still persist after adding and removing platform? |
Sorry I mean removing and adding platform? |
It seems working fine for me. We can close the issue. How about leave the Podfile in a version 2.x for who is using {n} 2.x? up to you, anyway. PS: I also have a question about the Native image-cache library from {N}. Is your library doing a totally different job? Have you used it the {N} one? I'm sorry asking in the same issue. I'm happy to open another one for this question. |
@leocaseiro , Thanks, |
@leocaseiro , |
Uh oh!
There was an error while loading. Please reload this page.
Hi, thanks for this amazing plugin.
I'm trying to implement with Angular.
Anyway. I've got the follow error:
sd_setImageWithURLCompleted is not a function
So I used Pod to install and it seems working great.
How about replace it to implement using Pod? Isn't a better way to maintain this repo?
The text was updated successfully, but these errors were encountered: