【发布时间】:2020-09-24 06:27:05
【问题描述】:
在 macOS 终端中,每当我尝试为任何 Xcode 项目运行 pod install 时,我都会不断收到 [!] Unable to find source ref ... 错误消息。我已经安装了 CocoaPods。
完整的错误信息示例:
-
[!] 无法为目标
CLTypingLabel找到CLTypingLabel.swift的源引用。 -
[!] 无法找到目标
SVIndefiniteAnimatedView.m的源引用SVProgressHUD -
[!] 无法为目标
SDWebImage找到NSButton+WebCache.m的源引用。
podfile:
platform :ios, '13.0'
target 'Myapp iOS13' do
use_frameworks!
pod 'CLTypingLabel'
end
【问题讨论】:
-
只是跟进我的帖子,因为我在为项目安装 pod 时遇到了异常问题,无法继续学习。我已经尝试了无数次从我的 mac 重新安装和删除 cocoapods。