title: Firebase analytics and other modules on Apple M1 chip
body: <p>I'm using the Firebase and the SDWebImageSwiftUI module in my SwiftUI 2 app with Xcode 12.3 and Cocoapod 1.10.0 on my Apple M1 MacBook Pro.</p>
  <p>As long as I don't integrate the Firebase Analytics module via Cocoapod the app works fine but when I integrate it, I get the same error as the guy here: <a href="https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios?page=1&amp;tab=active#tab-top">Xcode 12, building for iOS Simulator, but linking in object file built for iOS, for architecture arm64</a>. His solution also works for me (exclude arm64 architecture for the project and pods).</p>
  <p>However now the SDWebImageSwiftUI module (included via swift package manager) is complaining &quot;Could not find module 'SDWebImageSwiftUI' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator&quot;. If I include the module via Cocoapod then the compiler says &quot;No such module &quot;SDWebImageSwiftUI&quot;.</p>
  <p>Does anyone of you has an idea on what I could do?</p>
  <p>Any help is much appreciated</p>