Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

317
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda