You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the iOS app in Xcode fails with the following error:
Could not connect to development server.
Ensure the following:
- Node Server is running and available on the same network - run 'npm start' from react-native root
- Node server URL is correctly set in AppDelegate
URL: http://localhosts/index.ios.bundle?platform=ios&dev=true
So, 4 things (EDIT: 5 things):
Obviously it's not running, because I thought / it seemed it was possible to run the app using only Parse for the backend.
I didn't see anything in "Setup" about updating AppDelegate; I do see mention of it in the "Continuous Integration" steps.
The default / original value used in AppDelegate is localhosts. Is that a typo?
Is it possibly to run this without the local server using only Parse?
Also, switching to the automatically generated "pre-bundled file on disk" results in a successful build, with no error, but a blank (black) screen.
EDIT: Added 5th point above.
EDIT 2: Working just fine with local server AND Parse using localhost:8081 URL in AppDelegate instead of localhosts (assuming the latter is a typo).
The text was updated successfully, but these errors were encountered:
It seems the answer is, "Obviously, yes." and that this isn't really the issue I ran into, since the server is started automatically in the Build/Run steps. It's also obviously not mentioned in "Setup" because you don't have to run it manually.
It seems the issue I ran into was just due to the default localhosts instead of localhost:8081 typo, which generated an error message that lead me to believe the server hadn't been started and needed to be started manually.
After "Setup" with the following
/src/lib/config.js
:Running the iOS app in Xcode fails with the following error:
So, 4 things (EDIT: 5 things):
localhosts
. Is that a typo?EDIT: Added 5th point above.
EDIT 2: Working just fine with local server AND Parse using
localhost:8081
URL in AppDelegate instead oflocalhosts
(assuming the latter is a typo).The text was updated successfully, but these errors were encountered: