iOS build failed - need removing apple watch supoort

I am trying to update an app that is already on sale but it getting a bunch of errors mostly related to apple watch.

My app is not targeted for apple watch but I can’t seem to find a setting where I can turn off the support.

Am I required to meet all the apple watch requirement in my build even though I’m not building for apple watch?

If anyone can direct me to an example of a working build.setting as reference that would be very helpful! I am using the latest night build of Corona as the latest stable build does not seems to allow me to build for ios 10.2. I am also using the latest version of Xcode.

These are my build errors:

ERROR ITMS-90499: “Missing Apple Watch Extension. The application ‘xxxxx’ is missing its corresponding Apple Watch extension.”

ERROR ITMS-90524: “Invalid UIDeviceFamily. The Info.plist of Apple Watch application ‘xxxxx’ contains an invalid UIDeviceFamily value of ‘1’.”

ERROR ITMS-90363: “Invalid Info.plist key. The key ‘NSMainNibFile’ in bundle xxxxxx is invalid.”

ERROR ITMS-90363: “Invalid Info.plist key. The key ‘ContentOrientation’ in bundle xxxxxx is invalid.”

ERROR ITMS-90209: “Invalid Segment Alignment. The app binary at ‘xxxxxx’ does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.”

We don’t have any support for Apple Watch. Can you post your build.settings?

Rob

Thanks, this is my build.setting

settings =
{
        orientation =
        {
                default = “landscapeRight”,
                supported =
                {
                        “landscapeLeft”, “landscapeRight”
                },
        },

    iphone =
    {
        plist =
        {
            UIApplicationExitsOnSuspend = false,
            CFBundleDisplayName = “[My App Name]”,
            CFBundleName = “[My Bundle Name]”,
            CFBundleShortVersionString = “1.2”,
               CFBundleIconFiles = {
               “Icon.png”,
               “Icon@2x.png”,
               “Icon-72.png”,
               “Icon-76.png”,
               “Icon-120.png”,
               “Icon-152.png”,
               “Icon-1024.png”,  
            },
            UILaunchImages = {
                {  --iPhone 4 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  --iPhone 4 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  --iPhone 4 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  --iPhone 5 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                {  --iPhone 5 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                {  --iPhone 5 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                { – iPad Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                { – iPad LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                { – iPad LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                {  --iPhone 6 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                {  --iPhone 6 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                {  --iPhone 6 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                { --iPhone 6 Plus Portrait
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                { --iPhone 6 Plus LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                { --iPhone 6 Plus LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                { --iPhone Pro Landscape Right
                    [“UILaunchImageMinimumOSVersion”] = “9.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{1024, 1366}”
                },
                { --iPhone Pro Landscape Left
                    [“UILaunchImageMinimumOSVersion”] = “9.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{1024, 1366}”
                },
            },     – Required!  
            UIPrerenderedIcon = true,
            UIStatusBarHidden = true,
            MinimumOSVersion = “7.0”,
            ITSAppUsesNonExemptEncryption = false,
            NSCalendarsUsageDescription = “Not used within app”,
            NSPhotoLibraryUsageDescription = “Not used within app”,
            NSCameraUsageDescription = “Not used within app”,
            
        },
    }
}
  

You probably should remove the MinimumOSVersion from your build.settings, if you’re running the latest daily build, the minimum is 8.0. Also can you verify the version number?

Thanks

Rob

Thank you Rob.

My Corona version number is 2017.3049 (2017.3.3). I have removed the MinimumOSVersion and re-build it but it is still giving me the same errors.

Hi Rob,

I guess I have solved my own mystery. It appears that I have accidentally placed a PSD file in my folder so it got included in the build which probably have triggered the Apple watch requirement some how. I have removed the PSD file and the build went through now.

Thank you so much for your help.

Great!

Rob

We don’t have any support for Apple Watch. Can you post your build.settings?

Rob

Thanks, this is my build.setting

settings =
{
        orientation =
        {
                default = “landscapeRight”,
                supported =
                {
                        “landscapeLeft”, “landscapeRight”
                },
        },

    iphone =
    {
        plist =
        {
            UIApplicationExitsOnSuspend = false,
            CFBundleDisplayName = “[My App Name]”,
            CFBundleName = “[My Bundle Name]”,
            CFBundleShortVersionString = “1.2”,
               CFBundleIconFiles = {
               “Icon.png”,
               “Icon@2x.png”,
               “Icon-72.png”,
               “Icon-76.png”,
               “Icon-120.png”,
               “Icon-152.png”,
               “Icon-1024.png”,  
            },
            UILaunchImages = {
                {  --iPhone 4 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  --iPhone 4 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  --iPhone 4 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  --iPhone 5 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                {  --iPhone 5 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                {  --iPhone 5 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                { – iPad Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                { – iPad LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                { – iPad LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                {  --iPhone 6 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                {  --iPhone 6 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                {  --iPhone 6 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                { --iPhone 6 Plus Portrait
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                { --iPhone 6 Plus LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                { --iPhone 6 Plus LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                { --iPhone Pro Landscape Right
                    [“UILaunchImageMinimumOSVersion”] = “9.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{1024, 1366}”
                },
                { --iPhone Pro Landscape Left
                    [“UILaunchImageMinimumOSVersion”] = “9.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{1024, 1366}”
                },
            },     – Required!  
            UIPrerenderedIcon = true,
            UIStatusBarHidden = true,
            MinimumOSVersion = “7.0”,
            ITSAppUsesNonExemptEncryption = false,
            NSCalendarsUsageDescription = “Not used within app”,
            NSPhotoLibraryUsageDescription = “Not used within app”,
            NSCameraUsageDescription = “Not used within app”,
            
        },
    }
}
  

You probably should remove the MinimumOSVersion from your build.settings, if you’re running the latest daily build, the minimum is 8.0. Also can you verify the version number?

Thanks

Rob

Thank you Rob.

My Corona version number is 2017.3049 (2017.3.3). I have removed the MinimumOSVersion and re-build it but it is still giving me the same errors.

Hi Rob,

I guess I have solved my own mystery. It appears that I have accidentally placed a PSD file in my folder so it got included in the build which probably have triggered the Apple watch requirement some how. I have removed the PSD file and the build went through now.

Thank you so much for your help.

Great!

Rob