My automatic iOS build on AppCenter fails with the following error (snippet):
ViewController.swift:10:8: error: no such module 'MBCircularProgressBar'
import MBCircularProgressBar
^
But I don't know what the problem might be. I'm using CocoaPods to import that framework.
My Podfile
looks like this (removed all other pods):
target 'MyApp' do
use_frameworks!
pod 'MBCircularProgressBar'
end
And I have a Post Clone script appcenter-post-clone.sh
which is recognized in AppCenter that contains:
#!/usr/bin/env bash
pod repo update
pod install
EDIT: After moving the offending file down in the list of files to compile, I get the same error for another CocoaPod. So it seems to me that no CocoaPods are being found
What is going wrong here?
Can you check you are building your projects workspace? You'll need to build the workspace in orde to get Cocoapods to work, not the Xcode project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With