You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.
Ever since updating to XCode8 and Swift3, I've been getting a crash in CameraEngineOutput.swift in the func configureCaptureOutput
session.addOutput(self.captureVideoOutput)
I've updated my podfile to point to the 1.0 branch and the app builds fine, but it crashes on the splash screen giving the error: Thread 4: EXC_BAD_ACCESS (code=1, address=0x50)
(Note: Thread 4 is the capturesession thread)
Has anyone else been getting this? I'm at a loss as to what to do. Currently it's taking down my whole app... not just the camera tab. Everything was working great before the switch to Swift3.
Thanks.
The text was updated successfully, but these errors were encountered:
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.
@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...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Ever since updating to XCode8 and Swift3, I've been getting a crash in CameraEngineOutput.swift in the func configureCaptureOutput
I've updated my podfile to point to the 1.0 branch and the app builds fine, but it crashes on the splash screen giving the error:
Thread 4: EXC_BAD_ACCESS (code=1, address=0x50)
(Note: Thread 4 is the capturesession thread)
Has anyone else been getting this? I'm at a loss as to what to do. Currently it's taking down my whole app... not just the camera tab. Everything was working great before the switch to Swift3.
Thanks.
The text was updated successfully, but these errors were encountered: