OS: Windows 10 22H2 19045.5487
unity: 6000.0.32f1
visual studio: Microsoft Visual Studio Community 2022 17.12.3
MAC:
x-code
I created a simple 2D project and managed to deploy the game to my i-phone successfully.
(mono project → build to xcode project files → build in xcode → run in xcode with my i-phone)
But the building time lasted over 10 minutes and I found a page
Optimizing iOS and macOS build times using ccache
I tried to run ccache in my mac and hope to accelerate the building.
I installed ccache in my MAC by brew
I made two script with +x mode
I created a testc folder to verify the script
and it did work.
Then I opened the xcode and added CC and CXX to the “Build Settings”
I triggered the building
But it didn’t work, the building used the default compiler.
I had repeated to ask AI about it and cleaned building cache many times, but the problem still exists.
Even without any probing executing of the ccache-clang script ( I configured the log file position, so if it has been executed once, there will be some logs)
Could someone help me check if there’s something wrong?






