How do I select a project in my Podfile? I'm getting the error: Unable to find the Xcode project for the target 'Pods'The Podfile does not contain any dependenciesHow to create an Empty Application in Xcode without StoryboardCould not automatically select an Xcode projectProject/workspace structure for multiple apps with CocoaPodsTrouble installing CocoaPods - already tried solution given elsewhereCocoapods Unable to find a targetHow do I code sign ios app using xcode ? (For clients)xcode project was working fine, than I tried to add the Firebase, dynamic links and invite pods and it started giving errorsWriting a Podfile for a project with multiple targets and different platformsUnable to find a specification for `pop (~> 1.0)` in Podfile“pod install” returns “[!] Unable to find a target”adding a second pod to my project/podfile, project does not build anymoreXcode error “Could not find Developer Disk Image”Unable to find a target named `ProjectName`Xcode/Cocoapods Project messed up after adding a TVOS Target and changing Podfile structurein Xcode project I get this linker command error with exit code 1unable to find target file after running pod installCocoapods unable to find Xcode project

Does a 4 bladed prop have almost twice the thrust of a 2 bladed prop?

How to realistically deal with a shield user?

Secure my password from unsafe servers

Why ReLU function is not differentiable at 0?

Repeated! Factorials!

Traveling from Germany to other countries by train?

Our group keeps dying during the Lost Mine of Phandelver campaign. What are we doing wrong?

Premier League simulation

What could prevent players from leaving an island?

Making pause in a diagram

Is this cheap "air conditioner" able to cool a room?

Does this put me at risk for identity theft?

Why does putting a dot after the URL remove login information?

How to halve redstone signal strength?

"How do you solve a problem like Maria?"

Are children a reason to be rejected for a job?

Cobb-Douglas production function with expenditures rather than units

Is a switch from R to Python worth it?

Where to pee in London?

Is DC heating faster than AC heating?

Does this smartphone photo show Mars just below the Sun?

Can chords be inferred from melody alone?

Will a paper be retracted if a flaw in released software code invalidates its central idea?

How to draw a flow chart?



How do I select a project in my Podfile? I'm getting the error: Unable to find the Xcode project for the target 'Pods'


The Podfile does not contain any dependenciesHow to create an Empty Application in Xcode without StoryboardCould not automatically select an Xcode projectProject/workspace structure for multiple apps with CocoaPodsTrouble installing CocoaPods - already tried solution given elsewhereCocoapods Unable to find a targetHow do I code sign ios app using xcode ? (For clients)xcode project was working fine, than I tried to add the Firebase, dynamic links and invite pods and it started giving errorsWriting a Podfile for a project with multiple targets and different platformsUnable to find a specification for `pop (~> 1.0)` in Podfile“pod install” returns “[!] Unable to find a target”adding a second pod to my project/podfile, project does not build anymoreXcode error “Could not find Developer Disk Image”Unable to find a target named `ProjectName`Xcode/Cocoapods Project messed up after adding a TVOS Target and changing Podfile structurein Xcode project I get this linker command error with exit code 1unable to find target file after running pod installCocoapods unable to find Xcode project






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








38















I'm doing the Ray Wenderlich tutorial called SimpleWeather.

The podfile is in the same folder as the project.
Here's my code from the podfile:



platform :ios, '7.0'

xcodeproj 'SimpleWeather'

pod 'Mantle'
pod 'LBBlurredImage'
pod 'TSMessages'
pod 'ReactiveCocoa'


The error message is this: [!] Unable to find the Xcode project /Users/myName/Developer/SimpleWeather.xcodeproj for the target Pods.



The name of the project is SimpleWeather.










share|improve this question


























  • What is your project name? What is the location of Pods file?

    – kukido
    Jan 12 '14 at 3:41












  • I have tried putting the podfile in both SimpleWeather and Developer

    – meghan66
    Jan 12 '14 at 3:45











  • Move it into your SimpleWeather project directory, comment out xcodeproj and just run $ pods install.

    – kukido
    Jan 12 '14 at 3:47












  • If you absolutely positively have to use project name, check project name quotes, they should be "backticks". Podfile Syntax Reference

    – kukido
    Jan 12 '14 at 3:50












  • When I do pods install I get pods: command not found. When I do pod install I put xcodeproj back in I get: [!] Could not automatically select an Xcode project. Specify one in your Podfile like so: xcodeproj 'path/to/Project.xcodeproj' I'm unsure if I should use the bash developer myname or just myname

    – meghan66
    Jan 12 '14 at 3:54


















38















I'm doing the Ray Wenderlich tutorial called SimpleWeather.

The podfile is in the same folder as the project.
Here's my code from the podfile:



platform :ios, '7.0'

xcodeproj 'SimpleWeather'

pod 'Mantle'
pod 'LBBlurredImage'
pod 'TSMessages'
pod 'ReactiveCocoa'


The error message is this: [!] Unable to find the Xcode project /Users/myName/Developer/SimpleWeather.xcodeproj for the target Pods.



The name of the project is SimpleWeather.










share|improve this question


























  • What is your project name? What is the location of Pods file?

    – kukido
    Jan 12 '14 at 3:41












  • I have tried putting the podfile in both SimpleWeather and Developer

    – meghan66
    Jan 12 '14 at 3:45











  • Move it into your SimpleWeather project directory, comment out xcodeproj and just run $ pods install.

    – kukido
    Jan 12 '14 at 3:47












  • If you absolutely positively have to use project name, check project name quotes, they should be "backticks". Podfile Syntax Reference

    – kukido
    Jan 12 '14 at 3:50












  • When I do pods install I get pods: command not found. When I do pod install I put xcodeproj back in I get: [!] Could not automatically select an Xcode project. Specify one in your Podfile like so: xcodeproj 'path/to/Project.xcodeproj' I'm unsure if I should use the bash developer myname or just myname

    – meghan66
    Jan 12 '14 at 3:54














38












38








38


15






I'm doing the Ray Wenderlich tutorial called SimpleWeather.

The podfile is in the same folder as the project.
Here's my code from the podfile:



platform :ios, '7.0'

xcodeproj 'SimpleWeather'

pod 'Mantle'
pod 'LBBlurredImage'
pod 'TSMessages'
pod 'ReactiveCocoa'


The error message is this: [!] Unable to find the Xcode project /Users/myName/Developer/SimpleWeather.xcodeproj for the target Pods.



The name of the project is SimpleWeather.










share|improve this question
















I'm doing the Ray Wenderlich tutorial called SimpleWeather.

The podfile is in the same folder as the project.
Here's my code from the podfile:



platform :ios, '7.0'

xcodeproj 'SimpleWeather'

pod 'Mantle'
pod 'LBBlurredImage'
pod 'TSMessages'
pod 'ReactiveCocoa'


The error message is this: [!] Unable to find the Xcode project /Users/myName/Developer/SimpleWeather.xcodeproj for the target Pods.



The name of the project is SimpleWeather.







ios xcode cocoapods






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 12 '14 at 16:53







meghan66

















asked Jan 12 '14 at 3:31









meghan66meghan66

3251 gold badge6 silver badges13 bronze badges




3251 gold badge6 silver badges13 bronze badges















  • What is your project name? What is the location of Pods file?

    – kukido
    Jan 12 '14 at 3:41












  • I have tried putting the podfile in both SimpleWeather and Developer

    – meghan66
    Jan 12 '14 at 3:45











  • Move it into your SimpleWeather project directory, comment out xcodeproj and just run $ pods install.

    – kukido
    Jan 12 '14 at 3:47












  • If you absolutely positively have to use project name, check project name quotes, they should be "backticks". Podfile Syntax Reference

    – kukido
    Jan 12 '14 at 3:50












  • When I do pods install I get pods: command not found. When I do pod install I put xcodeproj back in I get: [!] Could not automatically select an Xcode project. Specify one in your Podfile like so: xcodeproj 'path/to/Project.xcodeproj' I'm unsure if I should use the bash developer myname or just myname

    – meghan66
    Jan 12 '14 at 3:54


















  • What is your project name? What is the location of Pods file?

    – kukido
    Jan 12 '14 at 3:41












  • I have tried putting the podfile in both SimpleWeather and Developer

    – meghan66
    Jan 12 '14 at 3:45











  • Move it into your SimpleWeather project directory, comment out xcodeproj and just run $ pods install.

    – kukido
    Jan 12 '14 at 3:47












  • If you absolutely positively have to use project name, check project name quotes, they should be "backticks". Podfile Syntax Reference

    – kukido
    Jan 12 '14 at 3:50












  • When I do pods install I get pods: command not found. When I do pod install I put xcodeproj back in I get: [!] Could not automatically select an Xcode project. Specify one in your Podfile like so: xcodeproj 'path/to/Project.xcodeproj' I'm unsure if I should use the bash developer myname or just myname

    – meghan66
    Jan 12 '14 at 3:54

















What is your project name? What is the location of Pods file?

– kukido
Jan 12 '14 at 3:41






What is your project name? What is the location of Pods file?

– kukido
Jan 12 '14 at 3:41














I have tried putting the podfile in both SimpleWeather and Developer

– meghan66
Jan 12 '14 at 3:45





I have tried putting the podfile in both SimpleWeather and Developer

– meghan66
Jan 12 '14 at 3:45













Move it into your SimpleWeather project directory, comment out xcodeproj and just run $ pods install.

– kukido
Jan 12 '14 at 3:47






Move it into your SimpleWeather project directory, comment out xcodeproj and just run $ pods install.

– kukido
Jan 12 '14 at 3:47














If you absolutely positively have to use project name, check project name quotes, they should be "backticks". Podfile Syntax Reference

– kukido
Jan 12 '14 at 3:50






If you absolutely positively have to use project name, check project name quotes, they should be "backticks". Podfile Syntax Reference

– kukido
Jan 12 '14 at 3:50














When I do pods install I get pods: command not found. When I do pod install I put xcodeproj back in I get: [!] Could not automatically select an Xcode project. Specify one in your Podfile like so: xcodeproj 'path/to/Project.xcodeproj' I'm unsure if I should use the bash developer myname or just myname

– meghan66
Jan 12 '14 at 3:54






When I do pods install I get pods: command not found. When I do pod install I put xcodeproj back in I get: [!] Could not automatically select an Xcode project. Specify one in your Podfile like so: xcodeproj 'path/to/Project.xcodeproj' I'm unsure if I should use the bash developer myname or just myname

– meghan66
Jan 12 '14 at 3:54













9 Answers
9






active

oldest

votes


















20














Reiterating our original conversation:



Accordingly to Podfile Syntax Reference the Podfile looks right.



Make sure you are running $pod install from your project directory:



/Users/myName/Developer/SimpleWeather





share|improve this answer
































    59














    I'm pretty sure you are not in the right directory. Are you sure your .xcodeproj is in the Developer folder? There might be a subfolder you need to navigate to.



    The right way to enable CocoaPods in your Project is:



    1. Open Terminal and execute: $ sudo gem install cocoapods

    2. Navigate to your Project folder (I assume in your case it's cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj).

    3. Setup Cocoapod pod setup

    4. Create the Podfile touch Podfile

    5. Open the Podfile open -e Podfile and insert your code for Podfile

    6. Finally install the Podfile pod install

    If you follow this instructions everything should work. When opening your project make sure to open the .xworkspacefile.



    For more information, see this.






    share|improve this answer






















    • 2





      hey it given me like this "[!] [!] The Podfile does not contain any dependencies."

      – Dhaval Bhadania
      May 6 '14 at 10:48











    • this is strange, I never had this error before. Are you sure, that you typed in everything correctly?

      – fahu
      Jul 1 '14 at 14:01











    • @dhaval are your pods entered in the Podfile file? nano Podfile

      – David Douglas
      Sep 8 '15 at 23:23











    • Sometimes I click on the .xcodeproj file in Finder and select "New Terminal in Folder" which opens the Terminal inside the .xcodeproj folder, so of course I need to cd .. back a level to the project folder. IOT, really check your in the right folder with ls

      – Drakes
      Sep 19 '15 at 13:05











    • And also Its prefer to rm -rf MyProject.xcworkspace before making above changes

      – Kirtikumar A.
      Oct 15 '15 at 18:51


















    31














    This error also occurs when you have multiple .xcodeproj in your Xcode project.



    You don't need more than one .xcodeproj in general cases. Remove unnecessary .xcodeproj, and Cocoapods should get the correct path automatically afterwards.






    share|improve this answer
































      14














      Hey your path for the project might be wrong. Go to the project and right click on SimpleWeather.xcodeproj and select Get Info as show in the image below(The right side window is for Get Info here). Copy this path from the details window and paste it into the Podfile. After that append /SimpleWeather.xcodeproj to that pasted path. This might solve the problem(Note: It is a snap shot for my project). In your case the solution might be replacing the path with this /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj



      enter image description here






      share|improve this answer
































        4














        To solve this issue, just follow below steps and your issue will get resolved :



        Step 1 : Open Terminal and navigate to your project folder



        Step 2 : touch podfile



        Step 3 : open -e Podfile



        Step 4 : Write below line in your text edit and close it




        workspace '/Users/systemName/Developer/yourprojectname/yourprojectname.xcworkspace'




        Step 5 : Pod install



        And after successful process, you will not get this error again.




        CheersKP







        share|improve this answer


































          2














          Maybe you have two project .xcodeproj, remove one.



          Remove Podfile.lock, folder Pods. On Terminal cd /Users/myName/Developer/SimpleWeather and pod install






          share|improve this answer


































            1














            I had the same problem.
            Then with many attempts of trials and errors I finally got the working solution:



            source 'https://github.com/CocoaPods/Specs.git'
            platform :ios, '9.0'
            use_frameworks!

            target 'SimpleWeather'
            pod 'Alamofire', '~> 3.4'


            This works when you are in your project directory (I assume you should navigate using terminal to /Users/myName/Developer/SimpleWeather/)






            share|improve this answer
































              0














              You installed your Xcode..in application use this command to execute



              sudo xcode-select -switch /Applications/Xcode.app





              share|improve this answer


































                0














                so okay i had tried every possible thing ...i had only one .xcodeproj file
                but sill i couldnt install so finally i had tried with the following

                1. open terminal cd to your project folder one with .xcodeproj

                2. type pod init

                3. type touch Podfile

                4. type pod install

                Magic happens and your pod files gets installed






                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%2f21070977%2fhow-do-i-select-a-project-in-my-podfile-im-getting-the-error-unable-to-find-t%23new-answer', 'question_page');

                  );

                  Post as a guest















                  Required, but never shown

























                  9 Answers
                  9






                  active

                  oldest

                  votes








                  9 Answers
                  9






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  20














                  Reiterating our original conversation:



                  Accordingly to Podfile Syntax Reference the Podfile looks right.



                  Make sure you are running $pod install from your project directory:



                  /Users/myName/Developer/SimpleWeather





                  share|improve this answer





























                    20














                    Reiterating our original conversation:



                    Accordingly to Podfile Syntax Reference the Podfile looks right.



                    Make sure you are running $pod install from your project directory:



                    /Users/myName/Developer/SimpleWeather





                    share|improve this answer



























                      20












                      20








                      20







                      Reiterating our original conversation:



                      Accordingly to Podfile Syntax Reference the Podfile looks right.



                      Make sure you are running $pod install from your project directory:



                      /Users/myName/Developer/SimpleWeather





                      share|improve this answer













                      Reiterating our original conversation:



                      Accordingly to Podfile Syntax Reference the Podfile looks right.



                      Make sure you are running $pod install from your project directory:



                      /Users/myName/Developer/SimpleWeather






                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jan 12 '14 at 17:13









                      kukidokukido

                      9,0391 gold badge31 silver badges47 bronze badges




                      9,0391 gold badge31 silver badges47 bronze badges


























                          59














                          I'm pretty sure you are not in the right directory. Are you sure your .xcodeproj is in the Developer folder? There might be a subfolder you need to navigate to.



                          The right way to enable CocoaPods in your Project is:



                          1. Open Terminal and execute: $ sudo gem install cocoapods

                          2. Navigate to your Project folder (I assume in your case it's cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj).

                          3. Setup Cocoapod pod setup

                          4. Create the Podfile touch Podfile

                          5. Open the Podfile open -e Podfile and insert your code for Podfile

                          6. Finally install the Podfile pod install

                          If you follow this instructions everything should work. When opening your project make sure to open the .xworkspacefile.



                          For more information, see this.






                          share|improve this answer






















                          • 2





                            hey it given me like this "[!] [!] The Podfile does not contain any dependencies."

                            – Dhaval Bhadania
                            May 6 '14 at 10:48











                          • this is strange, I never had this error before. Are you sure, that you typed in everything correctly?

                            – fahu
                            Jul 1 '14 at 14:01











                          • @dhaval are your pods entered in the Podfile file? nano Podfile

                            – David Douglas
                            Sep 8 '15 at 23:23











                          • Sometimes I click on the .xcodeproj file in Finder and select "New Terminal in Folder" which opens the Terminal inside the .xcodeproj folder, so of course I need to cd .. back a level to the project folder. IOT, really check your in the right folder with ls

                            – Drakes
                            Sep 19 '15 at 13:05











                          • And also Its prefer to rm -rf MyProject.xcworkspace before making above changes

                            – Kirtikumar A.
                            Oct 15 '15 at 18:51















                          59














                          I'm pretty sure you are not in the right directory. Are you sure your .xcodeproj is in the Developer folder? There might be a subfolder you need to navigate to.



                          The right way to enable CocoaPods in your Project is:



                          1. Open Terminal and execute: $ sudo gem install cocoapods

                          2. Navigate to your Project folder (I assume in your case it's cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj).

                          3. Setup Cocoapod pod setup

                          4. Create the Podfile touch Podfile

                          5. Open the Podfile open -e Podfile and insert your code for Podfile

                          6. Finally install the Podfile pod install

                          If you follow this instructions everything should work. When opening your project make sure to open the .xworkspacefile.



                          For more information, see this.






                          share|improve this answer






















                          • 2





                            hey it given me like this "[!] [!] The Podfile does not contain any dependencies."

                            – Dhaval Bhadania
                            May 6 '14 at 10:48











                          • this is strange, I never had this error before. Are you sure, that you typed in everything correctly?

                            – fahu
                            Jul 1 '14 at 14:01











                          • @dhaval are your pods entered in the Podfile file? nano Podfile

                            – David Douglas
                            Sep 8 '15 at 23:23











                          • Sometimes I click on the .xcodeproj file in Finder and select "New Terminal in Folder" which opens the Terminal inside the .xcodeproj folder, so of course I need to cd .. back a level to the project folder. IOT, really check your in the right folder with ls

                            – Drakes
                            Sep 19 '15 at 13:05











                          • And also Its prefer to rm -rf MyProject.xcworkspace before making above changes

                            – Kirtikumar A.
                            Oct 15 '15 at 18:51













                          59












                          59








                          59







                          I'm pretty sure you are not in the right directory. Are you sure your .xcodeproj is in the Developer folder? There might be a subfolder you need to navigate to.



                          The right way to enable CocoaPods in your Project is:



                          1. Open Terminal and execute: $ sudo gem install cocoapods

                          2. Navigate to your Project folder (I assume in your case it's cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj).

                          3. Setup Cocoapod pod setup

                          4. Create the Podfile touch Podfile

                          5. Open the Podfile open -e Podfile and insert your code for Podfile

                          6. Finally install the Podfile pod install

                          If you follow this instructions everything should work. When opening your project make sure to open the .xworkspacefile.



                          For more information, see this.






                          share|improve this answer















                          I'm pretty sure you are not in the right directory. Are you sure your .xcodeproj is in the Developer folder? There might be a subfolder you need to navigate to.



                          The right way to enable CocoaPods in your Project is:



                          1. Open Terminal and execute: $ sudo gem install cocoapods

                          2. Navigate to your Project folder (I assume in your case it's cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj).

                          3. Setup Cocoapod pod setup

                          4. Create the Podfile touch Podfile

                          5. Open the Podfile open -e Podfile and insert your code for Podfile

                          6. Finally install the Podfile pod install

                          If you follow this instructions everything should work. When opening your project make sure to open the .xworkspacefile.



                          For more information, see this.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Sep 5 '16 at 10:00









                          BIBIN K ONANKUNJU

                          6,4085 gold badges39 silver badges51 bronze badges




                          6,4085 gold badges39 silver badges51 bronze badges










                          answered Jan 12 '14 at 10:17









                          fahufahu

                          1,1272 gold badges13 silver badges22 bronze badges




                          1,1272 gold badges13 silver badges22 bronze badges










                          • 2





                            hey it given me like this "[!] [!] The Podfile does not contain any dependencies."

                            – Dhaval Bhadania
                            May 6 '14 at 10:48











                          • this is strange, I never had this error before. Are you sure, that you typed in everything correctly?

                            – fahu
                            Jul 1 '14 at 14:01











                          • @dhaval are your pods entered in the Podfile file? nano Podfile

                            – David Douglas
                            Sep 8 '15 at 23:23











                          • Sometimes I click on the .xcodeproj file in Finder and select "New Terminal in Folder" which opens the Terminal inside the .xcodeproj folder, so of course I need to cd .. back a level to the project folder. IOT, really check your in the right folder with ls

                            – Drakes
                            Sep 19 '15 at 13:05











                          • And also Its prefer to rm -rf MyProject.xcworkspace before making above changes

                            – Kirtikumar A.
                            Oct 15 '15 at 18:51












                          • 2





                            hey it given me like this "[!] [!] The Podfile does not contain any dependencies."

                            – Dhaval Bhadania
                            May 6 '14 at 10:48











                          • this is strange, I never had this error before. Are you sure, that you typed in everything correctly?

                            – fahu
                            Jul 1 '14 at 14:01











                          • @dhaval are your pods entered in the Podfile file? nano Podfile

                            – David Douglas
                            Sep 8 '15 at 23:23











                          • Sometimes I click on the .xcodeproj file in Finder and select "New Terminal in Folder" which opens the Terminal inside the .xcodeproj folder, so of course I need to cd .. back a level to the project folder. IOT, really check your in the right folder with ls

                            – Drakes
                            Sep 19 '15 at 13:05











                          • And also Its prefer to rm -rf MyProject.xcworkspace before making above changes

                            – Kirtikumar A.
                            Oct 15 '15 at 18:51







                          2




                          2





                          hey it given me like this "[!] [!] The Podfile does not contain any dependencies."

                          – Dhaval Bhadania
                          May 6 '14 at 10:48





                          hey it given me like this "[!] [!] The Podfile does not contain any dependencies."

                          – Dhaval Bhadania
                          May 6 '14 at 10:48













                          this is strange, I never had this error before. Are you sure, that you typed in everything correctly?

                          – fahu
                          Jul 1 '14 at 14:01





                          this is strange, I never had this error before. Are you sure, that you typed in everything correctly?

                          – fahu
                          Jul 1 '14 at 14:01













                          @dhaval are your pods entered in the Podfile file? nano Podfile

                          – David Douglas
                          Sep 8 '15 at 23:23





                          @dhaval are your pods entered in the Podfile file? nano Podfile

                          – David Douglas
                          Sep 8 '15 at 23:23













                          Sometimes I click on the .xcodeproj file in Finder and select "New Terminal in Folder" which opens the Terminal inside the .xcodeproj folder, so of course I need to cd .. back a level to the project folder. IOT, really check your in the right folder with ls

                          – Drakes
                          Sep 19 '15 at 13:05





                          Sometimes I click on the .xcodeproj file in Finder and select "New Terminal in Folder" which opens the Terminal inside the .xcodeproj folder, so of course I need to cd .. back a level to the project folder. IOT, really check your in the right folder with ls

                          – Drakes
                          Sep 19 '15 at 13:05













                          And also Its prefer to rm -rf MyProject.xcworkspace before making above changes

                          – Kirtikumar A.
                          Oct 15 '15 at 18:51





                          And also Its prefer to rm -rf MyProject.xcworkspace before making above changes

                          – Kirtikumar A.
                          Oct 15 '15 at 18:51











                          31














                          This error also occurs when you have multiple .xcodeproj in your Xcode project.



                          You don't need more than one .xcodeproj in general cases. Remove unnecessary .xcodeproj, and Cocoapods should get the correct path automatically afterwards.






                          share|improve this answer





























                            31














                            This error also occurs when you have multiple .xcodeproj in your Xcode project.



                            You don't need more than one .xcodeproj in general cases. Remove unnecessary .xcodeproj, and Cocoapods should get the correct path automatically afterwards.






                            share|improve this answer



























                              31












                              31








                              31







                              This error also occurs when you have multiple .xcodeproj in your Xcode project.



                              You don't need more than one .xcodeproj in general cases. Remove unnecessary .xcodeproj, and Cocoapods should get the correct path automatically afterwards.






                              share|improve this answer













                              This error also occurs when you have multiple .xcodeproj in your Xcode project.



                              You don't need more than one .xcodeproj in general cases. Remove unnecessary .xcodeproj, and Cocoapods should get the correct path automatically afterwards.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered May 30 '15 at 6:36









                              BrianBrian

                              22.4k11 gold badges68 silver badges79 bronze badges




                              22.4k11 gold badges68 silver badges79 bronze badges
























                                  14














                                  Hey your path for the project might be wrong. Go to the project and right click on SimpleWeather.xcodeproj and select Get Info as show in the image below(The right side window is for Get Info here). Copy this path from the details window and paste it into the Podfile. After that append /SimpleWeather.xcodeproj to that pasted path. This might solve the problem(Note: It is a snap shot for my project). In your case the solution might be replacing the path with this /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj



                                  enter image description here






                                  share|improve this answer





























                                    14














                                    Hey your path for the project might be wrong. Go to the project and right click on SimpleWeather.xcodeproj and select Get Info as show in the image below(The right side window is for Get Info here). Copy this path from the details window and paste it into the Podfile. After that append /SimpleWeather.xcodeproj to that pasted path. This might solve the problem(Note: It is a snap shot for my project). In your case the solution might be replacing the path with this /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj



                                    enter image description here






                                    share|improve this answer



























                                      14












                                      14








                                      14







                                      Hey your path for the project might be wrong. Go to the project and right click on SimpleWeather.xcodeproj and select Get Info as show in the image below(The right side window is for Get Info here). Copy this path from the details window and paste it into the Podfile. After that append /SimpleWeather.xcodeproj to that pasted path. This might solve the problem(Note: It is a snap shot for my project). In your case the solution might be replacing the path with this /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj



                                      enter image description here






                                      share|improve this answer













                                      Hey your path for the project might be wrong. Go to the project and right click on SimpleWeather.xcodeproj and select Get Info as show in the image below(The right side window is for Get Info here). Copy this path from the details window and paste it into the Podfile. After that append /SimpleWeather.xcodeproj to that pasted path. This might solve the problem(Note: It is a snap shot for my project). In your case the solution might be replacing the path with this /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj



                                      enter image description here







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Jan 12 '14 at 11:27









                                      Rohan BhaleRohan Bhale

                                      8916 silver badges18 bronze badges




                                      8916 silver badges18 bronze badges
























                                          4














                                          To solve this issue, just follow below steps and your issue will get resolved :



                                          Step 1 : Open Terminal and navigate to your project folder



                                          Step 2 : touch podfile



                                          Step 3 : open -e Podfile



                                          Step 4 : Write below line in your text edit and close it




                                          workspace '/Users/systemName/Developer/yourprojectname/yourprojectname.xcworkspace'




                                          Step 5 : Pod install



                                          And after successful process, you will not get this error again.




                                          CheersKP







                                          share|improve this answer































                                            4














                                            To solve this issue, just follow below steps and your issue will get resolved :



                                            Step 1 : Open Terminal and navigate to your project folder



                                            Step 2 : touch podfile



                                            Step 3 : open -e Podfile



                                            Step 4 : Write below line in your text edit and close it




                                            workspace '/Users/systemName/Developer/yourprojectname/yourprojectname.xcworkspace'




                                            Step 5 : Pod install



                                            And after successful process, you will not get this error again.




                                            CheersKP







                                            share|improve this answer





























                                              4












                                              4








                                              4







                                              To solve this issue, just follow below steps and your issue will get resolved :



                                              Step 1 : Open Terminal and navigate to your project folder



                                              Step 2 : touch podfile



                                              Step 3 : open -e Podfile



                                              Step 4 : Write below line in your text edit and close it




                                              workspace '/Users/systemName/Developer/yourprojectname/yourprojectname.xcworkspace'




                                              Step 5 : Pod install



                                              And after successful process, you will not get this error again.




                                              CheersKP







                                              share|improve this answer















                                              To solve this issue, just follow below steps and your issue will get resolved :



                                              Step 1 : Open Terminal and navigate to your project folder



                                              Step 2 : touch podfile



                                              Step 3 : open -e Podfile



                                              Step 4 : Write below line in your text edit and close it




                                              workspace '/Users/systemName/Developer/yourprojectname/yourprojectname.xcworkspace'




                                              Step 5 : Pod install



                                              And after successful process, you will not get this error again.




                                              CheersKP








                                              share|improve this answer














                                              share|improve this answer



                                              share|improve this answer








                                              edited Mar 27 at 5:13

























                                              answered May 26 '17 at 10:40









                                              Kalpesh PanchasaraKalpesh Panchasara

                                              1,0811 gold badge11 silver badges24 bronze badges




                                              1,0811 gold badge11 silver badges24 bronze badges
























                                                  2














                                                  Maybe you have two project .xcodeproj, remove one.



                                                  Remove Podfile.lock, folder Pods. On Terminal cd /Users/myName/Developer/SimpleWeather and pod install






                                                  share|improve this answer































                                                    2














                                                    Maybe you have two project .xcodeproj, remove one.



                                                    Remove Podfile.lock, folder Pods. On Terminal cd /Users/myName/Developer/SimpleWeather and pod install






                                                    share|improve this answer





























                                                      2












                                                      2








                                                      2







                                                      Maybe you have two project .xcodeproj, remove one.



                                                      Remove Podfile.lock, folder Pods. On Terminal cd /Users/myName/Developer/SimpleWeather and pod install






                                                      share|improve this answer















                                                      Maybe you have two project .xcodeproj, remove one.



                                                      Remove Podfile.lock, folder Pods. On Terminal cd /Users/myName/Developer/SimpleWeather and pod install







                                                      share|improve this answer














                                                      share|improve this answer



                                                      share|improve this answer








                                                      edited Dec 30 '16 at 12:35

























                                                      answered Nov 18 '16 at 13:21









                                                      Yura HuberYura Huber

                                                      367 bronze badges




                                                      367 bronze badges
























                                                          1














                                                          I had the same problem.
                                                          Then with many attempts of trials and errors I finally got the working solution:



                                                          source 'https://github.com/CocoaPods/Specs.git'
                                                          platform :ios, '9.0'
                                                          use_frameworks!

                                                          target 'SimpleWeather'
                                                          pod 'Alamofire', '~> 3.4'


                                                          This works when you are in your project directory (I assume you should navigate using terminal to /Users/myName/Developer/SimpleWeather/)






                                                          share|improve this answer





























                                                            1














                                                            I had the same problem.
                                                            Then with many attempts of trials and errors I finally got the working solution:



                                                            source 'https://github.com/CocoaPods/Specs.git'
                                                            platform :ios, '9.0'
                                                            use_frameworks!

                                                            target 'SimpleWeather'
                                                            pod 'Alamofire', '~> 3.4'


                                                            This works when you are in your project directory (I assume you should navigate using terminal to /Users/myName/Developer/SimpleWeather/)






                                                            share|improve this answer



























                                                              1












                                                              1








                                                              1







                                                              I had the same problem.
                                                              Then with many attempts of trials and errors I finally got the working solution:



                                                              source 'https://github.com/CocoaPods/Specs.git'
                                                              platform :ios, '9.0'
                                                              use_frameworks!

                                                              target 'SimpleWeather'
                                                              pod 'Alamofire', '~> 3.4'


                                                              This works when you are in your project directory (I assume you should navigate using terminal to /Users/myName/Developer/SimpleWeather/)






                                                              share|improve this answer













                                                              I had the same problem.
                                                              Then with many attempts of trials and errors I finally got the working solution:



                                                              source 'https://github.com/CocoaPods/Specs.git'
                                                              platform :ios, '9.0'
                                                              use_frameworks!

                                                              target 'SimpleWeather'
                                                              pod 'Alamofire', '~> 3.4'


                                                              This works when you are in your project directory (I assume you should navigate using terminal to /Users/myName/Developer/SimpleWeather/)







                                                              share|improve this answer












                                                              share|improve this answer



                                                              share|improve this answer










                                                              answered May 30 '16 at 13:59









                                                              pulppulp

                                                              7331 gold badge9 silver badges19 bronze badges




                                                              7331 gold badge9 silver badges19 bronze badges
























                                                                  0














                                                                  You installed your Xcode..in application use this command to execute



                                                                  sudo xcode-select -switch /Applications/Xcode.app





                                                                  share|improve this answer































                                                                    0














                                                                    You installed your Xcode..in application use this command to execute



                                                                    sudo xcode-select -switch /Applications/Xcode.app





                                                                    share|improve this answer





























                                                                      0












                                                                      0








                                                                      0







                                                                      You installed your Xcode..in application use this command to execute



                                                                      sudo xcode-select -switch /Applications/Xcode.app





                                                                      share|improve this answer















                                                                      You installed your Xcode..in application use this command to execute



                                                                      sudo xcode-select -switch /Applications/Xcode.app






                                                                      share|improve this answer














                                                                      share|improve this answer



                                                                      share|improve this answer








                                                                      edited Sep 5 '16 at 9:59









                                                                      BIBIN K ONANKUNJU

                                                                      6,4085 gold badges39 silver badges51 bronze badges




                                                                      6,4085 gold badges39 silver badges51 bronze badges










                                                                      answered May 30 '14 at 5:16









                                                                      Arvind KumarArvind Kumar

                                                                      2,07613 silver badges23 bronze badges




                                                                      2,07613 silver badges23 bronze badges
























                                                                          0














                                                                          so okay i had tried every possible thing ...i had only one .xcodeproj file
                                                                          but sill i couldnt install so finally i had tried with the following

                                                                          1. open terminal cd to your project folder one with .xcodeproj

                                                                          2. type pod init

                                                                          3. type touch Podfile

                                                                          4. type pod install

                                                                          Magic happens and your pod files gets installed






                                                                          share|improve this answer





























                                                                            0














                                                                            so okay i had tried every possible thing ...i had only one .xcodeproj file
                                                                            but sill i couldnt install so finally i had tried with the following

                                                                            1. open terminal cd to your project folder one with .xcodeproj

                                                                            2. type pod init

                                                                            3. type touch Podfile

                                                                            4. type pod install

                                                                            Magic happens and your pod files gets installed






                                                                            share|improve this answer



























                                                                              0












                                                                              0








                                                                              0







                                                                              so okay i had tried every possible thing ...i had only one .xcodeproj file
                                                                              but sill i couldnt install so finally i had tried with the following

                                                                              1. open terminal cd to your project folder one with .xcodeproj

                                                                              2. type pod init

                                                                              3. type touch Podfile

                                                                              4. type pod install

                                                                              Magic happens and your pod files gets installed






                                                                              share|improve this answer













                                                                              so okay i had tried every possible thing ...i had only one .xcodeproj file
                                                                              but sill i couldnt install so finally i had tried with the following

                                                                              1. open terminal cd to your project folder one with .xcodeproj

                                                                              2. type pod init

                                                                              3. type touch Podfile

                                                                              4. type pod install

                                                                              Magic happens and your pod files gets installed







                                                                              share|improve this answer












                                                                              share|improve this answer



                                                                              share|improve this answer










                                                                              answered May 8 '17 at 7:00









                                                                              nandhininandhini

                                                                              1




                                                                              1






























                                                                                  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%2f21070977%2fhow-do-i-select-a-project-in-my-podfile-im-getting-the-error-unable-to-find-t%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

                                                                                  Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                                                                                  Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                                                                                  Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript