Skip to content

Error when adding Firebase to my iOS project without CocoaPods. #2103

@scourgy

Description

@scourgy

I am trying to add Firebase to my project and especially their barcode reader frameworks (Vision). I have followed these instructions:

https://www.mokacoding.com/blog/setting-up-firebase-without-cocoapods/

I have added the folder that contains what I want - MLVision with all the frameworks there. I have imported the header files, also did @import GoogleMobileVision in my main file.

The problem is that I am getting the following error when trying to run my project:

Undefined symbols for architecture arm64:
  "_kFIRLoggerMLKit", referenced from:
      _FIRMLKitLog in FirebaseMLCommon(FIRMLKitLogger_1ae3a68aef0eb3884b887b653b700305.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any ideas how to solve this one? Thanks in advance.

Here is a screenshot of what I have added:
https://i.imgur.com/ttqplc0.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions