-
Notifications
You must be signed in to change notification settings - Fork 13
After install this library there is a small bug. #3
Comments
Can you provide more details:
|
hello,
Thanks ! |
What's your project deployment target? iOS8? |
yes, my project deployment target iOS 8.0 |
Have to tried to update your Cocoapods? |
I was getting the same error, changing the following made the error go away and builds fine. CCDropDownMenu.h line 37 change property from weak to unsafe_unretained
|
Just did a pull request to fix that issue. I used the solution that @exavi proposed. You may also use strong which fixes the error, but that might cause a retain cycle. |
Try to add the snippet below to your Podfile and run post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if target.name == 'CCDropDownMenus'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '8.0'
end
end
end
end Let me know if it works. |
Hey,
Just got around to adding it and it looks like that fixes the issue.
…On Nov 23, 2017, 10:26 PM -0500, Cokile Ceoi ***@***.***>, wrote:
Try to add the snippet below to your Podfile and run pod install.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if target.name == 'CCDropDownMenus'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '8.0'
end
end
end
end
Let me know if it works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
So it's the problem of the Podspec file, not the code. I will release a new version to fix this issue later. For now, just use the Podfile workaround above instead of changing |
@Cokile Awesome! Thanks for that link too. I didn't want to use Thanks again. |
It is a nice library and it easy to use ,but after install it have a bug.
How to solve it ?
Thank you!
The text was updated successfully, but these errors were encountered: