ziyang0621 / ZTDropDownTextField

MIT License
63 stars 16 forks source link

Use of unresolved identifier 'POPBasicAnimation' #1

Closed ban9ban3 closed 9 years ago

ban9ban3 commented 9 years ago

Can you help me? I just install pod and open it. but it show 6 error: in ZTDropDownTextField.swift

ziyang0621 commented 9 years ago

Hi @ban9ban3,

ZTDropDownTextField uses Facebook pop as its dependency. So it is better to use it via cocoapods.

In your Podfile, you can just do the following:

use_frameworks! pod 'ZTDropDownTextField'

ban9ban3 commented 9 years ago

I did that but it still show that error:

This is my Podfile:

target 'ZTDropDownTextField' do

pod 'pop', '~> 1.0' pod 'ZTDropDownTextField'

end

target 'ZTDropDownTextFieldTests' do

end

use_frameworks!

ziyang0621 commented 9 years ago

I wonder why your target is ZTDropDownTextField? Did you download the project via the Download Zip button? If so, you should not need to change the Podfile.

ban9ban3 commented 9 years ago

Thansk!! I redownload and install without add this line. It working. :+1:

ziyang0621 commented 9 years ago

Nice! Grad you resolved it.