How to make framework and spm work together on Xcode15?

My project uses frameworkes and spm(swift package manager), and it works well on Xcode14. But on Xcode15, build for iPhone Simulator, framework is not supported. If I want to use the framework, I must add arm64 to Exclude Architecture, but this setting will cause spm to not supported.

Even the new project has same problem which uses framework and spm on Xcod15?

How to make framework and spm work together on Xcode15?

How to make framework and spm work together on Xcode15?
 
 
Q