I've created a framework which I want to build as an XCFramework. If I don't add arm64 to the excluded architectures i will get an error when building for simulator - something like "undefined symbols for..."
If I add the arm64 to the excluded architectures it will build correctly for simulator but it will create an issue for building for a real device.
So now what I do is - I build once for the simulator with the arm64 flag and I build again for real device without this flag.
What is the correct way of doing this automatically?
If I add the arm64 to the excluded architectures it will build correctly for simulator but it will create an issue for building for a real device.
So now what I do is - I build once for the simulator with the arm64 flag and I build again for real device without this flag.
What is the correct way of doing this automatically?