Giter VIP home page Giter VIP logo

Comments (3)

bryanbartow avatar bryanbartow commented on May 14, 2024

+1. I'm getting this, too.

from cameraengine.

natewitty avatar natewitty commented on May 14, 2024

I think I've figured out what was causing this issue for me. Hopefully this will help you also.

I ended up needing to add Microphone permissions to my info.plist

<key>NSMicrophoneUsageDescription</key>
<string>Place whatever description you want here</string>

While you're at it, it might be helpful to add these permissions as well.

<key>NSCameraUsageDescription</key>
<string>Your description</string>

<key>NSPhotoLibraryUsageDescription</key>
<string>Your description</string>

My app doesn't use video capabilities, so I never thought to add the microphone permissions. However, when CameraEngine is initialized and it starts adding these Outputs, Xcode will crash if you aren't asking permission to use certain parts of the hardware.

Xcode really does a bad job of handling these errors. So, it doesn't seem like it has anything to do with CameraEngine at all.

remirobert: It might be helpful to future users if you place a warning in the README file about these required permissions in iOS 10. Just a thought. Thanks for all your hard work on this.

from cameraengine.

bryanbartow avatar bryanbartow commented on May 14, 2024

@natewitty That was it. I'm assuming this is documented somewhere by Apple, so it was my fault for not RTFM, but Xcode could definitely do a better job of handling this. Time to file a radar...

from cameraengine.

Related Issues (20)

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.