Xcode causes kernel panic the system when building iOS project

Greetings,


Xcode crashes the system and forces macbook to reboot.


Firstly, it shows pink rectangles in random places for 5 seconds and then reboots the computer.


All I'm trying to do is to just build a simple iOS project in Xcode.


This problem started out of nowhere.


I tried updating the macbook's OS (from Ventura to Sonoma) and Xcode to 15.1, but without luck.

Also tried reinstalling the OS through the boot loader, without luck.


Could you please help?


My system info:

  • Apple Macbook M1 Pro 14" - 16 GB ram - 1TB storage (870gb free)
  • macOS Sonoma
  • Xcode 15.1


Here's the kernel panic log after the reboot:



MacBook Pro 14″, macOS 14.2

Posted on Dec 30, 2023 6:28 AM

Reply

Similar questions

1 reply

Jan 2, 2024 5:09 AM in response to costa289

Here's the EntreCheck report:


Interestingly, it happens only when I include "cloud_firestore" flutter package to a project.

Any version of it.

Also, it worked 3 months ago, but now I get kernel panic.

I wonder if it was caused by some update from Apple.

Because I tried downgrading to Monterey, but it still crashed, but Monterey has recent updates, I cannot get version of macos without latest updates.


Really disappointing, because I spent almost $3000 on this laptop only to build my iOS project and it's useless now, because I can't build the project.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode causes kernel panic the system when building iOS project

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.