Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Issue - CocoaPods 1.6.0 Versus CocoaPods 1.5.3 on AppCenter #95
What App Center service does this affect?
Describe the bug
The error message is from the Check Pods Manifest.lock (We can find the script in XCode/build phases).
It should be .../ios/Pods/Target Support Files/Pods-MoviesAndMe/Pods-MoviesAndMe.release.xcconfig)
Steps to reproduce the behavior:
I had this same issue, and after a couple of research, I found out that the problem is the
So I added a script to remove all cocoapods versions and install the version 1.6.1 (which has the bug fixed).
This is the script which I am using:
echo "uninstalling all cocoapods versions" sudo gem uninstall cocoapods --all echo "installing cocoapods version 1.6.1" sudo gem install cocoapods -v 1.6.1
I added it to the post-clone event (appcenter-post-clone.sh).
Not sure if that is the best way, but it solved from me ;)
Try to follow the steps below to add a custom script:
More info about custom build scripts here.
And when you build, you should have those lines on your build log:
#!/usr/bin/env bash echo "Uninstalling all CocoaPods versions" sudo gem uninstall cocoapods --all --executables COCOAPODS_VER=`sed -n -e 's/^COCOAPODS: \([0-9.]*\)/\1/p' Podfile.lock` echo "Installing CocoaPods version $COCOAPODS_VER" sudo gem install cocoapods -v $COCOAPODS_VER
I think this should be the default behavior for iOS builds with a
I got the same issue when install 1.6