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;
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
|
show 4 more comments
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
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 outxcodeproj
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
|
show 4 more comments
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
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
ios xcode cocoapods
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 outxcodeproj
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
|
show 4 more comments
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 outxcodeproj
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
|
show 4 more comments
9 Answers
9
active
oldest
votes
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
add a comment |
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:
- Open Terminal and execute:
$ sudo gem install cocoapods
- Navigate to your Project folder (I assume in your case it's
cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj
). - Setup Cocoapod
pod setup
- Create the Podfile
touch Podfile
- Open the Podfile
open -e Podfile
and insert your code for Podfile - Finally install the Podfile
pod install
If you follow this instructions everything should work. When opening your project make sure to open the .xworkspace
file.
For more information, see this.
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 tocd ..
back a level to the project folder. IOT, really check your in the right folder withls
– 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
|
show 3 more comments
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.
add a comment |
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
add a comment |
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
add a comment |
Maybe you have two project .xcodeproj
, remove one.
Remove Podfile.lock
, folder Pods
. On Terminal cd /Users/myName/Developer/SimpleWeather
and pod install
add a comment |
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/)
add a comment |
You installed your Xcode..in application use this command to execute
sudo xcode-select -switch /Applications/Xcode.app
add a comment |
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Jan 12 '14 at 17:13
kukidokukido
9,0391 gold badge31 silver badges47 bronze badges
9,0391 gold badge31 silver badges47 bronze badges
add a comment |
add a comment |
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:
- Open Terminal and execute:
$ sudo gem install cocoapods
- Navigate to your Project folder (I assume in your case it's
cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj
). - Setup Cocoapod
pod setup
- Create the Podfile
touch Podfile
- Open the Podfile
open -e Podfile
and insert your code for Podfile - Finally install the Podfile
pod install
If you follow this instructions everything should work. When opening your project make sure to open the .xworkspace
file.
For more information, see this.
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 tocd ..
back a level to the project folder. IOT, really check your in the right folder withls
– 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
|
show 3 more comments
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:
- Open Terminal and execute:
$ sudo gem install cocoapods
- Navigate to your Project folder (I assume in your case it's
cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj
). - Setup Cocoapod
pod setup
- Create the Podfile
touch Podfile
- Open the Podfile
open -e Podfile
and insert your code for Podfile - Finally install the Podfile
pod install
If you follow this instructions everything should work. When opening your project make sure to open the .xworkspace
file.
For more information, see this.
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 tocd ..
back a level to the project folder. IOT, really check your in the right folder withls
– 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
|
show 3 more comments
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:
- Open Terminal and execute:
$ sudo gem install cocoapods
- Navigate to your Project folder (I assume in your case it's
cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj
). - Setup Cocoapod
pod setup
- Create the Podfile
touch Podfile
- Open the Podfile
open -e Podfile
and insert your code for Podfile - Finally install the Podfile
pod install
If you follow this instructions everything should work. When opening your project make sure to open the .xworkspace
file.
For more information, see this.
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:
- Open Terminal and execute:
$ sudo gem install cocoapods
- Navigate to your Project folder (I assume in your case it's
cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj
). - Setup Cocoapod
pod setup
- Create the Podfile
touch Podfile
- Open the Podfile
open -e Podfile
and insert your code for Podfile - Finally install the Podfile
pod install
If you follow this instructions everything should work. When opening your project make sure to open the .xworkspace
file.
For more information, see this.
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 tocd ..
back a level to the project folder. IOT, really check your in the right folder withls
– 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
|
show 3 more comments
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 tocd ..
back a level to the project folder. IOT, really check your in the right folder withls
– 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
|
show 3 more comments
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.
add a comment |
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.
add a comment |
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.
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.
answered May 30 '15 at 6:36
BrianBrian
22.4k11 gold badges68 silver badges79 bronze badges
22.4k11 gold badges68 silver badges79 bronze badges
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Jan 12 '14 at 11:27
Rohan BhaleRohan Bhale
8916 silver badges18 bronze badges
8916 silver badges18 bronze badges
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
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
add a comment |
add a comment |
Maybe you have two project .xcodeproj
, remove one.
Remove Podfile.lock
, folder Pods
. On Terminal cd /Users/myName/Developer/SimpleWeather
and pod install
add a comment |
Maybe you have two project .xcodeproj
, remove one.
Remove Podfile.lock
, folder Pods
. On Terminal cd /Users/myName/Developer/SimpleWeather
and pod install
add a comment |
Maybe you have two project .xcodeproj
, remove one.
Remove Podfile.lock
, folder Pods
. On Terminal cd /Users/myName/Developer/SimpleWeather
and pod install
Maybe you have two project .xcodeproj
, remove one.
Remove Podfile.lock
, folder Pods
. On Terminal cd /Users/myName/Developer/SimpleWeather
and pod install
edited Dec 30 '16 at 12:35
answered Nov 18 '16 at 13:21
Yura HuberYura Huber
367 bronze badges
367 bronze badges
add a comment |
add a comment |
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/)
add a comment |
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/)
add a comment |
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/)
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/)
answered May 30 '16 at 13:59
pulppulp
7331 gold badge9 silver badges19 bronze badges
7331 gold badge9 silver badges19 bronze badges
add a comment |
add a comment |
You installed your Xcode..in application use this command to execute
sudo xcode-select -switch /Applications/Xcode.app
add a comment |
You installed your Xcode..in application use this command to execute
sudo xcode-select -switch /Applications/Xcode.app
add a comment |
You installed your Xcode..in application use this command to execute
sudo xcode-select -switch /Applications/Xcode.app
You installed your Xcode..in application use this command to execute
sudo xcode-select -switch /Applications/Xcode.app
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
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered May 8 '17 at 7:00
nandhininandhini
1
1
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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