F2Native icon indicating copy to clipboard operation
F2Native copied to clipboard

ios: F2 conflict with LBXZBarSDK

Open haogg opened this issue 2 years ago β€’ 2 comments

Describe the bug In Demos provided by the Offical, i met the error that The Xcode can't find "vector" in File "CanvasContext.h" , by adding F2( #pod 'F2' ) and LBXZBarSDK( #pod 'LBXZBarSDK').

To Reproduce ( 100% reproduce ) Steps to reproduce the behavior:

  1. Go to 'ios Demos provided by the Offical'
  2. open "podfile", we can see "pod 'F2'" in the file
  3. copy "pod 'LBXZBarSDK'" below "pod 'F2'".
  4. open terminal, execute "pod install"

Expected behavior no error and run normal

Screenshots image

haogg avatar Dec 12 '23 02:12 haogg

I think the eror is because there are both Image.h in the two libraries, it happened to comile the F2Native Image.h wrongly when compile the LBXZBarSdk according the error msg.

I don't know exactly how to fix the compile error, may be rename of one of name of Image.h could be the resolution.

Untitled 7

weiqingtangx avatar Jun 09 '24 03:06 weiqingtangx