Speedpoint
Speedpoint

Reputation: 83

Undefined symbols for architecture i386 external Framework XCode

Im trying to using an external SDK in the form of a framework, "ZoomSDK.framework".

I've added the framework to my "linked frameworks and libraries" and added all the other needed frameworks and libs but I seem to be getting an error:

Undefined symbols for architecture i386:
  "_gzclose", referenced from:
      l38075 in ZoomSDK
  "_gzopen", referenced from:
      l38075 in ZoomSDK
  "_gzwrite", referenced from:
      l38074 in ZoomSDK
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation).

I've looked at similar posts regarding this issue but non of the solutions seem to work for me.

Any help would be much appreciated.

EDIT - I've

Non of these seem to fix the error.

Upvotes: 1

Views: 495

Answers (1)

Phillip Mills
Phillip Mills

Reputation: 31016

A quick google search tells me those symbols are defined in zlib. http://www.zlib.net/manual.html

Try adding libz to the link library section of you project.

Upvotes: 1

Related Questions