Skip to content

Linker Issue - Bridging Header #31

Description

@ARod

I have been trying to incorporate BlufiLibrary on my SWIFT project. The linker keeps saying

Undefined symbols for architecture arm64:
"OBJC_CLASS$_BlufiClient", referenced from:
objc-class-ref in SettingsViewController.o
"OBJC_CLASS$_BlufiScanResponse", referenced from:
objc-class-ref in SettingsViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

  1. I dragged the BlufiLibrary as is into my project root directory.
  2. Added the Search pathways as describe don this page.

This exception is when I try to declare a blufiClient object.

var blufiClient = BlufiClient()

Any guidance would be greatly appreciated.

NOTE: The App compiles and runs without problems when is completely in Objective-C. I am sure I am forgetting something fundamental.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions