Code Monkey home page Code Monkey logo

Comments (6)

Dynamsoft-Henry avatar Dynamsoft-Henry commented on July 20, 2024 1

Hi @DenysLopatynskyiB
It is a historical issue of this library. The 1.x versions of this library were compiled from .framework which can't exclude the unsupported architectures automatically.

We are developing a 2.x version (based on the .xcframeworks). The new version will no longer ask you to exclude the architectures manually. The new version will be released in a few months.

from capture-vision-react-native-samples.

Dynamsoft-Henry avatar Dynamsoft-Henry commented on July 20, 2024

Hi @DenysLopatynskyiB

Option 1: In the workspace Go to target->Build Settings and exclude the Arm64 architecture.

rn-exclude-architecture

Option 2: Exclude Arm64 via the podfile:

post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end

from capture-vision-react-native-samples.

DenysLopatynskyiB avatar DenysLopatynskyiB commented on July 20, 2024

Thank you for the workarounds,
but your library is the only one that requires this.

I would prefer if we could keep our Podfile and Project settings "clean" or "out of the box".

Is there much required to build your Lib for arm 64?

from capture-vision-react-native-samples.

Dynamsoft-Henry avatar Dynamsoft-Henry commented on July 20, 2024

Hi @DenysLopatynskyiB

This library only supports ARM64 (iPhone), x86_64 (Simulator). ARM64 (Simulator) is not supported. That's why it requires this workaround.

This library is not supposed to be run on a simulator because it requires a camera.

from capture-vision-react-native-samples.

DenysLopatynskyiB avatar DenysLopatynskyiB commented on July 20, 2024

Hi @DenysLopatynskyiB

This library only supports ARM64 (iPhone), x86_64 (Simulator). ARM64 (Simulator) is not supported. That's why it requires this workaround.

This library is not supposed to be run on a simulator because it requires a camera.

Hi @Dynamsoft-Henry , I agree with you, that it doesn't need to work/be supported in the Simulator, BUT, it shouldn't be breaking builds.

from capture-vision-react-native-samples.

DenysLopatynskyiB avatar DenysLopatynskyiB commented on July 20, 2024

That sounds great. Will wait for the 2.x version to be released then.

Thank you for your help.

Regards,

Denys

P.S. you can close the issue if you like

from capture-vision-react-native-samples.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.