【发布时间】:2020-03-27 18:37:57
【问题描述】:
Xcode 最近更新,我的代码在 STPAPIClient.m 中出现此错误:
Incompatible block pointer types sending '__strong STPAPIResponseBlock _Nonnull' (aka 'void (^__strong)(__strong ResponseType, NSHTTPURLResponse *__strong, NSError *__strong)') to parameter of type 'void (^)(STPSource *__strong, NSHTTPURLResponse *__strong, NSError *__strong)'
编辑:我找到了 podfile.lock,但是每次删除它并安装 pod 时,我都会检查项目目录,发现 Podfile.lock 仍然存在。有谁知道如何删除它?谢谢!
【问题讨论】:
-
Podfile.lock是pod install的输出 -
好的。所以现在我试图从我的 podfile.lock 中删除 Stripe,但是当我安装 pod 时,它会重新安装 Stripe。如何删除条纹?
-
从 Podfile 中移除 Stripe
-
感谢保罗和罗伯!
标签: swift xcode cocoapods podfile-lock