non-Interactive teminal for expo build:ios

Hi,
I am trying to setup a non-interactive build for expo build:ios on the pipeline.

After reading the documentation and doing a small research I can up with the following command:

expo build:ios --non-interactive --team-id myteamid --dist-p12-path p12PathFromRoot --push-p8-path p8PathFromRoot —push-id myPushId —provisioning-profile-path mobileProvisionPathFromRoot

I get the following error message:

2021-02-25T05:41:40.694Z [INFO]: 
2021-02-25T05:41:40.695Z [WARNING]: [05:41:40] The expected package.json path: /codebuild/output/src367543572/src/etnowe-merchants-mobile/—push-id/package.json does not exist
2021-02-25T05:41:40.733Z [WARNING]: [05:41:40]     ├─ getRootPackageJsonPath /usr/local/share/.config/yarn/global/node_modules/@expo/config/src/resolvePackageJson.ts:17:11
                                    ├─ getPackageJsonAndPath /usr/local/share/.config/yarn/global/node_modules/@expo/config/src/Config.ts:188:27
                                    ├─ getConfig /usr/local/share/.config/yarn/global/node_modules/@expo/config/src/Config.ts:99:42
                                    ├─ validateAsync /@expo/xdl@59.0.24/src/project/Doctor.ts:401:24
                                    ├─ validateWithoutNetworkAsync /@expo/xdl@59.0.24/src/project/Doctor.ts:382:10
                                    ├─ /usr/local/share/.config/yarn/global/node_modules/expo-cli/src/exp.ts:667:35
                                    └─ expo build:ios /usr/local/share/.config/yarn/global/node_modules/expo-cli/src/exp.ts:347:7
2021-02-25T05:41:40.738Z [ERROR]: !!! Build failed
2021-02-25T05:41:40.738Z [ERROR]: !!! Non-Zero Exit Code detected
2021-02-25T05:41:40.738Z [INFO]: # Starting environment caching...
2021-02-25T05:41:40.738Z [INFO]: # Environment caching completed```

Please help.

Thanks,
Ayoola.

My Expo Diagnostics:
Expo CLI 4.1.3 environment info:
                                 System:
                                 OS: Linux 4.14 Amazon Linux 2
                                 Shell: 4.2.46 - /bin/bash
                                 Binaries:
                                 Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node
                                 Yarn: 1.22.10 - ~/.yarn/bin/yarn
                                 npm: 6.14.11 - ~/.nvm/versions/node/v14.16.0/bin/npm
                                 npmPackages:
                                 expo: ~40.0.0 => 40.0.1
                                 react: 16.13.1 => 16.13.1
                                 react-dom: 16.13.1 => 16.13.1
                                 react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2
                                 react-native-web: ^0.14.9 => 0.14.13
                                 Expo Workflow: managed

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.