iOS apps on MacOS

Hey there,

Starting with macOS Big Sur, compatible iPhone and iPad apps can be made available on Apple silicon Macs. Apps will run natively and use the same frameworks, resources, and runtime environment as they do on iOS and iPadOS.

I made my apps available for MacOS and have a strange problem.

Game that was last updated 1 year ago (not sure what OpenFL/Lime versions used, most likely 9.4.2/8.2.3) works fine on my MacOS 26.5.1.

While recently updated game (OpenFL 9.5.2/Lime 8.3.2) does not react to mouse clicks at all.

I don’t know what could be the reason here.

Did anyone have a similar problem?

Can someone test on their Mac?

Working game: ‎All-in-One Mahjong App - App Store

Not working game: ‎All-in-One Solitaire App - App Store

Thaaank you.

We get our mouse and touch events from the SDL library on native platforms.

In Lime 8.3.0, we updated the SDL library to 2.30.12 from 2.24.0 in Lime 8.2.0. Perhaps a change in SDL caused this problem.

Ok, I figured it out.

It didn’t work because of this flag:UIApplicationSupportsIndirectInputEvents

Found this in debug console:

You need UIApplicationSupportsIndirectInputEvents in your Info.plist for mouse support

Setting it to true, fixed the problem.

It should be probably added to template {{app.file}}-Info.plist

2 Likes