xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.49k stars 515 forks source link

ForceSimulatorX64ArchitectureInIDE has no effect #20712

Closed sasha-borodin closed 5 months ago

sasha-borodin commented 5 months ago

Steps to Reproduce

  1. Create a .NET for iOS project.
  2. Reference an xcframework (ex. via a binding NuGet package) that does NOT include an ARM simulator component
  3. Add ForceSimulatorX64ArchitectureInIDE to the csproj file, in an attempt to always build for simulator using the x64 architecture (as was the case when targetting net7.0-ios)
  4. Try to build (ex. from command line, using dotnet build)

Expected Behavior

Build process builds for simulator using x64 architecture.

Actual Behavior

Build process attempts to build for simulator using arm64 architecture, and errors out with one or more of the following:

/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/anyline.sdk.net.ios/6.1.0/lib/net6.0-ios12.0/Anyline.SDK.NET.iOS.resources/Anyline.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/anyline.sdk.net.ios/6.1.0/lib/net6.0-ios12.0/Anyline.SDK.NET.iOS.resources/Anyline.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]

 

Environment

Version information

Visual Studio Community 2022 for Mac
Version 17.6.12 (build 410)
Installation UUID: 173f9fb1-8bd0-4863-a64b-c3eb076b69a9

Runtime
.NET 7.0.3 (64-bit)
Architecture: Arm64
Microsoft.macOS.Sdk 13.1.1007; git-rev-head:8afca776a0a96613dfb7200e0917bb57f9ed5583; git-branch:release/7.0.1xx-xcode14.2

Roslyn (Language Service)
4.6.0-3.23180.6+99e956e42697a6dd886d1e12478ea2b27cceacfa

NuGet
Version: 6.4.0.117

.NET SDK (Arm64)
SDK: /usr/local/share/dotnet/sdk/7.0.316/Sdks
SDK Versions:
    8.0.204
    8.0.203
    7.0.316
    7.0.315
    7.0.314
    6.0.422
    6.0.421
    6.0.420
MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks

.NET Runtime (Arm64)
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
    8.0.4
    8.0.3
    7.0.19
    7.0.18
    7.0.17
    6.0.30
    6.0.29
    6.0.28

Xamarin.Profiler
Version: 1.8.0.49
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Updater
Version: 11

Xamarin.Android
Version: 13.2.2.0 (Visual Studio Community)
Commit: xamarin-android/d17-5/45b0e14
Android SDK: /Users/alexander/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
        12.1 (API level 32)
        12.0 (API level 31)
        13.0 (API level 33)

SDK Command-line Tools Version: 7.0
SDK Platform Tools Version: 35.0.1
SDK Build Tools Version: 35.0.0 rc3

Build Information: 
Mono: d9a6e87
Java.Interop: xamarin/java.interop/d17-5@149d70fe
SQLite: xamarin/sqlite/3.40.1@68c69d8
Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-5@ca1552d

Microsoft Build of OpenJDK
Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk
11.0.16.1
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Eclipse Temurin JDK
Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk
1.8.0.302
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Android SDK Manager
Version: 17.6.0.50
Hash: a715dca
Branch: HEAD
Build date: 2024-05-09 04:36:12 UTC

Android Device Manager
Version: 0.0.0.1309
Hash: 06e3e77
Branch: HEAD
Build date: 2024-05-09 04:36:12 UTC

Xamarin Designer
Version: 17.6.3.9
Hash: 2648399ae8
Branch: remotes/origin/d17-6
Build date: 2024-05-09 04:36:07 UTC

Apple Developer Tools
Xcode: 15.2 22503
Build: 15C500b

Xamarin.Mac
Not Installed

Xamarin.iOS
Version: 16.4.0.23 Visual Studio Community
Hash: 9defd91b3
Branch: xcode14.3
Build date: 2023-10-23 16:15:00-0400

Build Information
Release ID: 1706120410
Git revision: 2f8e0518dd80a933901821bac53f7398d4b61c0f
Build date: 2024-05-09 04:34:23+00
Build branch: release-17.6
Build lane: release-17.6

Operating System
Mac OS X 14.5.0
Darwin 23.5.0 Darwin Kernel Version 23.5.0
    Wed May  1 20:14:38 PDT 2024
    root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64

Build Logs

alexander@sasha-macbook-pro-m2 ClientPortal % dotnet build ClientPortal.iOS/ClientPortal.iOS.csproj
MSBuild version 17.9.8+b34f75857 for .NET
  Determining projects to restore...
/usr/local/share/dotnet/packs/Microsoft.Maui.Sdk/8.0.7/Sdk/BundledVersions.targets(105,5): warning MA002: Starting with .NET 8, setting  <UseMauiEssentials>true</UseMauiEssentials>  does not automatically include NuGet package references in your project.  Update your project by including this item:  <PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.7" />.  You can skip this warning by setting  <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences>  in your project file. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
  Restored /Users/alexander/ClientPortal/ClientPortal.Foundation/ClientPortal.Foundation.csproj (in 2.22 sec).
  Restored /Users/alexander/ClientPortal/ClientPortal.API.SSIEE/ClientPortal.API.SSIEE.csproj (in 2.26 sec).
  Restored /Users/alexander/ClientPortal/ClientPortal.API/ClientPortal.API.csproj (in 2.33 sec).
  Restored /Users/alexander/ClientPortal/ClientPortal.Domain/ClientPortal.Domain.csproj (in 2.33 sec).
  Restored /Users/alexander/ClientPortal/ClientPortal.Domain.Mobile/ClientPortal.Domain.Mobile.csproj (in 2.33 sec).
  Restored /Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj (in 2.47 sec).
/usr/local/share/dotnet/packs/Microsoft.Maui.Sdk/8.0.7/Sdk/BundledVersions.targets(105,5): warning MA002: Starting with .NET 8, setting  <UseMauiEssentials>true</UseMauiEssentials>  does not automatically include NuGet package references in your project.  Update your project by including this item:  <PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.7" />.  You can skip this warning by setting  <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences>  in your project file. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
  Detected signing identity:

    Provisioning Profile: "Client Portal DEV Development" (f45e8da3-6b27-430a-a331-7b45b322c3de)
    Bundle Id: com.smartstartinc.clientportal.DEV
    App Id: VPK4A7T6SW.com.smartstartinc.clientportal.DEV
UI/DeviceScan/DeviceScan.storyboard : ibtool warning : Large Style before iOS 13.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountOnboarding/AccountOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountOnboarding/AccountOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountOnboarding/AccountOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountOnboarding/AccountOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountOnboarding/AccountOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountSummary/AccountSummaryStoryboard.storyboard : ibtool warning : Medium Style before iOS 13.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/CustomerOnboarding/CustomerOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/CustomerOnboarding/CustomerOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/CustomerOnboarding/CustomerOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/CustomerOnboarding/CustomerOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/Payment/Payment.storyboard : ibtool warning : Credit Card Number text content type before iOS 17.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/Views/AccountHeaderLine.xib : ibtool warning : Automatically Adjusts Font requires using a Dynamic Type text style [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/Views/AccountHeaderLine.xib : ibtool warning : Automatically Adjusts Font requires using a Dynamic Type text style [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/Views/AccountHeaderLine.xib : ibtool warning : Automatically Adjusts Font requires using a Dynamic Type text style [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
  ClientPortal.Foundation -> /Users/alexander/ClientPortal/ClientPortal.Foundation/bin/Debug/net7.0/ClientPortal.Foundation.dll
  ClientPortal.API.SSIEE -> /Users/alexander/ClientPortal/ClientPortal.API.SSIEE/bin/Debug/netstandard1.3/ClientPortal.API.SSIEE.dll
  ClientPortal.API -> /Users/alexander/ClientPortal/ClientPortal.API/bin/Debug/net7.0/ClientPortal.API.dll
  ClientPortal.Domain -> /Users/alexander/ClientPortal/ClientPortal.Domain/bin/Debug/net7.0/ClientPortal.Domain.dll
  ClientPortal.Domain.Mobile -> /Users/alexander/ClientPortal/ClientPortal.Domain.Mobile/bin/Debug/net7.0/ClientPortal.Domain.Mobile.dll
  ClientPortal.iOS -> /Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/ClientPortal.iOS.dll
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/targets/Xamarin.Shared.Sdk.targets(1832,3): warning : The file '/Users/alexander/ClientPortal/ClientPortal.Foundation/Configuration/EnvironmentConfigurations/config.DEV.json' does not specify a 'PublishFolderType' metadata, and a default value could not be calculated. The file will not be copied to the app bundle. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/targets/Xamarin.Shared.Sdk.targets(1832,3): warning : The file '/Users/alexander/ClientPortal/ClientPortal.Foundation/Configuration/EnvironmentConfigurations/config.DEV.json' does not specify a 'PublishFolderType' metadata, and a default value could not be calculated. The file will not be copied to the app bundle. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/targets/Xamarin.Shared.Sdk.targets(1832,3): warning : The file '/Users/alexander/ClientPortal/ClientPortal.Foundation/Configuration/EnvironmentConfigurations/config.DEV.json' does not specify a 'PublishFolderType' metadata, and a default value could not be calculated. The file will not be copied to the app bundle. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/targets/Xamarin.Shared.Sdk.targets(1832,3): warning : The file '/Users/alexander/ClientPortal/ClientPortal.Foundation/Configuration/EnvironmentConfigurations/config.DEV.json' does not specify a 'PublishFolderType' metadata, and a default value could not be calculated. The file will not be copied to the app bundle. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/iOSDFULibrary.xcframework'. SupportedPlatform: '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/iOSDFULibrary.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/RZBluetooth.xcframework'. SupportedPlatform: '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/RZBluetooth.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/ZIPFoundation.xcframework'. SupportedPlatform: '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/ZIPFoundation.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/BreathCheckSDKIOS.Net.resources/BreathCheckSDK.xcframework'. SupportedPlatform: '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/BreathCheckSDKIOS.Net.resources/BreathCheckSDK.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/BlueSnapSDKIOS.Net.resources/BluesnapSDK.xcframework'. SupportedPlatform: '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/BlueSnapSDKIOS.Net.resources/BluesnapSDK.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/anyline.sdk.net.ios/6.1.0/lib/net6.0-ios12.0/Anyline.SDK.NET.iOS.resources/Anyline.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/anyline.sdk.net.ios/6.1.0/lib/net6.0-ios12.0/Anyline.SDK.NET.iOS.resources/Anyline.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/bluesnapsdkios.net/2.2.0/lib/net7.0-ios16.1/BlueSnapSDKIOS.Net.resources/BluesnapSDK.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/bluesnapsdkios.net/2.2.0/lib/net7.0-ios16.1/BlueSnapSDKIOS.Net.resources/BluesnapSDK.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/BreathCheckSDK.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/BreathCheckSDK.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/iOSDFULibrary.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/iOSDFULibrary.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/RZBluetooth.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/RZBluetooth.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/ZIPFoundation.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/ZIPFoundation.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/iOSDFULibrary.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/iOSDFULibrary.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/RZBluetooth.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/RZBluetooth.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/ZIPFoundation.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/ZIPFoundation.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MaterialComponents.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MaterialComponents.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MDFInternationalization.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MDFInternationalization.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MDFTextAccessibility.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MDFTextAccessibility.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionAnimator.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionAnimator.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionInterchange.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionInterchange.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionTransitioning.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionTransitioning.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/youtubeiosplayerhelper.net/1.0.0/lib/net7.0-ios16.1/YouTubeiOSPlayerHelper.resources/YouTubeiOSPlayerHelper.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/youtubeiosplayerhelper.net/1.0.0/lib/net7.0-ios16.1/YouTubeiOSPlayerHelper.resources/YouTubeiOSPlayerHelper.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]

Build FAILED.

/usr/local/share/dotnet/packs/Microsoft.Maui.Sdk/8.0.7/Sdk/BundledVersions.targets(105,5): warning MA002: Starting with .NET 8, setting  <UseMauiEssentials>true</UseMauiEssentials>  does not automatically include NuGet package references in your project.  Update your project by including this item:  <PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.7" />.  You can skip this warning by setting  <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences>  in your project file. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.Maui.Sdk/8.0.7/Sdk/BundledVersions.targets(105,5): warning MA002: Starting with .NET 8, setting  <UseMauiEssentials>true</UseMauiEssentials>  does not automatically include NuGet package references in your project.  Update your project by including this item:  <PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.7" />.  You can skip this warning by setting  <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences>  in your project file. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/DeviceScan/DeviceScan.storyboard : ibtool warning : Large Style before iOS 13.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountOnboarding/AccountOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountOnboarding/AccountOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountOnboarding/AccountOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountOnboarding/AccountOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountOnboarding/AccountOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/AccountSummary/AccountSummaryStoryboard.storyboard : ibtool warning : Medium Style before iOS 13.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/CustomerOnboarding/CustomerOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/CustomerOnboarding/CustomerOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/CustomerOnboarding/CustomerOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/CustomerOnboarding/CustomerOnboarding.storyboard : ibtool warning : Changes Selection as Primary Action before iOS 15.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/ViewControllers/Payment/Payment.storyboard : ibtool warning : Credit Card Number text content type before iOS 17.0 [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/Views/AccountHeaderLine.xib : ibtool warning : Automatically Adjusts Font requires using a Dynamic Type text style [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/Views/AccountHeaderLine.xib : ibtool warning : Automatically Adjusts Font requires using a Dynamic Type text style [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
UI/Views/AccountHeaderLine.xib : ibtool warning : Automatically Adjusts Font requires using a Dynamic Type text style [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/targets/Xamarin.Shared.Sdk.targets(1832,3): warning : The file '/Users/alexander/ClientPortal/ClientPortal.Foundation/Configuration/EnvironmentConfigurations/config.DEV.json' does not specify a 'PublishFolderType' metadata, and a default value could not be calculated. The file will not be copied to the app bundle. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/targets/Xamarin.Shared.Sdk.targets(1832,3): warning : The file '/Users/alexander/ClientPortal/ClientPortal.Foundation/Configuration/EnvironmentConfigurations/config.DEV.json' does not specify a 'PublishFolderType' metadata, and a default value could not be calculated. The file will not be copied to the app bundle. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/targets/Xamarin.Shared.Sdk.targets(1832,3): warning : The file '/Users/alexander/ClientPortal/ClientPortal.Foundation/Configuration/EnvironmentConfigurations/config.DEV.json' does not specify a 'PublishFolderType' metadata, and a default value could not be calculated. The file will not be copied to the app bundle. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/targets/Xamarin.Shared.Sdk.targets(1832,3): warning : The file '/Users/alexander/ClientPortal/ClientPortal.Foundation/Configuration/EnvironmentConfigurations/config.DEV.json' does not specify a 'PublishFolderType' metadata, and a default value could not be calculated. The file will not be copied to the app bundle. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/iOSDFULibrary.xcframework'. SupportedPlatform: '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/iOSDFULibrary.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/RZBluetooth.xcframework'. SupportedPlatform: '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/RZBluetooth.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/ZIPFoundation.xcframework'. SupportedPlatform: '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/iOSBluetoothShared.Net.resources/ZIPFoundation.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/BreathCheckSDKIOS.Net.resources/BreathCheckSDK.xcframework'. SupportedPlatform: '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/BreathCheckSDKIOS.Net.resources/BreathCheckSDK.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/BlueSnapSDKIOS.Net.resources/BluesnapSDK.xcframework'. SupportedPlatform: '/Users/alexander/ClientPortal/ClientPortal.iOS/bin/Debug/net8.0-ios/iossimulator-arm64/BlueSnapSDKIOS.Net.resources/BluesnapSDK.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/anyline.sdk.net.ios/6.1.0/lib/net6.0-ios12.0/Anyline.SDK.NET.iOS.resources/Anyline.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/anyline.sdk.net.ios/6.1.0/lib/net6.0-ios12.0/Anyline.SDK.NET.iOS.resources/Anyline.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/bluesnapsdkios.net/2.2.0/lib/net7.0-ios16.1/BlueSnapSDKIOS.Net.resources/BluesnapSDK.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/bluesnapsdkios.net/2.2.0/lib/net7.0-ios16.1/BlueSnapSDKIOS.Net.resources/BluesnapSDK.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/BreathCheckSDK.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/BreathCheckSDK.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/iOSDFULibrary.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/iOSDFULibrary.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/RZBluetooth.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/RZBluetooth.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/ZIPFoundation.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/breathchecksdkios.net/2.1.0/lib/net7.0-ios16.1/BreathCheckSDKIOS.Net.resources/ZIPFoundation.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/iOSDFULibrary.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/iOSDFULibrary.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/RZBluetooth.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/RZBluetooth.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/ZIPFoundation.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/iosbluetoothshared.net/1.3.0/lib/net7.0-ios16.1/iOSBluetoothShared.Net.resources/ZIPFoundation.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MaterialComponents.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MaterialComponents.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MDFInternationalization.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MDFInternationalization.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MDFTextAccessibility.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MDFTextAccessibility.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionAnimator.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionAnimator.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionInterchange.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionInterchange.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionTransitioning.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/xamarin.materialcomponents.ios.net/1.0.0/lib/net7.0-ios16.1/MaterialComponents.iOS.NET.resources/MotionTransitioning.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/tools/msbuild/iOS/Xamarin.Shared.targets(146,3): error : No matching framework found inside '/Users/alexander/.nuget/packages/youtubeiosplayerhelper.net/1.0.0/lib/net7.0-ios16.1/YouTubeiOSPlayerHelper.resources/YouTubeiOSPlayerHelper.xcframework'. SupportedPlatform: '/Users/alexander/.nuget/packages/youtubeiosplayerhelper.net/1.0.0/lib/net7.0-ios16.1/YouTubeiOSPlayerHelper.resources/YouTubeiOSPlayerHelper.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'. [/Users/alexander/ClientPortal/ClientPortal.iOS/ClientPortal.iOS.csproj]
    21 Warning(s)
    21 Error(s)

Time Elapsed 00:00:33.85

Example Project (If Possible)

n/a

Additional Comments

The suggestion from official documentation here is to specify Runtime Identifiers. However, I can't figure out a way to do this in such a way that debugging works on both simulator and physical device. For example, if I specify something like...

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "`>
    <RuntimeIdentifier>iossimulator-arm64</RuntimeIdentifier>
</PropertyGroup>

...this will work great when debugging on a physical device, but not the simulator (and vice versa).

rolfbjarne commented 5 months ago

3. Add ForceSimulatorX64ArchitectureInIDE to the csproj file, in an attempt to always build for simulator using the x64 architecture (as was the case when targetting net7.0-ios) 4. Try to build (ex. from command line, using dotnet build)

As the property name ForceSimulatorX64ArchitectureInIDE says, it only affects in IDE builds (not command line builds). So the behavior you're explaining is expected.

When building from the command line, you can pass the runtime identifier like this:

$ dotnet build /p:RuntimeIdentifier=iossimulator-x64

in order to build for the x64 simulator.

That said, it sounds like you're seeing the same behavior in an IDE - can you confirm this? And which IDE you're using?

sasha-borodin commented 5 months ago

@rolfbjarne - thank you for the quick response. Issue triage is a thankless and tedious job, but much appreciated.

That said, it sounds like you're seeing the same behavior in an IDE - can you confirm this? And which IDE you're using?

We have been using JetBrains Rider ever since the VS for Mac retirement announcement.

Is the ForceSimulatorX64ArchitectureInIDE setting only supported in Visual Studio? If so, is there any creative conditional PropertyGroup project settings that can be used to achieve the previous net7.0-ios behavior? Specifically, we are looking for a way to have the Rider IDE build for iossimulator-x64 when a sim device is selected on an ARM Mac. I would like to avoid adding another build configuration to make the distinction, but will if that's the only feasible solution.

Thank you!

rolfbjarne commented 5 months ago

Is the ForceSimulatorX64ArchitectureInIDE setting only supported in Visual Studio?

IIRC it should also work in VSCode, but I haven't tested it personally.

Note that this property needs support from the IDE, which is probably why Rider doesn't work (if you could file a bug with them then they might fix it).

If so, is there any creative conditional PropertyGroup project settings that can be used to achieve the previous net7.0-ios behavior? Specifically, we are looking for a way to have the Rider IDE build for iossimulator-x64 when a sim device is selected on an ARM Mac.

I assume you also want iossimulator-x64 when building on an x64 Mac (because iossimulator-arm64 wouldn't launch if you were able to build it).

Which really means you always want iossimulator-x64 when targeting a simulator.

As for creative ideas, maybe this works?

<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'iossimulator-arm64'">
    <RuntimeIdentifier>iossimulator-x64</RuntimeIdentifier>
</PropertyGroup>
sasha-borodin commented 5 months ago

@rolfbjarne - thanks for the suggestion. We tried this, but unfortunately it had no effect on the build process. Build artifacts continue to get generated in bin/Debug/net8.0-ios/iossimulator-arm64 folder, and we eventually see the same build errors as before.

I have filed a JetBrains Rider issue. Just for documentation, this is the link: https://youtrack.jetbrains.com/issue/RIDER-113336/Support-for-ForceSimulatorX64ArchitectureInIDE-iOS-project-setting

If you have any other suggestions for creative project file manipulation to get us unblocked, they would be greatly appreciated.

Thanks again!

rolfbjarne commented 5 months ago

@sasha-borodin can you get a build log from a Rider build (as verbose as possible - I don't know Rider so I don't know how to change the verbosity) and attach it here?

sasha-borodin commented 5 months ago

@rolfbjarne - Rider has two options for building: ReSharper and MSBuild. Attached are logs for each. Also, note that these builds were conducted with both the ForceSimulatorX64ArchitectureInIDE and RuntimeIdentifier (per your suggestion) project settings.

ForceSimulatorX64ArchitectureInIDE build logs.zip

rolfbjarne commented 5 months ago

So it's not obvious from the build logs how Rider tells the build which device (simulator or device) you're building for. In theory they don't have to tell the build to build for the simulator (because that's the default), in which case the build log wouldn't show this.

What is clear from the build log, is that our default logic to select the runtime identifier executes:

Property reassignment: $(RuntimeIdentifier)="iossimulator-arm64" (previous value: "") at /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8053/targets/Xamarin.Shared.Sdk.props (122,3)

which gives me the idea to reverse the check from before, so instead put this in your csproj:

<PropertyGroup Condition="'$(RuntimeIdentifier)' != 'ios-arm64'">
    <RuntimeIdentifier>iossimulator-x64</RuntimeIdentifier>
</PropertyGroup>

Basically: if not building for the device, then build for the x64 simulator.

If that doesn't work, please provide build logs like before, but for a device build.

sasha-borodin commented 5 months ago

@rolfbjarne - reversing the Condition per your suggestion did the trick. Thank you for your help on this!

This is a viable workaround that should be used until/unless the Rider IDE adds support for the ForceSimulatorX64ArchitectureInIDE project setting.

I will continue to update this GitHub issue as progress is made on the JetBrains side and will report if/when the workaround becomes unnecessary.