-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduce
Got the "No such File or Directory" error during build phase:
Receive publish error: I have run out of idea about how to make Codemagic and SquareInAppPaymentsSDK work together, million thanks in advance for your help and attention. Expected resultspublish successfully to Test Flight Actual resultsEither receive error in build or publish phase as described above Build id (optional)68af019e6229c004ae88587f |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
I missed to put my pre-build scripts here, it also works before adding the SquareInAppPaymentsSDK: #!/usr/bin/env bash set -e cd example/ios pod deintegrate rm -f Podfile.lock pod cache clean --all cd .. |
Beta Was this translation helpful? Give feedback.
-
It turns out my pre-build script was cleaning stuff too aggressively. cd ios |
Beta Was this translation helpful? Give feedback.
It turns out my pre-build script was cleaning stuff too aggressively.
The minimal pre-build script to have the .lock files generated without a local environment is:
cd ios
rm -f Podfile.lock
pod repo update
pod install
cd ..