Reputation: 1
Hi any idea why am I getting this error when I try to publish to iOS Image Setup is already like this
am I missing something?
<TargetFrameworks>net6.0-ios</TargetFrameworks>
<PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and '$(Configuration)' == 'Release'">
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
<!-- Only needed when you have a need for entitlements -->
<!-- <CodesignEntitlement>Entitlements.plist</CodesignEntitlement> -->
<CodesignKey>Apple Distribution: SAMPLE DISTRIBUTION (8C4ZRPEBJP)</CodesignKey> <!-- Should be your Certificate Distribution-->
<CodesignProvision>MauiShellApplication</CodesignProvision>
<ArchiveOnBuild>true</ArchiveOnBuild>
</PropertyGroup>
Upvotes: 0
Views: 1236
Reputation: 191
I had to delete my [PROJECT].csproj.user file at the root of the application folder. I ran into that issue previously but completely forgot about it. It seems like that file is getting settings that override the main csproj file and doesn't update when properties are changed. Hopefully this saves someone else the hours it took me to find remember the problem!
Upvotes: 5