Unable to find a specification for `PrivatePodBB` depended upon by `PrivatePodAA`
up vote
0
down vote
favorite
I have created 2 private pods first one is PrivatePodAA and second one is PrivatePodBB , I can successfully use PrivatePodBB in PrivatePodAA podfile but while trying to add it as dependency in PrivatePodAA podspec file and trying to install PrivatePodAA as a pod in new project it's showing :
Unable to find a specification for `PrivatePodBB` depended upon by `PrivatePodAA`
I have created my own private repo and added PrivatePodBB podspec file in it.
Below my podfile for PrivatePodAA
which is working perfectly :
// my private repo url
source 'https://privateurl.prv/scm/ios/sdhub.git'
target 'PrivatePodAA' do
pod 'PrivatePodBB', :git => 'https://privateurl.prv/scm/ios/PrivatePodBB.git'
# pod 'PrivatePodBB' # this also working fine
end
And below podspec file for PrivatePodAA
which which causing the problem :
Pod::Spec.new do |s|
s.name = 'PrivatePodAA'
s.source = {
:git => 'https://privateurl.prv/scm/ios/PrivatePodAA.git', :tag => s.version.to_s
}
s.dependency 'PrivatePodBB'
end
So, please what is missed from the above code ?
ios cocoapods podspec
add a comment |
up vote
0
down vote
favorite
I have created 2 private pods first one is PrivatePodAA and second one is PrivatePodBB , I can successfully use PrivatePodBB in PrivatePodAA podfile but while trying to add it as dependency in PrivatePodAA podspec file and trying to install PrivatePodAA as a pod in new project it's showing :
Unable to find a specification for `PrivatePodBB` depended upon by `PrivatePodAA`
I have created my own private repo and added PrivatePodBB podspec file in it.
Below my podfile for PrivatePodAA
which is working perfectly :
// my private repo url
source 'https://privateurl.prv/scm/ios/sdhub.git'
target 'PrivatePodAA' do
pod 'PrivatePodBB', :git => 'https://privateurl.prv/scm/ios/PrivatePodBB.git'
# pod 'PrivatePodBB' # this also working fine
end
And below podspec file for PrivatePodAA
which which causing the problem :
Pod::Spec.new do |s|
s.name = 'PrivatePodAA'
s.source = {
:git => 'https://privateurl.prv/scm/ios/PrivatePodAA.git', :tag => s.version.to_s
}
s.dependency 'PrivatePodBB'
end
So, please what is missed from the above code ?
ios cocoapods podspec
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have created 2 private pods first one is PrivatePodAA and second one is PrivatePodBB , I can successfully use PrivatePodBB in PrivatePodAA podfile but while trying to add it as dependency in PrivatePodAA podspec file and trying to install PrivatePodAA as a pod in new project it's showing :
Unable to find a specification for `PrivatePodBB` depended upon by `PrivatePodAA`
I have created my own private repo and added PrivatePodBB podspec file in it.
Below my podfile for PrivatePodAA
which is working perfectly :
// my private repo url
source 'https://privateurl.prv/scm/ios/sdhub.git'
target 'PrivatePodAA' do
pod 'PrivatePodBB', :git => 'https://privateurl.prv/scm/ios/PrivatePodBB.git'
# pod 'PrivatePodBB' # this also working fine
end
And below podspec file for PrivatePodAA
which which causing the problem :
Pod::Spec.new do |s|
s.name = 'PrivatePodAA'
s.source = {
:git => 'https://privateurl.prv/scm/ios/PrivatePodAA.git', :tag => s.version.to_s
}
s.dependency 'PrivatePodBB'
end
So, please what is missed from the above code ?
ios cocoapods podspec
I have created 2 private pods first one is PrivatePodAA and second one is PrivatePodBB , I can successfully use PrivatePodBB in PrivatePodAA podfile but while trying to add it as dependency in PrivatePodAA podspec file and trying to install PrivatePodAA as a pod in new project it's showing :
Unable to find a specification for `PrivatePodBB` depended upon by `PrivatePodAA`
I have created my own private repo and added PrivatePodBB podspec file in it.
Below my podfile for PrivatePodAA
which is working perfectly :
// my private repo url
source 'https://privateurl.prv/scm/ios/sdhub.git'
target 'PrivatePodAA' do
pod 'PrivatePodBB', :git => 'https://privateurl.prv/scm/ios/PrivatePodBB.git'
# pod 'PrivatePodBB' # this also working fine
end
And below podspec file for PrivatePodAA
which which causing the problem :
Pod::Spec.new do |s|
s.name = 'PrivatePodAA'
s.source = {
:git => 'https://privateurl.prv/scm/ios/PrivatePodAA.git', :tag => s.version.to_s
}
s.dependency 'PrivatePodBB'
end
So, please what is missed from the above code ?
ios cocoapods podspec
ios cocoapods podspec
edited 9 hours ago
asked 10 hours ago
Mohammed Gomaa
4629
4629
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53203306%2funable-to-find-a-specification-for-privatepodbb-depended-upon-by-privatepodaa%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password