I am trying to build a separate version of my app that has a different icon and bundle ID using the --config argument on the build command. While it’s building on the server, it comes back with the following error:
05:46:35 [exp] Error: Missing app.json. See https://docs.expo.io/
05:46:35 [exp] Couldn't read app.json file in project at /Users/me/myproject/react-client
It doesn’t appear that the --config flag worked to copy my app.json file into the root of the project when it sent it up to the build server.
Given that it is the weekend and a holiday, I’m going to ask the devs who work closely on the exp CLI and release channels on Monday to see what they think may be occurring. I’ll circle back when I find something out!
Thanks for the response and sorry for the delay. My app.json file has the expo key in it, but does not start with it. Is it important that “expo” be the first key?
try to use expo key as first please. I use exp build:ios --config expo_staging.json --release-channel staging and it works.
BTW: “all you need to do is add an “expo” key at the root of app.json, as the parent of all other keys.” https://docs.expo.io/versions/latest/workflow/configuration