Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Could not build Objective-C module 'vision_camera_code_scanner' #149

Open
tecsobs opened this issue Jun 2, 2023 · 9 comments
Open

Could not build Objective-C module 'vision_camera_code_scanner' #149

tecsobs opened this issue Jun 2, 2023 · 9 comments

Comments

@tecsobs
Copy link

tecsobs commented Jun 2, 2023

I am getting this error when i try to build for ios

@zitup
Copy link

zitup commented Jun 2, 2023

Have the same issue, build failed in IOS

The first problem is 'VisionCamera/FrameProcessorPlugin.h' file not found
Solved by adding s.dependency "VisionCamera" in VisionCamera.Podfile

Then VisionCamera/VisionCamera.h file not found, solved by this method,
But the build still failed. . is there an alternative package?

@ninhva
Copy link

ninhva commented Jul 4, 2023

have the same issue

@felipejoribeiro
Copy link

we are having the same issue, did some one find a good solution?

@felipejoribeiro
Copy link

last commit is almost one year in the past. Probably a dead package. Some one know any good alternative?

@kigh143
Copy link

kigh143 commented Jul 20, 2023

Hey anyone found a solution to this issue?

@kigh143
Copy link

kigh143 commented Jul 21, 2023

This pull request fixed the issue for me: PR
I am adding this to your profile.

pre_install do |installer|
  installer.pod_targets.each do |pod|
    if pod.name.eql?('vision-camera-code-scanner') || pod.name.eql?('VisionCamera')
      def pod.build_type
        Pod::BuildType.static_library
      end
    end
  end
end

@unubold1
Copy link

got the same issue.

@khanakia
Copy link

I added the above code podfile but still same error

@yasiragi
Copy link

yasiragi commented Oct 9, 2023

Any updates on this issue? I'm using Xcode 15 still facing the issue

"react-native": "0.70.6"
"vision-camera-code-scanner": "^0.2.0"

Screenshot 2023-10-09 at 7 06 43 PM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants