无法自动选择Xcode项目 [英] Could not automatically select an Xcode project

查看:137
本文介绍了无法自动选择Xcode项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在正确的目录中输入pod install时,我总是得到这个

When i type "pod install" in a correct directory I always get this

分析依赖关系

[!] Could not automatically select an Xcode project. Specify one in your Podfile like so:

    project 'path/to/Project.xcodeproj'

podfile

platform :ios, '8.0'
use_frameworks!

target 'Posting' do
pod 'ALCameraViewController'

end

我在可以找到Podfile的项目目录中。

I'm in the project directory where Podfile can be found.

推荐答案

我有一个旧的.xcodeproj文件在我的文件夹中,所以有2个。我删除了旧的,它可以工作!

I had an old .xcodeproj-file in my folder, so there was 2 of them. I removed the old one and it works!

这篇关于无法自动选择Xcode项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆