Build signing error

Hello, I cannot get my app to build for iOS.

Running Corona Simulator 2023.3696 / Xcode 16.4

Followed the deistribution guide here.

Also curious which I should be choosing - 16.4 or 16.4 Metal? Below is the console output for when I select 16.4

Building: Signing application with "Apple Development: Omid Ahourai (DL6AS722HU)"
                    "Apple Development: Omid Ahourai (DL6AS722HU)"
                    "Apple Development: Omid Ahourai (DL6AS722HU)"
                    "Apple Development: Omid Ahourai (DL6AS722HU)"
Sep 18 22:07:47.227 ERROR: build command failed: DEVELOPER_BASE="/Applications/Xcode.app/Contents/Developer"
Sep 18 22:07:47.228 export PATH="$DEVELOPER_BASE/Platforms/iPhoneOS.platform/Developer/usr/bin:$DEVELOPER_BASE/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
                    export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate"
                    /usr/bin/xattr -cr "/Users/omidahourai/Development/boxbird-eats-blockyfish/build/Box Bird.app" && "/usr/bin/codesign" --verbose -f -s "F3F386D9703AD06E9086560B4ECD622167522CAA" --entitlements "/var/folders/01/vn7cly412dq75szcgf8vv2yw0000gn/T/CLtmptQBqE1/entitlements.xcent" "/Users/omidahourai/Development/boxbird-eats-blockyfish/build/Box Bird.app"
Sep 18 22:07:47.228 ERROR: with exit code 1 and output: 
Sep 18 22:07:47.228 
Sep 18 22:07:47.231 /Users/omidahourai/Development/boxbird-eats-blockyfish/build/Box Bird.app: replacing existing signature
                    Warning: unable to build chain to self-signed root for signer "Apple Development: Omid Ahourai (DL6AS722HU)"
                    /Users/omidahourai/Development/boxbird-eats-blockyfish/build/Box Bird.app: errSecInternalComponent
Sep 18 22:07:47.231 BUILD ERROR: ERROR: code signing failed: /Users/omidahourai/Development/boxbird-eats-blockyfish/build/Box Bird.app: replacing existing signature
                    Warning: unable to build chain to self-signed root for signer "Apple Development: Omid Ahourai (DL6AS722HU)"
                    /Users/omidahourai/Development/boxbird-eats-blockyfish/build/Box Bird.app: errSecInternalComponent
Sep 18 22:07:47.231 
Sep 18 22:07:47.244 iOS build failed (2) after 2 seconds
Sep 18 22:07:47.544 ERROR: Build Failed: ERROR: code signing failed: /Users/omidahourai/Development/boxbird-eats-blockyfish/build/Box Bird.app: replacing existing signature
                    Warning: unable to build chain to self-signed root for signer "Apple Development: Omid Ahourai (DL6AS722HU)"
                    /Users/omidahourai/Development/boxbird-eats-blockyfish/build/Box Bird.app: errSecInternalComponent
Sep 18 22:07:47.544 

build.settings file contents:

settings =
{
    plugins = {},      
	orientation = {
		default = "portrait",
		supported = {"portrait"},
	},
	iphone =
    {
            plist =
            {
            		CFBundleDisplayName = "Box Bird",
            		CFBundleShortVersionString = "1.0",
                    UIStatusBarHidden = true,
                    UIPrerenderedIcon = true, -- set to false for "shine" overlay
                    UIApplicationExitsOnSuspend = false,
                    CFBundleIconFile = "Icon.png",
					CFBundleIconFiles = {
		                "Icon.png", 
		                "Icon@2x.png", 
		                "Icon-60.png",
		                "Icon-60@2x.png",
		                "Icon-60@3x.png",
		                "Icon-72.png",  
		                "Icon-72@2x.png",
		                "Icon-76.png",
		                "Icon-76@2x.png", 
		                "Icon-Small.png", 
		                "Icon-Small@2x.png",
		                "Icon-Small@3x.png",
		                "Icon-Small-40.png",
		                "Icon-Small-40@2x.png",
		                "Icon-Small-40@3x.png",
		                "Icon-Small-50.png", 
		                "Icon-Small-50@2x.png",
		            },
		            UIAppFonts = {
		            	"Fonts/UTMAvo.ttf",
		            	"Fonts/UTMAvoBold.ttf",
		            	"Fonts/VAGRoundedBold.ttf",
		            	"Fonts/InterparkGothicLight",
		            	"Fonts/InterparkGothicBold.ttf"
		            },
		            CFBundleLocalizations = {
						"en",
					},

            },
            components = {}
    }
}

With the error your getting the culprit is more likely something with your certificates or provisioning profiles. Getting those things working properly is a yearly headache with iOS development.

Also, probably choose non-Metal. People have been reporting issues with Metal, so unless you have a strong need for it, better to pass.

Not seen this for years! CFBundleIconFiles

You might want to bring your project into line with current Apple rules to be accepted. You can create a new project to see all the differences.

Ah yea, will do. I used to develop on corona back in 2014 lol.