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

[Feature Request][macOS] Allow to use `CFBundleSupportedPlatforms` with `InfoAdditions`

Open itlancer opened this issue 1 year ago • 2 comments
trafficstars

Feature Description

AIR SDK for macOS should allow to add CFBundleSupportedPlatforms with InfoAdditions.

Right now trying to add to manifest InfoAdditions section for macOS:

<key>CFBundleSupportedPlatforms</key>
    <array>
     <string>MacOSX</string>
    </array>

cause packaging error: error 105: application.macOS.InfoAdditions contains an invalid value

Alternatively, AIR SDK could automatically fill CFBundleSupportedPlatforms with MacOSX.

Related issues: https://github.com/airsdk/Adobe-Runtime-Support/issues/3172 https://github.com/airsdk/Adobe-Runtime-Support/issues/2857 https://github.com/airsdk/Adobe-Runtime-Support/issues/2083

Known Workarounds

Manually add CFBundleSupportedPlatforms to packaged AIR app and re-sign it.

itlancer avatar Apr 12 '24 10:04 itlancer

Hi

Going with the "automatically fill CFBundleSupportedPlatforms with MacOSX" option for now... https://airsdk.harman.com/download/50.2.5.1

But I think that it might be good to also allow overrides for this one..? the way Apple are taking things..

thanks

ajwfrost avatar Apr 19 '24 11:04 ajwfrost

@ajwfrost AIR 51.0.1.1 right now fills CFBundleSupportedPlatforms as a String. But it should be Array with one String element.

itlancer avatar May 07 '24 12:05 itlancer

Fixed with AIR 51.0.1.2. Thanks!

itlancer avatar May 31 '24 12:05 itlancer