"Process Info.plist" phase happens occasionally at the end of building phases in XCode12 beta 6.

In XCode12 beta 6, when performing a clean build, there is no "Process Info.plist" phase among the building phases.
But when build again, sometimes "Process Info.plist" phase shows up.
And even worse, it happens at the end of building phases and overwrite the fields modified by my custom scripts. Normally, my custom scripts just modify version number dynamically to the git revision number, and change the app display name according to which environment I use in another config file. But "Process Info.plist" phase rollover it all. Please check the attatched log below.




Answered by ljql2002 in 630676022
Update:
I find this not happened in older XCode versions. "Process Info.plist" is steady after "Compile asset catalogs" phase and before "Customer script" phase.



Accepted Answer
Update:
I find this not happened in older XCode versions. "Process Info.plist" is steady after "Compile asset catalogs" phase and before "Customer script" phase.



Any suggestion?
I had this problem too, it helped when you put the Info.plist file as input file to your custom build phase the "Process Info.plist" will always be executed before that phase.
"Process Info.plist" phase happens occasionally at the end of building phases in XCode12 beta 6.
 
 
Q