While doing pod repo push on azure pipeline, if some error occurs, pod repo push is failing silently.
for example, On running this command on pipeline -> pod repo push REPO_NAME MyLib.podspec --verbose --allow-warnings, I can see this error :
Undefined symbols for architecture arm64:
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation),
but still getting successful build on pipeline, is there any way to catch these silent failures and make the pipeline fail
If you are based on bash, you can use exit 1
to force the pipeline to fail.