Fetch issue using Gemini

I am building an AI assistant app. When I was testing last week, I was getting good answers from Gemini but started getting Fetch issue yesterday. I had no connectivity issue but the error kept telling that I had connectivity issue. I troubleshooted per ChatGPT steps but it just wouldnt go away. What should I do to make this stable?
This is the error I see in Terminal: env: export EXPO_PUBLIC_OPENAI_API_KEY EXPO_PUBLIC_GEMINI_API_KEY

Starting project at /Users/latasharma/ai-pocket-companion

Starting Metro Bundler

Unable to run simctl:

Error: xcrun simctl help exited with non-zero code: 72

warning: Bundler cache is empty, rebuilding (this may take a minute)

TypeError: fetch failed

TypeError: fetch failed

Hello,

Welcome to the Forum!!

Could you please share your code so that I can try to reproduce your issue?
You have the option to DM me your code, if you do not want to share it on public forum.