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.
Build log - https://developer.apple.com/forums/content/attachment/34e09534-574d-4ead-8b60-c792c7fa0e58
Post
Replies
Boosts
Views
Activity
With XCode 11.1, I set "Derived Data" to my custom path as "/Volumes/MacData/XCBuilds/DerivedData".
But there is an error that Flurry fails to upload dSYM file. I check the intermedia folder that XCode builds, find out the size of the file
"MyApp.app.dSYM/Contents/Resources/DWARF/MyApp"
under the folder
"/Volumes/MacData/XCBuilds/DerivedData/MyApp-gpbveffuperzlnaonxkvuwenbbdz/Build/Intermediates.noindex/ArchiveIntermediates/MyAppDEV/BuildProductsPath/MyAppDEV-iphoneos" is zero bytes.
But if I change the "Derived Data" back to Default, it builds successfully, and the size of the bin file of MyApp is not zero bytes.
Is it a bug in XCode?