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

Please add your code to cocoapods #9

Closed
nathan-alden-sr opened this issue Nov 4, 2013 · 17 comments
Closed

Please add your code to cocoapods #9

nathan-alden-sr opened this issue Nov 4, 2013 · 17 comments

Comments

@nathan-alden-sr
Copy link

It would be handy if this library were available as a pod.

@xareelee
Copy link

Agree! Please add it to Cocoapods spec.

@hackiftekhar
Copy link
Owner

I tried it. But I was unable to add it to cocoapods spec. If you can help me with this please let me know the suitable timings.

@nathan-alden-sr
Copy link
Author

Go here: http://cocoapods.org/

Then, click on the massive CREATE A POD link. It's pretty easy. :)

@hackiftekhar
Copy link
Owner

Thanks for the great suggestion. Here is the cocoapod link:-
pod 'IQKeyboardManager', '~>2.5.0'

Regards
Iftekhar

@EvgenyKarkan
Copy link

Why 2.5.0 and not 1.0.0?

@hackiftekhar
Copy link
Owner

I released v1.0 basic functionality previously. Whenever I add a new functionality on this I increased a version number i.e. 1.0->2.0. Whenever I fix a bug I change the version number from 1.0->1.1.

@hansaaaaa
Copy link

I am trying to run this, but on pod install, I get

Analyzing dependencies
[!] Unable to find a specification for IQKeyboardManager~>2.5.0

@GawenBerger
Copy link

You can be sure to always get the last version by doing :
pod 'IQKeyboardManager'
or if you want to get the last version there is at the moment :
pod 'IQKeyboardManager', '~> 3.2.0.3'

@hansaaaaa
Copy link

Hey, thanks, but I still get issues with this. This is what my podfile now is:

source 'https://github.com/hackiftekhar/IQKeyboardManager.git'

pod 'IQKeyboardManager'

xcodeproj '../myProject.xcodeproj'

without the version constraint, I get this, instead of the previous issue:

Analyzing dependencies
[!] An unexpected version directory Categories was encountered for the /Users/myUser/.cocoapods/repos/hackiftekhar/IQKeyboardManager Pod in the IQKeyboardManager repository.

Is there something not right with what is in the podfile? I haven't done this before

Thanks!

@GawenBerger
Copy link

I don't think you have to specify IQKeyboardManager as source, try this and tell me if it works :

source 'https://github.com/CocoaPods/Specs.git'
pod 'IQKeyboardManager'

@hansaaaaa
Copy link

Beatiful, thank you so much, works like a charm now ;)

@hansaaaaa
Copy link

Also, thanks to hackiftekhar for this great library, and cocoapods also awesome. super ;)

@hackiftekhar
Copy link
Owner

Cheers !!!

@hackiftekhar hackiftekhar self-assigned this Jan 7, 2015
@hackiftekhar
Copy link
Owner

Could you please confirm you're getting this error by creating new project and install via cocoapods. FYI, this is cocoapods issue and not from the library.

@youbinbin
Copy link

3.3.7 is the last iOS 7 supported version.
ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/IQKeyboardManager.framework/IQKeyboardManager) for architecture arm64

@nhatlee
Copy link

nhatlee commented Aug 22, 2017

@hackiftekhar have any solution for work around?

@nhatlee
Copy link

nhatlee commented Aug 22, 2017

@youbinbin go to Build Phrases -> Link Binary With Libraries then add IQKeyboardManager.framework. Then it's worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants