How To Reproduce
- Clone this repo, you shouldn have no Pods folder in your local repo for it's ignored by git
- Do
pod install
and nothing change (or may only change task hash ID of[CP] Copy Pods Resources
). Compile project and all goes well. - Do
pod install
again, and new changes appear onBuildFailExample.xcodeproj/project.pbxproj
.[CP] Copy Pods Resources
build phase script is removed and project will fail to build becauseFirebase.h
can not be found in its modulemap. - This is because that Original Firebase header in
Pods/Firebase/CoreOnly/Source/Firebase.h
is removed during secondpod install
- Clear all Pods folder by
rm -rf Pods
, and then you go back to step 1.