title: Swift | GoogleSignIn pod: building for iOS Simulator, but linking in object file built for iOS file for architecture arm64
body: <p>I have a problem with running a project in the simulator on M1 (there is no problem with such a real device). After installing the GoogleSignIn pod, the project stopped compiling for the simulator with the following error - <a href="https://tppr.me/JpMll" rel="nofollow noreferrer">https://tppr.me/JpMll</a></p>
  <pre><code>building for iOS Simulator, but linking in object file built for iOS, file '/......../GoogleSignIn.framework/GoogleSignIn' for architecture arm64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  <p>Tried every possible solution (feeling that they are all under Xcode version up to 12). It also does not help to specify forcibly in the arm64 settings: other pods fall off (FirebaseAuth, Firebase/Analytics, Firebase/Firestore, Firebase/Storage).</p>
  <p>There is a feeling that it is necessary to force the start of the arm64 engine only for the &quot;problem&quot; pod (in my case, it is GoogleSignIn). <strong>Then the question is, how can this be done, and is it possible at all?</strong></p>
  <p>Podfile:</p>
  <pre><code># Uncomment the next line to define a global platform for your project
  # platform :ios, '9.0'
  
  target 'iChat' do
    # Comment the next line if you don't want to use dynamic frameworks
    use_frameworks!
  
    # Pods for iChat
    pod 'Firebase/Analytics'
    pod 'GoogleSignIn'
    pod 'Firebase/Auth'
    pod 'Firebase/Firestore'
    pod 'Firebase/Storage'
    pod 'SDWebImage'
  
  end
  </code></pre>
  <p>Pod Version:</p>
  <pre><code>Installing AppAuth (1.4.0)
  Installing BoringSSL-GRPC (0.0.7)
  Installing Firebase (7.11.0)
  Installing FirebaseAnalytics (7.11.0)
  Installing FirebaseAuth (7.11.0)
  Installing FirebaseCore (7.11.0)
  Installing FirebaseCoreDiagnostics (7.11.0)
  Installing FirebaseFirestore (7.11.0)
  Installing FirebaseInstallations (7.11.0)
  Installing FirebaseStorage (7.11.0)
  Installing GTMAppAuth (1.2.1)
  Installing GTMSessionFetcher (1.5.0)
  Installing GoogleAppMeasurement (7.11.0)
  Installing GoogleDataTransport (8.4.0)
  Installing GoogleSignIn (5.0.2)
  Installing GoogleUtilities (7.3.1)
  Installing PromisesObjC (1.2.12)
  Installing SDWebImage (5.11.1)
  Installing abseil (0.20200225.0)
  Installing gRPC-C++ (1.28.2)
  Installing gRPC-Core (1.28.2)
  Installing leveldb-library (1.22.1)
  Installing nanopb (2.30908.0)
  </code></pre>