1、在新建项目,引入CocoaPod时,当创建了podfile文件后,执行pod install时报一下错误

2、这是因为 这个第三方不知道用于哪个target,所以必须指定target
解决方案:修改podfile文件,如下图

红色框里的为你的target 名字
3、随后,在执行 pod install 即可

至此,成功为新项目引入了CocoaPod

2、这是因为 这个第三方不知道用于哪个target,所以必须指定target
转载于:https://www.cnblogs.com/lovestarfish/p/10655045.html