banditoth / maui-archiver-vscode

Visual Studio Code extension for archiving/publishing .NET MAUI applications
MIT License
35 stars 3 forks source link

MSBUILD : error MSB1006: Property is not valid. #10

Open chungsavi opened 2 months ago

chungsavi commented 2 months ago

dotnet publish "*.csproj" -f net8.0-ios -c Release -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64 -p:CodesignKey="iPhone Distribution: NAME., Ltd. (525P9MKHKJ)" -p:CodesignProvision="Name" MSBuild version 17.9.4+90725d08d for .NET MSBUILD : error MSB1006: Property is not valid. Switch: Ltd. (525P9MKHKJ)

There is "," character in CodesignKey. That cause of Error.

banditoth commented 2 months ago

Hey, @chungsavi

Could you please run this in your terminal, and pass back the result? security find-identity -p codesigning -v