Skip to content
This repository was archived by the owner on Nov 29, 2022. It is now read-only.
This repository was archived by the owner on Nov 29, 2022. It is now read-only.

Undefined symbols for architecture x86_64: #68

@victorshablyko

Description

@victorshablyko

Hi, i used pods to import framework but now I can't build my project.

First I got 2 errors:

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

Then I've added this to Other Linker Flags(I see this flag in example project): -l"Pods-DZNWebViewController"
And now I get this error:

ld: library not found for -lPods-DZNWebViewController
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I can't build after first try to allocate DZNWebViewController in my AppDelegate

DZNWebViewController *controller = [[DZNWebViewController alloc] initWithURL:[NSURL URLWithString:@"https://dribbble.com/"]];

What's wrong with my project?

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