1、Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pod being used is: Alamofire在使用cocoapod导入swift第三方时出现这样的问题
解决办法:
platform :ios, '10.0'
target 'ExampleForOwn' do
use_frameworks!
2、Invalid `Podfile` file: syntax error, unexpected tIDENTIFIER, expecting end-of-input.新建项目添加cocoapod写podfile时出现问题
解决办法:检查语法是否错误,删掉中文注释
网友评论