Unable to export .IPA file through SSH

While trying to activate the following code through the SSH terminal I struggled with the following error:

The code that im using for building the project is :


export PATH=$PATH:"/Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/flutter/bin"

cd ~/CICD/Project_path

ls -l

security unlock-keychain -p *******

"/Library/flutter/bin/flutter" build ipa --flavor QA --release --dart-define=ENV=QA --export-options-plist=ios/build-files/ExportOptions.plist

part of the code is for automating Jenkins without any problem.

However, the automation only works in the MAC terminal but not on another PC through SSH.

All my login keychains are already duplicated to the system keychain and I'm already using the Unlock-keychain command. What else can cause this issue? I can't even debug this in any way.

Unable to export .IPA file through SSH
 
 
Q