While trying to use ZXingify-objc in my project through SPM (as opposed to Cocoapods) I ran into the following crash
Undefined symbols for architecture x86_64
Symbol: _llvm_profileruntime
Referenced from: llvm_profile_runtime_user in ZXingObjC.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Upon investigation I needed to add a change to the Package.swift file to enable the project to compile
While trying to use ZXingify-objc in my project through SPM (as opposed to Cocoapods) I ran into the following crash
Undefined symbols for architecture x86_64 Symbol: _llvm_profileruntime Referenced from: llvm_profile_runtime_user in ZXingObjC.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Upon investigation I needed to add a change to the Package.swift file to enable the project to compile