【发布时间】:2018-03-23 10:23:29
【问题描述】:
我在 AppCenter 上的自动 iOS 构建失败并出现以下错误 (sn-p):
ViewController.swift:10:8: error: no such module 'MBCircularProgressBar'
import MBCircularProgressBar
^
但我不知道问题可能是什么。我正在使用 CocoaPods 导入该框架。
我的 Podfile 看起来像这样(删除了所有其他 pod):
target 'MyApp' do
use_frameworks!
pod 'MBCircularProgressBar'
end
我有一个克隆后脚本appcenter-post-clone.sh,它在 AppCenter 中被识别,其中包含:
#!/usr/bin/env bash
pod repo update
pod install
编辑:将有问题的文件移到要编译的文件列表中后,另一个 CocoaPod 出现相同的错误。所以在我看来,没有发现 CocoaPods
这里出了什么问题?
【问题讨论】:
标签: ios cocoapods visual-studio-app-center