xcode cloud fails & gives this error:
**xcode** cloud The sandbox is not in sync with the *podfile.lock*.
this is my script:
#!/bin/sh
# The default execution directory of this script is the ci_scripts directory.
cd $CI_WORKSPACE # change working directory to the root of your cloned repo.
# Install Flutter using git.
git clone https://github.com/flutter/flutter.git --depth 1 -b stable $HOME/flutter
export PATH="$PATH:$HOME/flutter/bin"
# Install Flutter artifacts for iOS (--ios), or macOS (--macos) platforms.
flutter precache --ios
# Install Flutter dependencies.
flutter pub get
# Install CocoaPods using Homebrew.
HOMEBREW_NO_AUTO_UPDATE=1 # disable homebrew's automatic updates.
brew install cocoapods
export GEM_HOME="$HOME/.gem"
gem install cocoapods
# Install CocoaPods dependencies.
cd ios && rm -rf Pods && gem install cocoapods && pod install
sudo arch -x86_64 gem install ffi
arch -x86_64 pod install
exit 0