Open apofis1969 opened 1 month ago
Hi
Trying to check on this to reproduce it ... I'm not actually sure whether this is a permissions/entitlements issue, as Apple are usually quite good about notifying you of this kind of error in the crash report. But just to check, do you have the permission strings for camera (and microphone?) in your InfoAdditions, and the entitlements for camera/microphone listed in your Entitlements section, within the iPhone block of the app descriptor?
The actual crash appears to be a null pointer dereference, but the call stack seems to show a recursive set of calls into [AVCaptureSession startRunning]
.. and a large number of threads spawned for CameraFramesQueue
..
Running an IPA directly on a Mac isn't working so we'll have to go via TestFlight I think, like you are .. which may take a bit of setting up here.
Separately - I just read through that other report, looks like we dropped that one, apologies - it also mentioned the fact that two cameras were reported? I'm actually seeing this same issue when I run it as a normal desktop macOS app, so we can check on that issue..
thanks
hi @ajwfrost, attached I send you the entitlements. All permissions are declarated. iosApp-Crash-on-Mac-entitlements.txt
Thanks @apofis1969 .. are you able to try updating your entitlements section:
<Entitlements><![CDATA[ ...
....
<key>com.apple.security.device.camera</key><true/>
<key>com.apple.security.device.microphone</key><true/>
]]></Entitlements>
I'm not convinced it's this - the call stack makes me think AIR isn't handling an error condition properly - but a macOS app would need these...
thanks
Thanks @ajwfrost for your reply. But unfortunately this does not resolve the problem.
Problem Description
Describe your problem in detail. Include the following information:
@marchbold developed the gorgeous feature to recognize, if an iOS Apüp is running on Mac
Application.service.device.isiOSAppOnMac
But unfortunately there is a bug with the microphone or camera permission. The app crashes and does not connect to the streaming server. Building a normal Mac App all is working. Permissions in the privacy settings appear as granted.I tested the permission settings with the Permission Manager of the AIR SDK as well as with the permission settings of the iOS App. I always get the same result. The bug seems to be with the camera settings, I think.
I already opened a ticket a long time ago, but no solution until now. (#2960) Maybe this time the problem will be discovered.
iosApp-Crash-on-Mac.txt