When build process Info.plist file

When build project, the Xcode will process Info.plist file located in project, before Xcode 12, the process is Compile asset catalogs -> Process Info.plist -> ... -> Run Customer shell.
But when we use Xcode 12 beta, the order changed sometimes: Compile asset catalogs-> ... -> Run Customer shell -> Process Info.plist, because our shell will change the package's name and market version, so when this happened, this process will rewrite these values .
  1. Add New run script phases, and use this script to change the ***.app's Info.plist values when building

  2. Run this script after the "Copy Bundle Resources" stage

I expected the process Info.plist stage same as Xcode 11

Xcode 11

Xcode 12
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.
When build process Info.plist file
 
 
Q