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

Error compiling project after install via CocoaPods #127

Closed
ebenj opened this issue Jul 16, 2017 · 6 comments
Closed

Error compiling project after install via CocoaPods #127

ebenj opened this issue Jul 16, 2017 · 6 comments

Comments

@ebenj
Copy link

ebenj commented Jul 16, 2017

Hi,

I have just installed BTNavigationDropdownMenu via CocoaPods. Now when I compile my project I get 83 errors related to BTNavigationDropdownMenu pod.

Is there anything I should change?

Demo project worked fine.

@ghost
Copy link

ghost commented Jul 18, 2017

Add pod in that way
pod 'BTNavigationDropdownMenu', :git =>
'https://github.com/PhamBaTho/BTNavigationDropdownMenu.git'

It should works fine.

@ebenj
Copy link
Author

ebenj commented Jul 18, 2017

Thanks. It worked

@cdunkel
Copy link

cdunkel commented Sep 25, 2018

@sacred0x01 do you know why that change is necessary or what the difference is between specifying the git repo and just adding the lib through Cocoapods?

@ghost
Copy link

ghost commented Sep 26, 2018

@cdunkel it's because of some errors in podfile. May be wrong branch on something like that. Or podspec just outdated. Anyway right now author left this project)

@PhamBaTho
Copy link
Owner

PhamBaTho commented Sep 26, 2018

@sacred0x01 I suspect that pod repo update was not run for a while, which might lead to the conflict between podspec in CocoaPods Master Repo and podspec in this repo.

Relating to above 83 errors, it could be the misuse of v.0.4.1 as I mentioned here #144 (comment).

I'm not leaving this project, I had some personal issues last year so I couldn't maintain the project at that time. Now I'm back. Feel free to let me know if any improvement needed. Thanks.

@cdunkel
Copy link

cdunkel commented Sep 26, 2018

@PhamBaTho, not sure if this is related at all to the issues that @sacred0x01 was seeing, but I did notice that when using the swift-3.0 branch of this project the project is still set to use Swift 4. That is why my Podfile needed that post-install script to reset the Swift version back to 3.

If I have time later I can see about creating a PR with a fix for that, if that really is an issue.

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

No branches or pull requests

3 participants