coronalabs / corona

Solar2D Game Engine main repository (ex Corona SDK)
https://solar2d.com/
MIT License
2.54k stars 273 forks source link

Invalid Swift Support with Solar2D 2024.3702 #674

Open nhan-hv opened 10 months ago

nhan-hv commented 10 months ago

Apple sent me an email with the following:

ITMS-90424: Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your app using the current public (GM) version of Xcode and resubmit it.

Attach your build.settings

-- Tendrils build.settings

settings =
{
    orientation =
    {
        -- Supported values for orientation:
        -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight
        default = "portrait",
        supported = { "portrait", },
    },

    splashScreen = 
    {
        enable = false
    },

    --
    -- Android section
    --
    android =
    {
        usesPermissions =
        {
            "android.permission.INTERNET",
        },
    },

    --
    -- iOS section
    --
    iphone =
    {
        xcassets = "Images.xcassets",
        plist =
        {
            GADApplicationIdentifier = "[REDACTED]",
            UILaunchStoryboardName = "LaunchScreen",
            UIStatusBarHidden = false,
            MinimumOSVersion = "17.0",
            NSUserTrackingUsageDescription = "This would allow the app to advertise better.",
            SKAdNetworkItems = {
                {
                    SKAdNetworkIdentifier = "cstr6suwn9.skadnetwork",
                },
            },
        },
    },

    --
    -- Plugins section
    --
    plugins =
    {
        ["plugin.admob"] = { publisherId = "com.coronalabs" },
        ["plugin.att"] = { publisherId = 'com.solar2d' },
    },

    --
    -- Project section
    --
    excludeFiles =
    {
        -- Exclude unnecessary files for each platform
        all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
        android = { "LaunchScreen.storyboardc", },
    },
}

I found some other posts with the same issues from few years back and they are usually due to the plugin. Can someone check? Thanks!

Shchvova commented 10 months ago

Thanks for the report.