Pod install : Unable to find a specification for 'Foo'












1















i am trying to install my custom pod created and when i run the pod install i see below error. Any one can please help I did try similar links on stack overflow but no luck.



Error : Unable to find a specification for 'Foo'.



Terminal Logs :



ExampleApp djrecker$ pod install
Analyzing dependencies
Pre-downloading: `Foo` from `https://github.com/deepesh259nitk/mixedFramework.git`, tag `1.0.7`
[!] Unable to find a specification for 'Foo'.


Pod file



# Uncomment the next line to define a global platform for your project

platform :ios, '11.0'

target 'ExampleApp' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for ExampleApp
pod 'Foo', :git => 'https://github.com/deepesh259nitk/mixedFramework.git', :tag => '1.0.7'

end


More pod commands output : pod try , pod install and pod list



AUK03154:ExampleApp djrecker$ pod try Foo
Updating spec repositories
[!] An unexpected version directory `Foo.xcodeproj` was encountered for the `/Users/djrecker/.cocoapods/repos/deepesh259nitk/Foo` Pod in the `Foo` repository.
AUK03154:ExampleApp itrmg$ pod install
Analyzing dependencies
Pre-downloading: `Foo` from `https://github.com/deepesh259nitk/mixedFramework.git`, tag `1.0.7`
[!] Unable to find a specification for 'Foo'.
AUK03154:ExampleApp djrecker$ pod list | grep Foo
AUK03154:ExampleApp djrecker$


pod spec file



Pod::Spec.new do |s|

s.name = "Foo"
s.version = "1.0.7"
s.summary = "This is a iOS framework containing both objective c and swift code"
s.description = "This is a iOS framework containing both objective c and swift code and shows how modules with with POD"
s.homepage = "https://github.com/deepesh259nitk/mixedFramework"
s.license = "MIT"
s.author = { "Deepesh" => "deepesh259nitk@gmail.com" }
s.platform = :ios, "11.0"
s.source = { :git => "https://github.com/deepesh259nitk/mixedFramework.git", :tag => "1.0.7" }
#s.source_files = "Foo/**/*.{h,m,swift}"
#s.source_files = "Foo/**/*.{modulemap}"
#s.source_files = "Foo/**/*.private.modulemap"
# s.exclude_files = "Classes/Exclude"
# s.public_header_files = "Foo/*.h"
s.vendored_frameworks = 'Foo/Foo.framework'

end









share|improve this question

























  • show podspec please

    – Ankur Lahiry
    Jan 1 at 12:40











  • @AnkurLahiry pod spec is updated to question.

    – Max
    Jan 1 at 13:59






  • 1





    Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework

    – Paul Beusterien
    Jan 1 at 14:42






  • 1





    @PaulBeusterien Perfect i did as you told and it all works. Thats was so simple and useful answer.

    – Max
    Jan 1 at 14:49
















1















i am trying to install my custom pod created and when i run the pod install i see below error. Any one can please help I did try similar links on stack overflow but no luck.



Error : Unable to find a specification for 'Foo'.



Terminal Logs :



ExampleApp djrecker$ pod install
Analyzing dependencies
Pre-downloading: `Foo` from `https://github.com/deepesh259nitk/mixedFramework.git`, tag `1.0.7`
[!] Unable to find a specification for 'Foo'.


Pod file



# Uncomment the next line to define a global platform for your project

platform :ios, '11.0'

target 'ExampleApp' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for ExampleApp
pod 'Foo', :git => 'https://github.com/deepesh259nitk/mixedFramework.git', :tag => '1.0.7'

end


More pod commands output : pod try , pod install and pod list



AUK03154:ExampleApp djrecker$ pod try Foo
Updating spec repositories
[!] An unexpected version directory `Foo.xcodeproj` was encountered for the `/Users/djrecker/.cocoapods/repos/deepesh259nitk/Foo` Pod in the `Foo` repository.
AUK03154:ExampleApp itrmg$ pod install
Analyzing dependencies
Pre-downloading: `Foo` from `https://github.com/deepesh259nitk/mixedFramework.git`, tag `1.0.7`
[!] Unable to find a specification for 'Foo'.
AUK03154:ExampleApp djrecker$ pod list | grep Foo
AUK03154:ExampleApp djrecker$


pod spec file



Pod::Spec.new do |s|

s.name = "Foo"
s.version = "1.0.7"
s.summary = "This is a iOS framework containing both objective c and swift code"
s.description = "This is a iOS framework containing both objective c and swift code and shows how modules with with POD"
s.homepage = "https://github.com/deepesh259nitk/mixedFramework"
s.license = "MIT"
s.author = { "Deepesh" => "deepesh259nitk@gmail.com" }
s.platform = :ios, "11.0"
s.source = { :git => "https://github.com/deepesh259nitk/mixedFramework.git", :tag => "1.0.7" }
#s.source_files = "Foo/**/*.{h,m,swift}"
#s.source_files = "Foo/**/*.{modulemap}"
#s.source_files = "Foo/**/*.private.modulemap"
# s.exclude_files = "Classes/Exclude"
# s.public_header_files = "Foo/*.h"
s.vendored_frameworks = 'Foo/Foo.framework'

end









share|improve this question

























  • show podspec please

    – Ankur Lahiry
    Jan 1 at 12:40











  • @AnkurLahiry pod spec is updated to question.

    – Max
    Jan 1 at 13:59






  • 1





    Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework

    – Paul Beusterien
    Jan 1 at 14:42






  • 1





    @PaulBeusterien Perfect i did as you told and it all works. Thats was so simple and useful answer.

    – Max
    Jan 1 at 14:49














1












1








1








i am trying to install my custom pod created and when i run the pod install i see below error. Any one can please help I did try similar links on stack overflow but no luck.



Error : Unable to find a specification for 'Foo'.



Terminal Logs :



ExampleApp djrecker$ pod install
Analyzing dependencies
Pre-downloading: `Foo` from `https://github.com/deepesh259nitk/mixedFramework.git`, tag `1.0.7`
[!] Unable to find a specification for 'Foo'.


Pod file



# Uncomment the next line to define a global platform for your project

platform :ios, '11.0'

target 'ExampleApp' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for ExampleApp
pod 'Foo', :git => 'https://github.com/deepesh259nitk/mixedFramework.git', :tag => '1.0.7'

end


More pod commands output : pod try , pod install and pod list



AUK03154:ExampleApp djrecker$ pod try Foo
Updating spec repositories
[!] An unexpected version directory `Foo.xcodeproj` was encountered for the `/Users/djrecker/.cocoapods/repos/deepesh259nitk/Foo` Pod in the `Foo` repository.
AUK03154:ExampleApp itrmg$ pod install
Analyzing dependencies
Pre-downloading: `Foo` from `https://github.com/deepesh259nitk/mixedFramework.git`, tag `1.0.7`
[!] Unable to find a specification for 'Foo'.
AUK03154:ExampleApp djrecker$ pod list | grep Foo
AUK03154:ExampleApp djrecker$


pod spec file



Pod::Spec.new do |s|

s.name = "Foo"
s.version = "1.0.7"
s.summary = "This is a iOS framework containing both objective c and swift code"
s.description = "This is a iOS framework containing both objective c and swift code and shows how modules with with POD"
s.homepage = "https://github.com/deepesh259nitk/mixedFramework"
s.license = "MIT"
s.author = { "Deepesh" => "deepesh259nitk@gmail.com" }
s.platform = :ios, "11.0"
s.source = { :git => "https://github.com/deepesh259nitk/mixedFramework.git", :tag => "1.0.7" }
#s.source_files = "Foo/**/*.{h,m,swift}"
#s.source_files = "Foo/**/*.{modulemap}"
#s.source_files = "Foo/**/*.private.modulemap"
# s.exclude_files = "Classes/Exclude"
# s.public_header_files = "Foo/*.h"
s.vendored_frameworks = 'Foo/Foo.framework'

end









share|improve this question
















i am trying to install my custom pod created and when i run the pod install i see below error. Any one can please help I did try similar links on stack overflow but no luck.



Error : Unable to find a specification for 'Foo'.



Terminal Logs :



ExampleApp djrecker$ pod install
Analyzing dependencies
Pre-downloading: `Foo` from `https://github.com/deepesh259nitk/mixedFramework.git`, tag `1.0.7`
[!] Unable to find a specification for 'Foo'.


Pod file



# Uncomment the next line to define a global platform for your project

platform :ios, '11.0'

target 'ExampleApp' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for ExampleApp
pod 'Foo', :git => 'https://github.com/deepesh259nitk/mixedFramework.git', :tag => '1.0.7'

end


More pod commands output : pod try , pod install and pod list



AUK03154:ExampleApp djrecker$ pod try Foo
Updating spec repositories
[!] An unexpected version directory `Foo.xcodeproj` was encountered for the `/Users/djrecker/.cocoapods/repos/deepesh259nitk/Foo` Pod in the `Foo` repository.
AUK03154:ExampleApp itrmg$ pod install
Analyzing dependencies
Pre-downloading: `Foo` from `https://github.com/deepesh259nitk/mixedFramework.git`, tag `1.0.7`
[!] Unable to find a specification for 'Foo'.
AUK03154:ExampleApp djrecker$ pod list | grep Foo
AUK03154:ExampleApp djrecker$


pod spec file



Pod::Spec.new do |s|

s.name = "Foo"
s.version = "1.0.7"
s.summary = "This is a iOS framework containing both objective c and swift code"
s.description = "This is a iOS framework containing both objective c and swift code and shows how modules with with POD"
s.homepage = "https://github.com/deepesh259nitk/mixedFramework"
s.license = "MIT"
s.author = { "Deepesh" => "deepesh259nitk@gmail.com" }
s.platform = :ios, "11.0"
s.source = { :git => "https://github.com/deepesh259nitk/mixedFramework.git", :tag => "1.0.7" }
#s.source_files = "Foo/**/*.{h,m,swift}"
#s.source_files = "Foo/**/*.{modulemap}"
#s.source_files = "Foo/**/*.private.modulemap"
# s.exclude_files = "Classes/Exclude"
# s.public_header_files = "Foo/*.h"
s.vendored_frameworks = 'Foo/Foo.framework'

end






ios xcode cocoapods pod






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 1 at 13:59







Max

















asked Jan 1 at 11:57









MaxMax

1,55342351




1,55342351













  • show podspec please

    – Ankur Lahiry
    Jan 1 at 12:40











  • @AnkurLahiry pod spec is updated to question.

    – Max
    Jan 1 at 13:59






  • 1





    Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework

    – Paul Beusterien
    Jan 1 at 14:42






  • 1





    @PaulBeusterien Perfect i did as you told and it all works. Thats was so simple and useful answer.

    – Max
    Jan 1 at 14:49



















  • show podspec please

    – Ankur Lahiry
    Jan 1 at 12:40











  • @AnkurLahiry pod spec is updated to question.

    – Max
    Jan 1 at 13:59






  • 1





    Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework

    – Paul Beusterien
    Jan 1 at 14:42






  • 1





    @PaulBeusterien Perfect i did as you told and it all works. Thats was so simple and useful answer.

    – Max
    Jan 1 at 14:49

















show podspec please

– Ankur Lahiry
Jan 1 at 12:40





show podspec please

– Ankur Lahiry
Jan 1 at 12:40













@AnkurLahiry pod spec is updated to question.

– Max
Jan 1 at 13:59





@AnkurLahiry pod spec is updated to question.

– Max
Jan 1 at 13:59




1




1





Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework

– Paul Beusterien
Jan 1 at 14:42





Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework

– Paul Beusterien
Jan 1 at 14:42




1




1





@PaulBeusterien Perfect i did as you told and it all works. Thats was so simple and useful answer.

– Max
Jan 1 at 14:49





@PaulBeusterien Perfect i did as you told and it all works. Thats was so simple and useful answer.

– Max
Jan 1 at 14:49












1 Answer
1






active

oldest

votes


















1














Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53995230%2fpod-install-unable-to-find-a-specification-for-foo%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework






    share|improve this answer




























      1














      Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework






      share|improve this answer


























        1












        1








        1







        Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework






        share|improve this answer













        Put the podspec in the top level directory at github.com/deepesh259nitk/mixedFramework







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 1 at 15:01









        Paul BeusterienPaul Beusterien

        13.9k43679




        13.9k43679
































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53995230%2fpod-install-unable-to-find-a-specification-for-foo%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            'app-layout' is not a known element: how to share Component with different Modules

            android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

            WPF add header to Image with URL pettitions [duplicate]