Tryin To POD Install After Add Firebase/Auth In Pod File But An Error ...

Skip to content Dismiss alert {{ message }} / CocoaPods Public
  • Notifications You must be signed in to change notification settings
  • Fork 2.7k
  • Star 14.8k
  • Code
  • Issues 770
  • Pull requests 65
  • Actions
  • Projects
  • Wiki
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options Tryin to POD install after add Firebase/Auth in pod file but an error occurred #11505New issueNew issueOpenOpenTryin to POD install after add Firebase/Auth in pod file but an error occurred#11505@LeonardoMarzo

Description

@LeonardoMarzoLeonardoMarzoopened on Aug 20, 2022

Hi everybody i'm totally new to cocoaPods and this is my firts installation of it. I've tried to find some solution to my problems in internet but can't find any. I've followed also the link that the terminal create but there's no solution at all in that page. the page that terminal suggest is: https://github.com/CocoaPods/CocoaPods/search?q=dlopen%28%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.15.5%2Flib%2Fffi_c.bundle%2C+0x0009%29%3A+tried%3A+%27%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.15.5%2Flib%2Fffi_c.bundle%27+%28mach-o+file%2C+but+is+an+incompatible+architecture+%28have+%27x86_64%27%2C+need+%27arm64e%27%29%29+-+%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.15.5%2Flib%2Fffi_c.bundle&type=Issues

i've a m1 pro macbook, i had tried to install the m1 version but this gave me some error, and i found solution to my problem by installing arch -x86_64, intel's architecture. it was doing well but now i can not add Firebase\Auth to my project

Report

What did you do?

sudo arch -x86_64 gem install ffi arch -x86_64 pod install open Podfile pod install ** after some time** open Podfile (add Firebase/Auth) pod install

What did you expect to happen?

i'was expect to add Firebase authetication module to my project

What happened instead?

i actually don't know what's happened because cocoapod can't excute correctly "pod install" and i'm not able to recognize the error because this is my first installation .

Metadata

Metadata

Assignees

No one assigned

Labels

No labelsNo labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You can’t perform that action at this time.

Tag » How To Open Podfile In Terminal