question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR ITMS-90165: Invalid Provisioning Profile Signature

See original GitHub issue

Description

I have problem with latest MAUI RC1 version if I want to create IPA file for Apple App Store.

I run this command:

dotnet publish -f:net6.0-ios -c:Release /p:ServerAddress=xx.xx.xx.xx /p:ServerUser=username /p:ServerPassword=password /p:TcpPort=58181 /p:ArchiveOnBuild=true /p:_DotNetRootRemoteDirectory=/Users/ezslovenia/Library/Caches/Xamarin/XMA/SDKs/dotnet/ /p:EnableAssemblyILStripping=false

Now everything works ok, ipa file is generated. But If I want to upload that file with Transporter App I get this error: 2022-04-13_10-10-02

I have valid publishing profile: 2022-04-13_10-12-30

And I have added this command in csproj:

<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: Kompas Xnet d.o.o. (xxxxxxxxxx)</CodesignKey>
		<CodesignProvision>TrimoLibraryApp</CodesignProvision>
	</PropertyGroup>

I think something must be with dotnet publish command, because I have exactly same Windows and OsX environment as before. With Preview 13 this step works well.

Steps to Reproduce

  1. Create new .NET MAUI project
  2. Run command dotnet publish
  3. Upload ipa with Transporter App

Version with bug

Release Candidate 1

Last version that worked well

Preview 13

Affected platforms

iOS

Affected platform versions

iOS

Did you find any workaround?

No response

Relevant log output

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
RaspeR87commented, Apr 15, 2022

@tsjdev-apps @jfversluis tnx for all effort, all works great now (y)

0reactions
jfversluiscommented, Apr 15, 2022

Great @RaspeR87 thanks for letting us know!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR ITMS-90165: "Invalid Provisioning Profile Signature."
Go to Certificates, Identifiers & Profiles · Open profile, Press Edit in the top right, Press Save without making any changes · Delete...
Read more >
Can't upload to AppStore - Invalid Provisioning Signature
ITMS-90165: Invalid Provisioning Profile Signature - The provisioning profile included in the bundle '***' cannot be used to submit apps to the iOS...
Read more >
ERROR ITMS-90165: "Invalid Provisioning Profile ...
The root cause of this is that the "Apple iPhone Certification Authority" and "Apple iPhone OS Provisioning Profile Signing" certificates that ...
Read more >
KB485458: Error “Invalid Provisioning Profile Signature” ...
ERROR ITMS -90165: "Invalid Provisioning Profile Signature. The provisioning profile included in the bundle 'xxx' (Payload/XXXX.app) cannot ...
Read more >
Error submitting to iOS App Store (ITMS-90165)
ERROR ITMS-90165: "Invalid Provisioning Profile Signature. The provisioning profile included in the bundle 'xxxxx' cannot be used to submit apps to the iOS ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found