I am new to the MAUI world and have been struggling for a couple of days making an attempt to publish my app to iOS. It publishes superb to Home windows and Android, however not for iOS.
Following some posts, I’ve upgraded my Visible Studio Neighborhood 2022 to the newest model (17.11.3) and I’m utilizing a VMWare Mac with Sonoma 14.6.1 and XCode 15.4. They’re pairing superb.
I am making an attempt to publish utilizing powershell, since I learn the VS interface is unhealthy, utilizing the next command:
dotnet publish D:DevMBHAMBHAMBHA.csproj -f net8.0-ios -c Launch -p:ArchiveOnBuild=true -p:TargetPlatform=arm64 -p:RuntimeIdentifier=ios-arm64 -p:ServerAddress=192.168.211.128 -p:ServerUser=USERNAME -p:ServerPassword=PASSWORD -p:TcpPort=58181 -p:_DotNetRootRemoteDirectory=/Customers/USERNAME/Library/Caches/Xamarin/XMA/SDKs/dotnet/
After many points, which I might remedy, I made a decision to neglect about my app and created a brand new plain MAUI Blazor Hybrid Challenge beneath a plain new Resolution.
Making an attempt to publish it has the identical points which makes me suppose that one thing is fallacious with my dev atmosphere. I’ve searched right here and in StackOverflow with out success.
The code could be discovered right here: https://github.com/iFelinto/MAUI-Blazor-Hybrid-App
Beneath is the message I get:
C:Program FilesdotnetpacksMicrosoft.iOS.Home windows.Sdk.net8.0_17.517.5.8030toolsmsbuildiOSXamarin.iOS.Widespread.After.targets(364,3): error : MessagingException: The publish for consumer anonymous52f11260a5 on matter xvs/construct/1.14.0.6/execute-task/MBHA/45c47fd002fILLink has been cancelled [D:DevMBHAMBHA.csproj::TargetFramework=net8.0-ios]
C:Program FilesdotnetpacksMicrosoft.iOS.Home windows.Sdk.net8.0_17.517.5.8030toolsmsbuildiOSXamarin.iOS.Widespread.After.targets(364,3): error : OperationCanceledException: The operation was canceled. [D:DevMBHAMBHA.csproj::TargetFramework=net8.0-ios]
C:Program FilesdotnetpacksMicrosoft.iOS.Home windows.Sdk.net8.0_17.517.5.8030toolsmsbuildiOSXamarin.iOS.Widespread.After.targets(364,3): error : [D:DevMBHAMBHA.csproj::TargetFramework=net8.0-ios]
C:Program FilesdotnetpacksMicrosoft.iOS.Home windows.Sdk.net8.0_17.517.5.8030toolsmsbuildiOSXamarin.iOS.Widespread.After.targets(406,3): error MSB3371: The file “objReleasenet8.0-iosios-arm64linkedLink.semaphore” can’t be created. Couldn’t discover part of the trail ‘D:DevMBHAobjReleasenet8.0-iosios-arm64linkedLink.semaphore’. [D:DevMBHAMBHA.csproj::TargetFramework=net8.0-ios]
It is very important point out that that is solely taking place with the Launch model. Debug, runs superb on Simulators in all platforms.
Any concepts on what could be the concern right here?
Thanks for our assist!