Mini doesn't work on iOS with Xcode

We’re experiencing an issue getting our Mini app to run with live data. We’ve followed all the setup steps as outlined in the documentation, but the app only runs with mock data and doesn’t connect properly within the Shop app environment.

Is this a known issue, or are there additional steps we can follow to enable live data access for testing? We’ve already tried running the Mini through Xcode and followed all setup steps, but the app shuts down without an error whenever we try to reach the app page.

this happens when you open the mini in a web browser and not with the default options: iOS/Android device or simulator.

can you post more details or even a video so that we try to fix this issue?

I faced the same issue. Found a way to resolve it. You can use

rm -rf node_modules/
npm install

And then run again npx shop-minis dev, it will solve the issue

Hello,

Thank you for your quick response. Here’s a video showing exactly what’s happening:

I hope this helps to identify the issue. Thank you in advance.

Kind regards,
Floris de Vries

Hello hung,

Thank you for your response. Unfortunately, this won’t work for me.

Kind regards,
Floris de Vries

Hi Floris, have you tried to open with other device (iPhone 16, 15)? If it’s still not working, I think you should delete node module, package-lock.json and run npm install again. Also try to update xcode to latest update.

As @hung said, try to update Xcode to the latest version, use a different simulator. Or even hard-reset the simulator by clicking on:
Device > Erase All Contents and Settings...

If it doesn’t work, click on the Report button when the app crashes and share the crash report with us