In some reason, Products folder is missing in the project tree if no framework is linked against the app.
Note: worked with Xcode 13.2.1
Simple way
Just add any framework to any of your targets. The folders "Products" and "Frameworks" will appear.
Next just delete this framework from project
Details
The reason is a bit different Xcode project file content.
I've compared a bit projects with and without "Product" folder reference.
In my case, the folder appears "as should" when I recovered another folder called "Frameworks". Yes, that sounds very weirds but it worked!
I need to perform 2 modifications of the project file.
First: in the end of PBXGroup section add group 'Frameworks'
BDA596AF271F808000093C27 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
Second: in the very beginning of PBXGroup section refer 'Frameworks' group
/* Begin PBXGroup section */
A463827B279AF34300EBE05C = {
isa = PBXGroup;
children = (
A4638286279AF34300EBE05C /* SomeApp */,
A4638285279AF34300EBE05C /* Products */,
BDA596AF271F808000093C27 /* Frameworks */,
);
sourceTree = "<group>";
};
These simple and strange changes do the trick! "Products" folder comes back