Closed janwiebe-jump closed 1 year ago
@rolfbjarne, what do you think about this one?
@janwiebe-jump can you build like this (I added -bl:msbuild.binlog
at the end):
dotnet publish -f:net6.0-ios -c Release -property:IsPublishing=true -bl:msbuild.binlog
and then upload the resulting msbuild.binlog
file?
Thanks @rolfbjarne , I created the binlog. What is the best way to share it, since it might contain sensitive info?
@janwiebe-jump the best way is to file a report here: https://developercommunity.visualstudio.com/report?space=41&q=whatever&entry=problem. Once you've filed the report, you can add private attachments. In the report, say that you're just providing private information for this issue (add the link to this issue), and once it's all done, add a link to the report here.
Thanks! I added the binlog to the report: https://developercommunity.visualstudio.com/t/A-private-attachment-for-https:github/10157218
@janwiebe-jump I see this from the binlog:
The stamp file 'obj/Release/net6.0-ios/ios-arm64/codesign/bin/Release/net6.0-ios/ios-arm64/Electrading.Mobile.app/Frameworks/nanopb.framework/.stampfile' for the item '/Users/janwiebe/projects/Electrading/mobile-app/Electrading-Mobile/Electrading.Mobile/bin/Release/net6.0-ios/ios-arm64/Electrading.Mobile.app/Frameworks/nanopb.framework' is up-to-date, so the item does not need to be codesigned.
So it seems the build thought the framework didn't need to be codesigned, because it had already been codesigned in a previous build.
Can you try cleaning your project first (by removing the obj
and bin
directories at the very least), rebuild, and see if you can produce a properly signed app bundle that way? Hopefully that works as a workaround until we can fix the bug.
This issue was moved to xamarin/xamarin-macios#16124
Description
I am building my app with .NET MAUI. Installed the latest preview of VS2022 for Mac.
From inside my project directory, I execute the following command to publish the IPA. This process does succeed.
Relevant parts of my csproj file:
The transporter app gives this errors when verifying the app for upload.
Any ideas?
Steps to Reproduce
Add this dependencies, and try to sign the ipa using dotnet publish.
I expect that my IPA can be uploaded to the App Store
Link to public reproduction project repository
-
Version with bug
Unknown/Other (please specify)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS
Did you find any workaround?
No response
Relevant log output
No response