Hello Ahmad,
Thanks for helping me on this one. I did as per the documentation, I am getting the following error when I try to build the ios app.
npm ERR! code 1
npm ERR! path /Users/test/Downloads/mattermost-mobile-master
npm ERR! command failed
npm ERR! command sh -c ./scripts/build.sh ipa
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/test/.npm/_logs/2020-11-26T04_56_18_775Z-debug.log
test@tests-Mac mattermost-mobile-master % cat /Users/test/.npm/_logs/2020-11-26T04_56_18_775Z-debug.log
Upon checking the log file, I see the following
19 verbose npm-session ca2a97ae52ef863a
20 timing npm:load Completed in 17ms
21 timing command:run-script Completed in 150232ms
22 verbose stack Error: command failed
22 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
22 verbose stack at ChildProcess.emit (node:events:376:20)
22 verbose stack at maybeClose (node:internal/child_process:1055:16)
22 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
23 verbose pkgid mattermost-mobile@1.38.0
24 verbose cwd /Users/test/Downloads/mattermost-mobile-master
25 verbose Darwin 19.6.0
26 verbose argv “/usr/local/Cellar/node/15.3.0/bin/node” “/usr/local/bin/npm” “run” “build:ios”
27 verbose node v15.3.0
28 verbose npm v7.0.14
29 error code 1
30 error path /Users/test/Downloads/mattermost-mobile-master
31 error command failed
32 error command sh -c ./scripts/build.sh ipa
33 verbose exit 1
Any idea how do I resolve this?
Thanks again