如何在Podfile中选择项目?我收到错误:无法找到目标'Pods'的Xcode项目 [英] How do I select a project in my Podfile? I'm getting the error: Unable to find the Xcode project for the target 'Pods'
本文介绍了如何在Podfile中选择项目?我收到错误:无法找到目标'Pods'的Xcode项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在做名为SimpleWeather的Ray Wenderlich教程。
podfile与项目位于同一文件夹中。
这是来自podfile的代码:
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'
错误信息如下:[!]无法找到Xcode项目 /Users/myName/Developer/SimpleWeather.xcodeproj
目标 Pods
。
The error message is this: [!] Unable to find the Xcode project /Users/myName/Developer/SimpleWeather.xcodeproj
for the target Pods
.
项目名称为SimpleWeather。
The name of the project is SimpleWeather.
推荐答案
重申我们原来的对话:
因此Podfile语法参考 Podfile看起来正确。
Accordingly to Podfile Syntax Reference the Podfile looks right.
确保您正在运行<来自项目目录的code> $ pod install :
/Users/myName/Developer/SimpleWeather
这篇关于如何在Podfile中选择项目?我收到错误:无法找到目标'Pods'的Xcode项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文