In 1.6.0, the cwd wasn't added to the list of local sources (AFAICT), but in v2.0.0, the cwd is added as an absolute path, so if you specify local sources, they can be at odds with each other.
In v2.0.0, I cannot generate my project and the following error is printed:
Generating GoogleDataTransportCCTSupport in `gen/GoogleDataTransportCCTSupport`
[!] There are multiple dependencies with different sources for `GoogleDataTransportCCTSupport` in `CocoaPods.podfile.yaml`:
- GoogleDataTransportCCTSupport/Tests-Integration (from `../../GoogleDataTransportCCTSupport.podspec`)
- GoogleDataTransportCCTSupport/Tests-Monkey (from `../../GoogleDataTransportCCTSupport.podspec`)
- GoogleDataTransportCCTSupport/Tests-Unit (from `../../GoogleDataTransportCCTSupport.podspec`)
- GoogleDataTransportCCTSupport/TestApp (from `../../GoogleDataTransportCCTSupport.podspec`)
- GoogleDataTransportCCTSupport (from `../../GoogleDataTransportCCTSupport.podspec`)
- GoogleDataTransportCCTSupport/TestApp (from `/Users/haneym/coding/firebase-ios-sdk/GoogleDataTransportCCTSupport.podspec`)
Steps to reproduce: (assuming cocoapods and cocoapods-generate is installed):
brew install protobuf nanopb-generator
easy_install --user protobuf
git clone git@github.com:firebase/firebase-ios-sdk.git
cd firebase-ios-sdk
GDT_DEV=1 pod gen GoogleDataTransportCCTSupport.podspec --auto-open --gen-directory=firebase-ios-sdk/gen --local-sources=firebase-ios-sdk --clean --verbose --platforms=ios,macos,tvos
In 1.6.0, the cwd wasn't added to the list of local sources (AFAICT), but in v2.0.0, the cwd is added as an absolute path, so if you specify local sources, they can be at odds with each other.
In v2.0.0, I cannot generate my project and the following error is printed:
Steps to reproduce: (assuming cocoapods and cocoapods-generate is installed):