I saw a lot of the solutions for this problem. 1. Use script https://developer.apple.com/forums/thread/669411?answerId=652489022#652489022 2. Add validate workspace's parameter to xcodeproj. I just want apple to clarify about how long fat binary still be supported. I'm afraid that if I use these solutions to avoid the fact that apple want us to use XCFramework One day apple suddenly decide to not support fat binary, then we're gonna have the real big problem.