Skip to content

maui 9 - IOS Build Error #32770

@renesh-lims

Description

@renesh-lims

Description

Unable to take build for IOS in Mac

dotnet build -t:Rebuild -f net9.0-ios
LQMS net9.0-ios failed with 3 error(s) and 6 warning(s) (3.6s)
/Users/lqmssoftwaresolutions/RENE/MAUI/ERP_v3/obj/Debug/net9.0-ios/ios-arm64/device-builds/ipad13.18-26.0.1/actool/cloned-assets/Assets.xcassets : actool warning : App Icons built with asset catalogs are unavailable on iOS releases prior to 5.0.
/Users/lqmssoftwaresolutions/RENE/MAUI/ERP_v3/obj/Debug/net9.0-ios/ios-arm64/device-builds/ipad13.18-26.0.1/actool/cloned-assets/Assets.xcassets : actool warning : A 57x57 app icon is required for iPhone apps targeting releases of iOS prior to 7.0
/Users/lqmssoftwaresolutions/RENE/MAUI/ERP_v3/obj/Debug/net9.0-ios/ios-arm64/device-builds/ipad13.18-26.0.1/actool/cloned-assets/Assets.xcassets : actool warning : A 57x57@2x app icon is required for iPhone apps targeting releases of iOS prior to 7.0
/Users/lqmssoftwaresolutions/RENE/MAUI/ERP_v3/obj/Debug/net9.0-ios/ios-arm64/device-builds/ipad13.18-26.0.1/actool/cloned-assets/Assets.xcassets : actool warning : A 72x72 app icon is required for iPad apps targeting releases of iOS prior to 7.0
/Users/lqmssoftwaresolutions/RENE/MAUI/ERP_v3/obj/Debug/net9.0-ios/ios-arm64/device-builds/ipad13.18-26.0.1/actool/cloned-assets/Assets.xcassets : actool warning : A 72x72@2x app icon is required for iPad apps targeting releases of iOS prior to 7.0
/Users/lqmssoftwaresolutions/RENE/MAUI/ERP_v3/obj/Debug/net9.0-ios/ios-arm64/device-builds/ipad13.18-26.0.1/actool/cloned-assets/Assets.xcassets : actool warning : A 76x76@1x app icon is required for iPad apps targeting iOS 7, 8, and 9
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net9.0_26.0/26.0.9769/tools/msbuild/Xamarin.Shared.targets(848,3): error : /usr/bin/xcrun exited with code 1
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net9.0_26.0/26.0.9769/tools/msbuild/Xamarin.Shared.targets(848,3): error : ibtool exited with code 1
obj/Debug/net9.0-ios/ios-arm64/resizetizer/sp/MauiSplash.storyboard : ibtool error : Unrecognized commandline options: "14.0" and "/Users/lqmssoftwaresolutions/RENE/MAUI/ERP_v3/obj/Debug/net9.0-ios/ios-arm64/resizetizer/sp/MauiSplash.storyboard". Either unrecognized options were passed, or multiple input documents were passed when only one was expected.

Build failed with 3 error(s) and 6 warning(s) in 3.7s
lqmssoftwaresolutions@rene-mac-air ERP_v3 %

Project Config

<PropertyGroup>
		<TargetFrameworks>net9.0-android;net9.0-ios</TargetFrameworks>
		<OutputType>Exe</OutputType>
		<RootNamespace>LQMS</RootNamespace>
		<UseMaui>true</UseMaui>
		<SingleProject>true</SingleProject>
		<ImplicitUsings>enable</ImplicitUsings>
		<Nullable>enable</Nullable>

		<!-- App Info -->
		<ApplicationTitle>LQMS ERP</ApplicationTitle>
		<ApplicationId>com.lqms</ApplicationId>
		<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
		<ApplicationVersion>8</ApplicationVersion>

		<!-- Supported Platforms -->
		<!-- <SupportedOSPlatformVersion
			Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
			12.2</SupportedOSPlatformVersion> -->
		<SupportedOSPlatformVersion
			Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
			14.0</SupportedOSPlatformVersion>
		<SupportedOSPlatformVersion
			Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
			26.0</SupportedOSPlatformVersion>

		<!-- Signing -->
		<AndroidSigningKeyStore>visual_studio.jks</AndroidSigningKeyStore>

		<!-- 16 KB Support Required -->
		<AndroidEnable16KPageSupport>true</AndroidEnable16KPageSupport>
		<AndroidEnableBundledNativeLibraries>true</AndroidEnableBundledNativeLibraries>
		<InvariantGlobalization>true</InvariantGlobalization>

		<!-- Allow static libraries for Hot Restart -->
		<SkipStaticLibraryValidation>true</SkipStaticLibraryValidation>

		<!-- FIX FOR STORYBOARD / IBTOOL -->
		<EnableDefaultResizetizerTargets>false</EnableDefaultResizetizerTargets>
		<MauiEnableStoryboard>false</MauiEnableStoryboard>
		<MauiSplitMauiResizetizer>false</MauiSplitMauiResizetizer>
		<MauiUseLegacySplashScreens>true</MauiUseLegacySplashScreens>
		<MauiExplicitPlatformSplashImage>false</MauiExplicitPlatformSplashImage>

	</PropertyGroup>

	<!-- MAUI Assets -->
	<ItemGroup>
		<MauiIcon Include="Resources/AppIcon/appicon.svg" Color="#ffffff" BaseSize="128,128"
			ForegroundScale="0.45" />
		<!-- <MauiSplashScreen Include="Resources/Splash/splash.png" Color="#003366"
		BaseSize="128,128"
			ForegroundScale="1" /> -->
		<MauiSplashScreen Include="Resources/Splash/splash.png"
			Color="#003366"
			Resize="None"
			Aspect="Fill"
			BaseSize="128,128" />
		<MauiImage Include="Resources/Images/*" />
		<MauiFont Include="Resources/Fonts/*" />
		<MauiAsset Include="Resources/Raw/**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
	</ItemGroup>

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.100 SR10

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

No response

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-single-projectSplash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizerplatform/iost/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions