Building for iOS Simulator but link ios arm64

I want run a ios simultor demo, But meet this error .
I have checked the archs of the framework file


If I want run this on Apple Silicon Mac ,How to fix ,
In Apple Silicon , I meet same problem
Code Block
building for iOS Simulator, but linking in object file built for iOS, file '../SDK/***.framework/***' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


How to fix it ?
Hope someone can give a perfect answer
Hope to get the answer of the deep principle

Building for iOS Simulator but link ios arm64
 
 
Q