Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Build #33

Closed
yanamura opened this issue Jun 24, 2016 · 3 comments
Closed

Can't Build #33

yanamura opened this issue Jun 24, 2016 · 3 comments

Comments

@yanamura
Copy link

I installed pushwoosh(4.0.7) by using cocoapods.
But cannot build.

Undefined symbols for architecture arm64:
  "_inflate", referenced from:
      pushwoosh::unzReadCurrentFile(void*, void*, unsigned int) in Pushwoosh(unzip.o)
  "_deflate", referenced from:
      pushwoosh::zipWriteInFileInZip(void*, void const*, unsigned int) in Pushwoosh(zip.o)
      pushwoosh::zipCloseFileInZipRaw(void*, unsigned long, unsigned long) in Pushwoosh(zip.o)
  "___cxa_begin_catch", referenced from:
      ___clang_call_terminate in Pushwoosh(PWZipArchive.o)
  "_inflateEnd", referenced from:
      pushwoosh::unzCloseCurrentFile(void*) in Pushwoosh(unzip.o)
  "_crc32", referenced from:
      -[PWZipArchive addFileToZip:newname:] in Pushwoosh(PWZipArchive.o)
      pushwoosh::unzReadCurrentFile(void*, void*, unsigned int) in Pushwoosh(unzip.o)
      pushwoosh::zipWriteInFileInZip(void*, void const*, unsigned int) in Pushwoosh(zip.o)
  "_deflateInit2_", referenced from:
      pushwoosh::zipOpenNewFileInZip3(void*, char const*, pushwoosh::zip_fileinfo const*, void const*, unsigned int, void const*, unsigned int, char const*, int, int, int, int, int, int, char const*, unsigned long) in Pushwoosh(zip.o)
  "std::terminate()", referenced from:
      ___clang_call_terminate in Pushwoosh(PWZipArchive.o)
  "_deflateEnd", referenced from:
      pushwoosh::zipCloseFileInZipRaw(void*, unsigned long, unsigned long) in Pushwoosh(zip.o)
  "_inflateInit2_", referenced from:
      pushwoosh::unzOpenCurrentFile3(void*, int*, int*, int, char const*) in Pushwoosh(unzip.o)
  "___gxx_personality_v0", referenced from:
      -[PWZipArchive dealloc] in Pushwoosh(PWZipArchive.o)
      -[PWZipArchive createZipFile2:] in Pushwoosh(PWZipArchive.o)
      -[PWZipArchive createZipFile2:password:] in Pushwoosh(PWZipArchive.o)
      -[PWZipArchive addFileToZip:newname:] in Pushwoosh(PWZipArchive.o)
      -[PWZipArchive unzipOpenFile:] in Pushwoosh(PWZipArchive.o)
      -[PWZipArchive unzipOpenFile:password:] in Pushwoosh(PWZipArchive.o)
      -[PWZipArchive unzipFileTo:overWrite:] in Pushwoosh(PWZipArchive.o)
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@yanamura
Copy link
Author

should add libz and libc++ manually?

@DimanAM
Copy link
Collaborator

DimanAM commented Jun 24, 2016

Unfortunately libz and libc++ libraries are not recongnized as modules so other frameworks cannot automatically reference them. You should add libz and libc++ manually as mentioned in SDK guides (step 3.5)

@yanamura
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants