I have some doubt on CocoaPods
- I think the 1st rule is that keep Podfile and ignore pods folder entirely. But I am so confused about this after I have used some time
- Since I insist on #1, somebody says *.lock should be kept in repo. Do I need do this?
- Pods generates some
xconfigfiles, it seem I can't addHEADER_SEARCH_PATHin it ? ifYES, it breaks my rule #1 again. Please see this question the-target-overrides-the-other-ldflags-build-setting-defined-in-pods-pods - some buddies modify codes managed by CocoaPods such as AFNetworking rather than from custom repo. I told him NEVER do this because it will recover to origin version after
pod update/installbut afterpod update/installhis code didn't change. that's WHY?
My opinion is DON'T MODIFY EVERTHING IN PODS PROJECT EXCEPT PODFILE