Just add this flag
-Wno-unused-private-field
under ZXingWidget target -> Build Settings -> Other Warning Flags. Click the + button and paste the flag, clean and build again.
(No need to remove any other flag, just ignore unused private field warning)