zxingify / zxingify-objc

An Objective-C Port of ZXing
Apache License 2.0
3.06k stars 752 forks source link

ZXCGImageLuminanceSourceInfo.h cannot found #452

Closed THaliloglu closed 5 years ago

THaliloglu commented 5 years ago

Got build fail from ZXLuminanceSource.h with ZXCGImageLuminanceSourceInfo.h not found error.

carthage : github "TheLevelUp/ZXingObjC" ~> 3.6

lisafly2014 commented 5 years ago

I met the same problem

benjohnde commented 5 years ago

Could you maybe send a verbose log or the full xcodebuild output? With carthage 0.31.2 I do not face the same problem.

lisafly2014 commented 5 years ago

I know the problem. It's because ZXCGImageLuminanceSourceInfo.h is not in public.

issue for iOS Framework:

Select Framework Targets, then select "Build Phases", search "info" in the filter. You will find header file "ZXCGImageLuminanceSourceInfo.h" in the project subsection.

Solution: Drag "ZXCGImageLuminanceSourceInfo.h" from project to public subsection. Then "ZXCGImageLuminanceSourceInfo.h not found" error will be solved.

lisafly2014 commented 5 years ago

Please help update the fixed commit

benjohnde commented 5 years ago

Should be fixed @lisafly2014. Could you respond shortly if everything is working now as intended?

siemensikkema commented 5 years ago

@benjohnde works for me now!

benjohnde commented 5 years ago

@siemensikkema super! :)

benjohnde commented 5 years ago

thanks for the feedback!

THaliloglu commented 5 years ago

Thanks @benjohnde, it's working now 👍