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

执行pod install 时报 [!] Could not automatically select an Xcode workspace. Specify one in your Podfile like so: 错误:表示podfile 文件中没有任何要安装的第三方库文件

解决办法:

1,配置podfile

source'https://github.com/CocoaPods/Specs.git'

platform:ios,'8.0'

inhibit_all_warnings!

target '工程名' do

    pod 'AFNetworking', '~> 2.6.0'

end

2,pod install




   

猜你喜欢

转载自blog.csdn.net/SHJSir/article/details/80982422