Cannot run bare app on iOS Simulator

Please provide the following:

  1. SDK Version: 42.0.0
  2. Platforms(Android/iOS/web/all): Android/iOS

I eject from expo a couple days ago and can’t run my app on iOS Simulator, everything works relatively fine in Android though. I can’t understand where and why this error is being generated.

you appear to be missing a file called Expo.plist. maybe you have deleted it by accident. you can initialize a new project with expo init and look at the contents of this file to see what you should create

I have the file Expo.plist inside the folder /ios/myAppName/Supporting/

However I had to make some
manual configuration for xCode in project.pbxproj to use the same certificates and bundle for the app. Maybe I move or rename something, but what?

Found the problem, after doing some digging I found this article about OTA and Expo. I had to manually add the Expo.plist in Xcode to solve the error com.facebook.react.JavaScript (15): “Cannot load configuration from Expo.plist. Please ensure you’ve followed the setup and installation instructions for expo-updates to create Expo.plist and add it to your Xcode project.”

Now I have this other error, but apparently this one is more common. If someone has any ideas on how to resolve it, please feel free to respond.

2021-11-30 23:38:20.028976-0500 Metrored[7330:21835] [javascript] Constants.manifest is null because the embedded app.config could not be read. Ensure that you have installed the expo-constants build scripts if you need to read from Constants.manifest.
2021-11-30 23:38:20.035109-0500 Metrored[7330:21835] [javascript] Constants.manifest is null because the embedded app.config could not be read. Ensure that you have installed the expo-constants build scripts if you need to read from Constants.manifest.
2021-11-30 23:38:20.049823-0500 Metrored[7330:21835] [javascript] Running "main" with {"rootTag":1,"initialProps":{}}
2021-11-30 23:38:20.069811-0500 Metrored[7330:21835] [javascript] TypeError: null is not an object (evaluating 'Constants.manifest.logUrl')
2021-11-30 23:38:20.079398-0500 Metrored[7330:21835] [javascript] Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.
2021-11-30 23:38:20.246469-0500 Metrored[7330:21368] [native] Running surface LogBox ({
    initialProps =     {
    };
    rootTag = 11;
})```

Found the problem. After doing some digging I found this [How to implement over the air updates with expo-updates in React Native | by Jamon Holmgren | Red Shift](https://article about OTA and Expo). I needed to manually add the Expo.plist to Xcode to solve the error: com.facebook.react.JavaScript (18): “Cannot load configuration from Expo.plist. Please ensure you’ve followed the setup and installation instructions for expo-updates to create Expo.plist and add it to your Xcode project.”

Now I have this error, but this one is more common. If someone has any ideas on how to solve it, feel free to respond.

2021-11-30 23:38:19.543479-0500 Metrored[7330:21814] [] nw_socket_handle_socket_event [C8.1:1] Socket SO_ERROR [61: Connection refused]
2021-11-30 23:38:19.551665-0500 Metrored[7330:21814] [] nw_socket_handle_socket_event [C8.2:1] Socket SO_ERROR [61: Connection refused]
2021-11-30 23:38:19.553109-0500 Metrored[7330:21858] [] nw_connection_get_connected_socket [C8] Client called nw_connection_get_connected_socket on unconnected nw_connection
2021-11-30 23:38:19.553223-0500 Metrored[7330:21858] TCP Conn 0x600000bcd2c0 Failed : error 0:61 [61]
2021-11-30 23:38:20.028976-0500 Metrored[7330:21835] [javascript] Constants.manifest is null because the embedded app.config could not be read. Ensure that you have installed the expo-constants build scripts if you need to read from Constants.manifest.
2021-11-30 23:38:20.035109-0500 Metrored[7330:21835] [javascript] Constants.manifest is null because the embedded app.config could not be read. Ensure that you have installed the expo-constants build scripts if you need to read from Constants.manifest.
2021-11-30 23:38:20.049823-0500 Metrored[7330:21835] [javascript] Running "main" with {"rootTag":1,"initialProps":{}}
2021-11-30 23:38:20.069811-0500 Metrored[7330:21835] [javascript] TypeError: null is not an object (evaluating 'Constants.manifest.logUrl')
2021-11-30 23:38:20.079398-0500 Metrored[7330:21835] [javascript] Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.
2021-11-30 23:38:20.246469-0500 Metrored[7330:21368] [native] Running surface LogBox ({
    initialProps =     {
    };
    rootTag = 11;
})

The final solution was updating expo and node version.

First I updated expo to the last version (43.0.0), then I installed a new version of node.
I was in v12.13.1 and I updated it to v14. After that, I reinstalled node modules and pods.
I stumble across all kinds of articles, but the one who solve all my problemas was this:
Build failing

Prior to everything, I upgraded Xcode to the last version 13.0.1.

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