Xcodebuild resolve package graph is very slow

When compiling from terminal using xcodebuild, is there a way to speed up the "Resolve Package Graph"? The build itself takes less than a second but the Resolve Package Graph takes around 10 seconds on my M1 Pro laptop.

4 Likes