Compile Errors in CardTableView Sample (Programmatic)
Closed this issue · 9 comments
What version of Material are you using and have you added the framework to the project either by embedding it or CocoaPods?
I went into the source directory and ran pod install and it pulled in 2.6.3 of Material.
Try and make sure that the CocoaPods cache is cleared in your local environment.
I ran "pod cache clean --all" then ran pod install again and it pulls in the same Material version 2.6.3.
I see that you've updated the Samples for Material version 2.9.3. Do I need that version of Material in order to get the Samples to compile? I did an experiment by updating the podfile to specify 2.9.3 as the minimum Material version, but pod install just said that version did not exist. So I don't understand how to pull in version 2.9.3 of Material that the project seems to need.
try pod update
rather than pod install
and go back to the original Podfile, and try pod update
Yayee! thats fixed it. Thank you Daniel! pod update pulled in 2.9.4 and all is well. Thank you! I'm new to using cocapods, I'm not clear why "pod install" brings in 2.6.3 but pod update installs "2.9.4"?
I don't personally use CocoaPods, but what I do know is that clearing its cache and calling pod update
is magic :) Happy it worked out, all the best!