How to compile in same .a file or .framework in M1 and Intel Simulator?

Problem statement: