-
Notifications
You must be signed in to change notification settings - Fork 433
Closed
Labels
cocoapodsRelates to CocoaPodsRelates to CocoaPodskind/supportAdopter support requests.Adopter support requests.
Description
What are you trying to achieve?
Use gRPC-Swift
as a dependency in a .podspec
file of a Pod, let's call it X
, and use X
in a project where Firebase/Firestore
is used as well:
Project's Podfile
:
target '<Project name>' do
use_frameworks!
pod 'Firebase/Firestore'
pod 'X'
end
X.podspec
file:
Pod::Spec.new do |spec|
spec.name = "X"
spec.dependency 'gRPC-Swift', '1.0.0-alpha.21'
end
This results in the same problem mentioned in this issue.
What have you tried so far?
I have tried the solution mentioned here. However, this solution doesn't work when gRPC-Swift
is used as a dependency for another pod since, in podspec files, it's only allowed to define the name and the version specifier of a Pod and it's not possible to provide a specific podspec
file. Basically, the following isn't valid in a podspec
file: s.dependency 'gRPC-Swift', :podspec => 'gRPC-Swift.podspec'
Metadata
Metadata
Assignees
Labels
cocoapodsRelates to CocoaPodsRelates to CocoaPodskind/supportAdopter support requests.Adopter support requests.