ld: in /Users/keisukeyamagishi/code/gitlab/sevens/Pods/Realm/core/librealmcore-ios.a(array_binary.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 code example
Example: building for iOS Simulator, but linking in object file built for iOS, file
I solve problem by adding "arm64" in "Excluded Architectures" for both project target and pod target.
Xcode -> Target Project -> Build Setting -> Excluded Architectures > "arm64"
Xcode -> Pod Target -> Build Setting -> Excluded Architectures > "arm64"