ursachec/CPAProxy

Undefined symbols for architecture arm64

Closed this issue · 1 comments

I'm using the fork form @rainwolf
When compiling I get the following error:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_CPAProxyManager", referenced from:
      type metadata accessor for __ObjC.CPAProxyManager in ViewController.o
  "_OBJC_CLASS_$_CPAConfiguration", referenced from:
      type metadata accessor for __ObjC.CPAConfiguration in ViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

When I remove the Code in the ViewController (First Steps) it compiles without problems.

I tried to fix it as described in this post: http://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64 but without success...

I just tried to reproduce your issue with a new project and my fork, I can't reproduce your issue. It should work out of the box if you use cocoapods.