Skip to content

App is stuck during build #21

@pinkysek

Description

@pinkysek

first of all like others I want to thank you for your work with these libraries.

I tried upgrade old Xamarin.Firebase.iOS.* (8.10.0.3) libraries for these new AdamE.Firebase.iOS.* libraries with latest version 10.24.0 but I have problem with build my app which is stuck during build I left it alone for 2 hours and still nothing happened. My problem is I don't have any error message or something so I don't know what is wrong. It's same for simulator or real device. When I tried go back to old libraries build works again withount any problem. I would be very grateful for any help or where I can get more info from some build logs or someting like this.

Environment:
Visual Studio Pro 2022 for Windows version 17.9.6
Xcode on Mac version 15.3
.NET iOS app (originally Xamarin.iOS) not MAUI with target framework net8.0-ios

This is how my iOS project .csproj looks:

<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net8.0-ios</TargetFramework> <OutputType>Exe</OutputType> <Nullable>enable</Nullable> <ImplicitUsings>enable</ImplicitUsings> <SupportedOSPlatformVersion>11.0</SupportedOSPlatformVersion> <UseMauiEssentials>true</UseMauiEssentials> <ProvisioningType>manual</ProvisioningType> <CodesignKey>iPhone Developer</CodesignKey> <CodesignProvision>AppName - Devel 2024</CodesignProvision> </PropertyGroup> <!--https://github.com/xamarin/GoogleApisForiOSComponents/issues/643#issuecomment-1920970044--> <PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> <_ExportSymbolsExplicitly>false</_ExportSymbolsExplicitly> </PropertyGroup> <PropertyGroup> <FirebaseCrashlyticsUploadSymbolsEnabled>True</FirebaseCrashlyticsUploadSymbolsEnabled> </PropertyGroup> <PropertyGroup> <FirebaseCrashlyticsUploadSymbolsContinueOnError>False</FirebaseCrashlyticsUploadSymbolsContinueOnError> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-ios|AnyCPU'"> <MtouchLink>SdkOnly</MtouchLink> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> <MtouchLink>SdkOnly</MtouchLink> </PropertyGroup> <ItemGroup> <None Remove="GoogleService-Info.plist" /> </ItemGroup> <ItemGroup> <BundleResource Include="GoogleService-Info.plist"> <CopyToOutputDirectory>Never</CopyToOutputDirectory> </BundleResource> </ItemGroup> <ItemGroup> <PackageReference Include="AdamE.Firebase.iOS.Analytics" Version="10.24.0" /> <PackageReference Include="AdamE.Firebase.iOS.CloudMessaging" Version="10.24.0" /> <PackageReference Include="AdamE.Firebase.iOS.Core" Version="10.24.0" /> <PackageReference Include="AdamE.Firebase.iOS.Crashlytics" Version="10.24.0" /> <PackageReference Include="AdamE.Firebase.iOS.Installations" Version="10.24.0" /> <PackageReference Include="Cirrious.FluentLayout" Version="3.0.0" /> <PackageReference Include="ImageCaching.Nuke" Version="3.0.1" /> <PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.20" /> <PackageReference Include="MvvmCross" Version="9.2.0" /> <PackageReference Include="Serilog.Sinks.Xamarin" Version="1.0.0" /> <PackageReference Include="Xamarin.Build.Download" Version="0.11.4" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\plugins\MobileBarcodeScanner.iOS\MobileBarcodeScanner.iOS.csproj" /> <ProjectReference Include="..\..\plugins\MvvmCross.Plugin.Sidebar\MvvmCross.Plugin.Sidebar.csproj" /> <ProjectReference Include="..\AppName.Core\AppName.Core.csproj" /> </ItemGroup> <!-- Target needed until LinkWithSwiftSystemLibraries makes it into the SDK: https://github.com/xamarin/xamarin-macios/pull/20463 --> <Target Name="LinkWithSwift" DependsOnTargets="_ParseBundlerArguments;_DetectSdkLocations" BeforeTargets="_LinkNativeExecutable"> <PropertyGroup> <_SwiftPlatform Condition="$(RuntimeIdentifier.StartsWith('iossimulator-'))">iphonesimulator</_SwiftPlatform> <_SwiftPlatform Condition="$(RuntimeIdentifier.StartsWith('ios-'))">iphoneos</_SwiftPlatform> </PropertyGroup> <ItemGroup> <_CustomLinkFlags Include="-L" /> <_CustomLinkFlags Include="/usr/lib/swift" /> <_CustomLinkFlags Include="-L" /> <_CustomLinkFlags Include="$(_SdkDevPath)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(_SwiftPlatform)" /> <_CustomLinkFlags Include="-Wl,-rpath" /> <_CustomLinkFlags Include="-Wl,/usr/lib/swift" /> </ItemGroup> </Target> </Project> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions