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)
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
Post a Comment