Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

307
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!