dotnet / dotnet/macios

Output cannot correctly display the location of the ipa file by Publish an iOS app when using the command line

Open
#21,258 2 comments 0 reactions 0 assignees View on GitHub
dotnet-external-dependency enhancement
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 12h
Merged PRs (30d)
123

Description

## Repro steps

Affected Branch: main

Affected Build: 17.11.0 Preview 1.0 [34814.24.main]

* .NET SDK: 9.0.100-preview.3.24204.13
* Sdk-manifest:9.0.0-preview.3.10457
* microsoft.net.sdk.ios: 17.2.9433-net9-p3
* microsoft.net.sdk.maui: 9.0.0-preview.3.10457

Note: The same command can generate ipa files on NET8

Setup

1. Install any main build
2. Install NET9: 9.0.100-preview.3.24204.13
3. Install maui workload->dotnet workload install maui --from-rollback-file http://maui.blob.core.windows.net/metadata/rollbacks/9.0.0-preview.3.10457.json --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json --source https://api.nuget.org/v3/index.json --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json

Steps to reproduce:

1. Create an empty folder with the name of the solution for Maui eg:iosPub
2. Run command line: cd to C:\iosPub
3. Open the project and set the info.plist file ->save
4. Run command line: dotnet new maui
5. Run command line: dotnet publish iosPub.csproj -f net9.0-ios -c Release -p:ArchiveOnBuild=true;Platform=iPhone -p:RuntimeIdentifier=ios-arm64 -p:CodesignKey="Apple Distribution: xiaoting zhang (VVW3J38584)" -p:CodesignProvision="ZackVS" -p:ServerAddress=xxxx -p:ServerUser=xxx-p:ServerPassword=x.a.2036 -p:TcpPort=58181 -p:_DotNetRootRemoteDirectory=/Users/[xxxx]/Library/Caches/Xamarin/XMA/SDKs/dotnet/

Actually:

Output cannot correctly display the location of the ipa

![368612620-3f77e404-f07c-451b-a205-4571079022d9](https://github.com/user-attachments/assets/e8f55e11-609b-464e-a6c4-e08f4b67dc85)

Expected:

Accurately give the location of ipa,Please refer to the screenshot of Net 8

![image](https://github.com/user-attachments/assets/f54620c1-2e55-456b-b111-ac9fc783814b)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.