Skip to main content

IOS simulator not working

If you are facing issues with the iOS simulator, like the app not launching or crashing, follow these steps to troubleshoot the issue.

Pre-Steps

  1. Clear Derived Data

    rm -rf ~/Library/Developer/Xcode/DerivedData
  2. Clear Watchman Cache

    watchman watch-del-all
  3. Set Node Version

    nvm use 18.16.0
  4. Update App Config

    In app.config.ts, update the package name to match your app's package name and save the changes. ( You can get the package name from appmaker dashboard -> settings -> project details -> package name)

Steps

  1. Reset Device Data and Cache

    Open the simulator and go to: Device → Erase All Content and Settings

App Screenshot
If the issue persists, reset the simulator again and proceed to Step 2.
  1. Install Rosetta

    Run the following command in the terminal:

    softwareupdate --install-rosetta --agree-to-license
  2. Install and Test the Build

    After completing these steps, install the build and test it.

note
App Screenshot

If you have the error mentioned on screenshot xcode must be fully installed before you can continue, you can fix it by running the following command in the terminal:

and then follow the steps above.

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer