I downloaded an open source project that uses CocoaPods. Do I have to install CocoaPods?












0















Simple question; title says it all



I downloaded an open source demonstration project. The documentation says it uses CocoaPods.



None of the targets will build (no such module "Canvas"Canvas is the framework class I want to review). Searching, the most common solution recommended is "just run pods install again".



Does this mean I have to install CocoaPods to build a project that uses CocoaPods?










share|improve this question





























    0















    Simple question; title says it all



    I downloaded an open source demonstration project. The documentation says it uses CocoaPods.



    None of the targets will build (no such module "Canvas"Canvas is the framework class I want to review). Searching, the most common solution recommended is "just run pods install again".



    Does this mean I have to install CocoaPods to build a project that uses CocoaPods?










    share|improve this question



























      0












      0








      0








      Simple question; title says it all



      I downloaded an open source demonstration project. The documentation says it uses CocoaPods.



      None of the targets will build (no such module "Canvas"Canvas is the framework class I want to review). Searching, the most common solution recommended is "just run pods install again".



      Does this mean I have to install CocoaPods to build a project that uses CocoaPods?










      share|improve this question
















      Simple question; title says it all



      I downloaded an open source demonstration project. The documentation says it uses CocoaPods.



      None of the targets will build (no such module "Canvas"Canvas is the framework class I want to review). Searching, the most common solution recommended is "just run pods install again".



      Does this mean I have to install CocoaPods to build a project that uses CocoaPods?







      swift xcode cocoapods






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 1 at 5:30









      Callum

      352114




      352114










      asked Dec 31 '18 at 19:12









      James BucanekJames Bucanek

      1,6831618




      1,6831618
























          1 Answer
          1






          active

          oldest

          votes


















          1














          If you have never installed CocoaPods on this machine before, get it installed, this post will help you https://stackoverflow.com/a/43292864/1244597



          Then whenever you download a project that uses pod dependencies, open terminal and type these 2 commands:



          $ cd PATH_TO_PROJECT
          $ pod install


          UPDATE I downloaded the Canvas open source project, you do not need to install CocoaPods for this project because the pod library is already available within the project directory, you just run the Example project by double clicking this file:



          /Canvas/Example/Canvas.xcworkspace





          share|improve this answer


























          • Tried that, no joy: Installed CocoaPods using the instructions on their website. cd'd to the example project directory (the one with the PodFile). Ran pod install. Got error: [!] No podspec found for Canvas in ../, which is clearly wrong because there is a Canvas+.podspec file in the parent directory.

            – James Bucanek
            Dec 31 '18 at 20:24








          • 1





            sigh This is what bothers me about all of these tools that claim to make development so much simpler; they often just end up making it harder. :(

            – James Bucanek
            Dec 31 '18 at 20:25













          • Please check my update if it will be of any help

            – AamirR
            Dec 31 '18 at 20:37











          • Making those edits didn't help. Now I get the error [!] Unable to find a target named Canvas, did find Canvas_Example and Canvas_Tests.. Note that the file I had was radically different. Are we talking about the same Canvas project?

            – James Bucanek
            Dec 31 '18 at 22:05






          • 1





            Thanks for the advice. I will give it a try ... since I already have it installed ;)

            – James Bucanek
            Dec 31 '18 at 22:23











          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%2f53990714%2fi-downloaded-an-open-source-project-that-uses-cocoapods-do-i-have-to-install-co%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














          If you have never installed CocoaPods on this machine before, get it installed, this post will help you https://stackoverflow.com/a/43292864/1244597



          Then whenever you download a project that uses pod dependencies, open terminal and type these 2 commands:



          $ cd PATH_TO_PROJECT
          $ pod install


          UPDATE I downloaded the Canvas open source project, you do not need to install CocoaPods for this project because the pod library is already available within the project directory, you just run the Example project by double clicking this file:



          /Canvas/Example/Canvas.xcworkspace





          share|improve this answer


























          • Tried that, no joy: Installed CocoaPods using the instructions on their website. cd'd to the example project directory (the one with the PodFile). Ran pod install. Got error: [!] No podspec found for Canvas in ../, which is clearly wrong because there is a Canvas+.podspec file in the parent directory.

            – James Bucanek
            Dec 31 '18 at 20:24








          • 1





            sigh This is what bothers me about all of these tools that claim to make development so much simpler; they often just end up making it harder. :(

            – James Bucanek
            Dec 31 '18 at 20:25













          • Please check my update if it will be of any help

            – AamirR
            Dec 31 '18 at 20:37











          • Making those edits didn't help. Now I get the error [!] Unable to find a target named Canvas, did find Canvas_Example and Canvas_Tests.. Note that the file I had was radically different. Are we talking about the same Canvas project?

            – James Bucanek
            Dec 31 '18 at 22:05






          • 1





            Thanks for the advice. I will give it a try ... since I already have it installed ;)

            – James Bucanek
            Dec 31 '18 at 22:23
















          1














          If you have never installed CocoaPods on this machine before, get it installed, this post will help you https://stackoverflow.com/a/43292864/1244597



          Then whenever you download a project that uses pod dependencies, open terminal and type these 2 commands:



          $ cd PATH_TO_PROJECT
          $ pod install


          UPDATE I downloaded the Canvas open source project, you do not need to install CocoaPods for this project because the pod library is already available within the project directory, you just run the Example project by double clicking this file:



          /Canvas/Example/Canvas.xcworkspace





          share|improve this answer


























          • Tried that, no joy: Installed CocoaPods using the instructions on their website. cd'd to the example project directory (the one with the PodFile). Ran pod install. Got error: [!] No podspec found for Canvas in ../, which is clearly wrong because there is a Canvas+.podspec file in the parent directory.

            – James Bucanek
            Dec 31 '18 at 20:24








          • 1





            sigh This is what bothers me about all of these tools that claim to make development so much simpler; they often just end up making it harder. :(

            – James Bucanek
            Dec 31 '18 at 20:25













          • Please check my update if it will be of any help

            – AamirR
            Dec 31 '18 at 20:37











          • Making those edits didn't help. Now I get the error [!] Unable to find a target named Canvas, did find Canvas_Example and Canvas_Tests.. Note that the file I had was radically different. Are we talking about the same Canvas project?

            – James Bucanek
            Dec 31 '18 at 22:05






          • 1





            Thanks for the advice. I will give it a try ... since I already have it installed ;)

            – James Bucanek
            Dec 31 '18 at 22:23














          1












          1








          1







          If you have never installed CocoaPods on this machine before, get it installed, this post will help you https://stackoverflow.com/a/43292864/1244597



          Then whenever you download a project that uses pod dependencies, open terminal and type these 2 commands:



          $ cd PATH_TO_PROJECT
          $ pod install


          UPDATE I downloaded the Canvas open source project, you do not need to install CocoaPods for this project because the pod library is already available within the project directory, you just run the Example project by double clicking this file:



          /Canvas/Example/Canvas.xcworkspace





          share|improve this answer















          If you have never installed CocoaPods on this machine before, get it installed, this post will help you https://stackoverflow.com/a/43292864/1244597



          Then whenever you download a project that uses pod dependencies, open terminal and type these 2 commands:



          $ cd PATH_TO_PROJECT
          $ pod install


          UPDATE I downloaded the Canvas open source project, you do not need to install CocoaPods for this project because the pod library is already available within the project directory, you just run the Example project by double clicking this file:



          /Canvas/Example/Canvas.xcworkspace






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 31 '18 at 22:12

























          answered Dec 31 '18 at 20:13









          AamirRAamirR

          4,10912434




          4,10912434













          • Tried that, no joy: Installed CocoaPods using the instructions on their website. cd'd to the example project directory (the one with the PodFile). Ran pod install. Got error: [!] No podspec found for Canvas in ../, which is clearly wrong because there is a Canvas+.podspec file in the parent directory.

            – James Bucanek
            Dec 31 '18 at 20:24








          • 1





            sigh This is what bothers me about all of these tools that claim to make development so much simpler; they often just end up making it harder. :(

            – James Bucanek
            Dec 31 '18 at 20:25













          • Please check my update if it will be of any help

            – AamirR
            Dec 31 '18 at 20:37











          • Making those edits didn't help. Now I get the error [!] Unable to find a target named Canvas, did find Canvas_Example and Canvas_Tests.. Note that the file I had was radically different. Are we talking about the same Canvas project?

            – James Bucanek
            Dec 31 '18 at 22:05






          • 1





            Thanks for the advice. I will give it a try ... since I already have it installed ;)

            – James Bucanek
            Dec 31 '18 at 22:23



















          • Tried that, no joy: Installed CocoaPods using the instructions on their website. cd'd to the example project directory (the one with the PodFile). Ran pod install. Got error: [!] No podspec found for Canvas in ../, which is clearly wrong because there is a Canvas+.podspec file in the parent directory.

            – James Bucanek
            Dec 31 '18 at 20:24








          • 1





            sigh This is what bothers me about all of these tools that claim to make development so much simpler; they often just end up making it harder. :(

            – James Bucanek
            Dec 31 '18 at 20:25













          • Please check my update if it will be of any help

            – AamirR
            Dec 31 '18 at 20:37











          • Making those edits didn't help. Now I get the error [!] Unable to find a target named Canvas, did find Canvas_Example and Canvas_Tests.. Note that the file I had was radically different. Are we talking about the same Canvas project?

            – James Bucanek
            Dec 31 '18 at 22:05






          • 1





            Thanks for the advice. I will give it a try ... since I already have it installed ;)

            – James Bucanek
            Dec 31 '18 at 22:23

















          Tried that, no joy: Installed CocoaPods using the instructions on their website. cd'd to the example project directory (the one with the PodFile). Ran pod install. Got error: [!] No podspec found for Canvas in ../, which is clearly wrong because there is a Canvas+.podspec file in the parent directory.

          – James Bucanek
          Dec 31 '18 at 20:24







          Tried that, no joy: Installed CocoaPods using the instructions on their website. cd'd to the example project directory (the one with the PodFile). Ran pod install. Got error: [!] No podspec found for Canvas in ../, which is clearly wrong because there is a Canvas+.podspec file in the parent directory.

          – James Bucanek
          Dec 31 '18 at 20:24






          1




          1





          sigh This is what bothers me about all of these tools that claim to make development so much simpler; they often just end up making it harder. :(

          – James Bucanek
          Dec 31 '18 at 20:25







          sigh This is what bothers me about all of these tools that claim to make development so much simpler; they often just end up making it harder. :(

          – James Bucanek
          Dec 31 '18 at 20:25















          Please check my update if it will be of any help

          – AamirR
          Dec 31 '18 at 20:37





          Please check my update if it will be of any help

          – AamirR
          Dec 31 '18 at 20:37













          Making those edits didn't help. Now I get the error [!] Unable to find a target named Canvas, did find Canvas_Example and Canvas_Tests.. Note that the file I had was radically different. Are we talking about the same Canvas project?

          – James Bucanek
          Dec 31 '18 at 22:05





          Making those edits didn't help. Now I get the error [!] Unable to find a target named Canvas, did find Canvas_Example and Canvas_Tests.. Note that the file I had was radically different. Are we talking about the same Canvas project?

          – James Bucanek
          Dec 31 '18 at 22:05




          1




          1





          Thanks for the advice. I will give it a try ... since I already have it installed ;)

          – James Bucanek
          Dec 31 '18 at 22:23





          Thanks for the advice. I will give it a try ... since I already have it installed ;)

          – James Bucanek
          Dec 31 '18 at 22:23




















          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%2f53990714%2fi-downloaded-an-open-source-project-that-uses-cocoapods-do-i-have-to-install-co%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

          Monofisismo

          Angular Downloading a file using contenturl with Basic Authentication

          Olmecas