版权声明:本文为博主原创文章,未经博主允许不得转载。 https://cloud.tencent.com/developer/article/1336736
报错:
! 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: SnapKit
更改podfile文件:
在podfile文件中指定项目的运行平台最低版本:platform:ios, ‘8.0’
加入“use_frameworks!”
做了以上操作之后再pod install一下,就能成功安装snapkit了。
podfile文件
本篇文章到这里就结束了,愿大家加班不多工资多,男同胞都有女朋友,女同胞都有男朋友。