intuit / CardParts

A reactive, card-based UI framework built on UIKit for iOS developers.
Other
2.52k stars 224 forks source link

[help wanted]pod install doesn't include the development Pods #258

Open xyd945 opened 3 years ago

xyd945 commented 3 years ago

Hi it's a dummy question, but I just finished my iOS course, and trying to build my 1st app.

I cloned the Example, installed the Pod, everything is working. However, when I install the Pod in my own Xcode project... it is missing the Development Pods, which end in missing those CardPartsViewController.....

Screen Shot 2020-09-15 at 11 02 05 PM

Any one can help? Thanks. or would you mind make a tutorial how to use this CardParts library? Appreciate it your help or feedback. 🙏

xyd945 commented 3 years ago

seems I cannot change the label this.... it's "help wanted" request. please...

rcole34 commented 3 years ago

Hi @xyd945, sorry for the late response! Hopefully you figured this out by now, but the "Development Pods" section will not show up if you are working from a published version of CardParts (or any other pod for that matter). In the Example project, notice that the Podfile mentions pod 'CardParts', :path => '../', which points to the local (development) version of the library, rather than the published version that would be loaded if the Podfile said pod 'CardParts', or pod 'CardParts', '3.2.0'.

When you include CardParts as a dependency in the Podfile of your own Xcode project and pod install, it should show up under Pods. You can use it in your own project by mentioning import CardParts at the top of the file, which should allow you to use CardPartsViewController and other classes that are a part of the CardParts library. I hope this helps if you were not already able to figure this out!