Post

Replies

Boosts

Views

Activity

Reply to Why does Xcode always recompile all files the second time after a full build but not after that?
To answer my own question, the problem was because a long time ago, I had specified a custom location for my build folder for reasons I won't get into but it was necessary in old version of Xcode and its legacy build system. In addition, some of the third party frameworks I use also had custom build folder locations. Once I changed all the projects to just let Xcode handle maintaining the build folder and ensuring that my Xcode project settings was showing that it was using the Xcode Default build location and not Legacy, the rebuild problem went away.
Nov ’23
Reply to Instruments: why? “Failed to gain authorization”
I have the same problem with versions of Xcode 12.5.1 to 14.0. At least Xcode 125.1 puts out a useful error. Xcode 13 and newer puts out the very unhelpful error message "Required kernel recording resources are in use by another document.". I was able to get around the issue by editing my target's scheme and temporarily changing the Profile > Build Configuration from Release to Debug.
Sep ’22