Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

322
Vistas
Xcode 13 mac m1 chip google signin build gives building for iOS Simulator,but linking in object file built for iOS

I use this plugin @codetrix-studio/capacitor-google-auth

and I perform all steps one by one in ANDROID is working but when I build for IOS its open Xcode but when I run the target app it's give me this error

in APP_PATH/ios/App/Pods/GoogleSignIn/Frameworks/GoogleSignIn.
framework/GoogleSignIn(GIDEMMErrorHandler_3a47e13d8ca81b41e9cdb7ef5468004a.o),
building for iOS Simulator,but linking in object file built for iOS, file 
'APP_PATH/ios/App/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn' 
for architecture arm64
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

try with this

you have to add this code to your Podfile

post_install do |installer|
 installer.pods_project.build_configurations.each do |config|
  config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
 end
end

After adding this code install pod

pod install

and add this code in capacitor.config.json

"GoogleAuth": {
        "scopes": [
            "profile",
            "email"
        ],
        "serverClientId": "YOUR_API_KEY.apps.googleusercontent.com",
        "forceCodeForRefreshToken": true
    }

and in Xcode

enter image description here

after adding your key clean project and run.

and add arm64 in Building Settings and find Excluded Architecture

enter image description here

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda