N Kaushik

Solved - Couldn't IRGen expression, no additional error in XCode

November 05, 2020

Couldn’t IRGen expression, no additional error in XCode

This error was occurring if I was trying to po anything in debug mode. Below is the screenshot of this error :

Couldn't IRGen expression, no additional error in XCode

I tried cleaning the project, removing derived data, rebuilding and restarting but nothing worked. Here is a stack overflow post that provides a couple of solutions that you can try.

What worked:

The problem was with instabug. Instabug swift library was the reason for this error. Not sure what is the cause but after I removed it from podfile, did pod install and removed its initialization code, it worked 🙂

Noting it down here to save someone’s time 😇


Subscribe to my Newsletter

© 2021, nkaushik