Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

iOS App crashes on Silicon Mac, OSX Sonoma

Open apofis1969 opened this issue 1 year ago • 7 comments

Problem Description

The app can not activate the microphone and crashes after a while. All permissions including the OneSignal Push Notifications had been asked and granted. But when opening the screen where microphone and camera are needed the app crashes. The microphone icon is constantly flashing in the taskbar of my MacBook Air until the application crashes.

AIRSDK: 50.2.4.1 MACOSX: 14.1.2 MacBook Air: M1

I get this error message too, which I can not understand fault 13:43:53.895351+0100 runningboardd Two equal instances have unequal identities. <type=Application identifier=application.com.myapp AUID=501> and <type=Application identifier=application.com.myapp>

Is this a known problem?

And how to get a correct device output with the application ane (@marchbold ). My current output is this: | Manuf.: Apple | Model: iPad Pro 12.9-Inch 1TB (Wi-Fi Only - 3rd Gen) | Device: iPad | OS: iOS | Version: 17.1 | DPI: 264

Any help to get my iOS App running on M1 and M2 Macs is welcome!

apofis1969 avatar Dec 09 '23 13:12 apofis1969

Can you elaborate on your testing process here?

marchbold avatar Dec 11 '23 06:12 marchbold

hi @marchbold , the steps are simple. I upload the app to TestFlight and download it to my Mac. All is working, including the inApp Purchase. What is not working is the resolution output. As I described above and the Microphone settings seem to create problems. If you want I send you the log files from the console. The app appears in a square layout (height = width). But I can not adjust them, because I do not get the information, that the device is a Mac. To see the microphone flashing of the mac I attach a short screen recording.

https://github.com/airsdk/Adobe-Runtime-Support/assets/25087613/1b0c460f-7cbc-41aa-9139-1731c5c82ecd

apofis1969 avatar Dec 11 '23 09:12 apofis1969

Hmm okay, will leave the microphone stuff for Andrew (assuming you are accessing that through the AIR SDK?)

I haven't investigated this approach with the look up values in the Application ANE so if you could log an issue in the Application ANE repo I'll have a look into it and see if it's something we can resolve.

marchbold avatar Dec 13 '23 01:12 marchbold

Hi @marchbold it would be great if the Application ANE could show the correct resolution of the Mac device and that it is a Mac. Thank you!! Hopefully the microphone problem can be resolved. It is time to fix the whole multimedia issues of Adobe Air

apofis1969 avatar Dec 13 '23 06:12 apofis1969

@ajwfrost @marchbold hi, I tested different codes and figured out that the enhanced microphone crashes the silicon mac and the app can not connect to the camera of the silicon mac. as long as I only use the normal microphone settings without camera the app works. adding the camera the app crashes. Using the recent code on a mac app (not the designed for iOS version) all is working. Really strange.

apofis1969 avatar Dec 14 '23 12:12 apofis1969

Hi

Just to confirm here, you're creating an iOS app (IPA file) but are then installing it back onto the Mac (M1 silicon) and it's getting this issue .. do you know if it's okay when it runs on an iPad? and have you tried it on a different Mac, I'm wondering whether this could be something with it detecting that you have the application present twice (once where you packaged it up, and one where you then installed it).

Anyway -> we will try to do the same and see if we can get a reproduction with this, and see what's happening..

thanks

ajwfrost avatar Dec 14 '23 14:12 ajwfrost

Hi @ajwfrost, I did a lot of tests and code changes. The app works as long as no camera is activated. I start also to understand why I get this error message: fault 13:06:36.969491+0100 runningboardd Two equal instances have unequal identities. <type=Application identifier=application.com.myapp AUID=501> and <type=Application identifier=application.com.myapp> When asking the amount of cameras I get the information of my Mac Silicon, that I have 2 Facetime Cameras. But the Laptop has only 1! This is maybe the main bug. I was first thinking it is the Continuity Camera, but after I disabled this feature on my iPhone the app still showed up 2 Cameras. The other error message I get is: error 13:06:36.986628+0100 ControlCenter Unable to find camera with identifier EAB7A68F-EC2B-4487-AADF-D8A91C1CB782 in [] to associate with com.myapp As soon as I activate the Camera the microphone symbol in the task bar of the mac starts flashing and the app crashes. The camera on my Mac shows a green light, but also this one is flashing.

The app is working on iPad, iPhone and as "real" macOS App all devices with the latest OS. There is also missing, that Adobe Air recognizes if the App is on a Mac Silicon or on iPad. But hopefully @marchbold can resolve this with the Application ANE.

apofis1969 avatar Dec 15 '23 12:12 apofis1969