ios - Crashlytics error: Undefined symbols for architecture arm64 -


after updated fabric crashlytics in app cant anymore run on ios device. on simulator works fine. error is:

undefined symbols architecture arm64: "_gzopen", referenced from: -[clspackagereportoperation compressfile:] in crashlytics(clspackagereportoperation.o) "_gzwrite", referenced from: ___42-[clspackagereportoperation compressfile:]_block_invoke in crashlytics(clspackagereportoperation.o) "_gzclose", referenced from: -[clspackagereportoperation compressfile:] in crashlytics(clspackagereportoperation.o) ld: symbol(s) not found architecture arm64 clang: error: linker command failed exit code 1 (use -v see invocation)

enter image description here

crashlytics , fabric require link target against following:

  • security.framework
  • systemconfiguration.framework
  • libc++
  • libz

just select target -> build phases -> link binary libraries -> add ones missing.

i hope helped.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -