undefined method `empty?' for nil:NilClass at target_validator.rb:118 when changing swift_versions in pre_install step #9745
Labels
s2:confirmed
Issues that have been confirmed by a CocoaPods contributor
t2:defect
These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
Milestone
Report
What did you do?
Got the following
Podfile
:What did you expect to happen?
pod install
does not crashWhat happened instead?
pod install
crashed with:CocoaPods Environment
Tested with cocoapods versions:
1.8.4
: not crashing1.9.1
: crashingCatalina 10.15.4, Xcode 11.3.1.
Project that demonstrates the issue
Just run
pod install
in thePodfile
I shown above.Looks similar issue than the one explained in #9688
The text was updated successfully, but these errors were encountered: