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.

.NET Maui IOS Release build does not contain iTunesArtwork?

See original GitHub issue

Description

Using the dotnet publish command does not include an xxxITunesArtwork.png file in the ipa. Tested with Visual Studio 17.4.2 und Windows and also with Visual Studio for Mac 17.4.1. If i deploy the ipa to ITunesConnect there is only a white box for the graphic. image

If i look into the ios emulator directory i see several icons ready defined: image

Am i missing a deploy parameter in the project file or is this a bug?

Steps to Reproduce

Create a new .maui application with all needed certificates, create an ipa and deploy that to itunesconnect with the transporter app

Link to public reproduction project repository

https://github.com/dotnet/maui

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

IOS 16.1

Did you find any workaround?

No

Relevant log output

No response

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rolfbjarnecommented, Dec 15, 2022

We have a known bug where if you do dotnet build first, and then dotnet publish to a different output directory, we won’t do the right thing. But dotnet publish without dotnet build first should work just fine.

A binlog will likely help.

1reaction
mattleibowcommented, Dec 15, 2022

OK… @Redth could this be that issue we saw with some customers that a build and publish are missing the assets or something…

@hattmann can you expand the ipa and see if the image are being included? Also, maybe attach a binlog of the publish of the ipa. I wonder if everythis is working except the assets are just missi g the very last step of being included…

I know ios did change the order of the build tasks at the last minute. @rolfbjarne could the be a bug in the change?

Read more comments on GitHub >

github_iconTop Results From Across the Web

NET Maui IOS Release build doesn't contain iTunesArtwork?
Only the appicon and my icons for the tabbar included. I created the .ipa with the terminal command: dotnet publish -f:net7.0-ios -c:Release /p: ......
Read more >
Deploy an iOS app using hot restart - NET MAUI
Hot restart enables you to quickly deploy a .NET MAUI iOS app to a local device, from Visual Studio 2022, without requiring a...
Read more >
Troubleshoot known issues - .NET MAUI
Learn about .NET MAUI known issues and troubleshooting you can do to resolve these issues.
Read more >
Build iOS Apps with or WITHOUT a Mac? Visual Studio, C# ...
NET MAUI. Leverage the built -in mac build host connection and use a remoted iOS simulator directly on your Window desktop.
Read more >
Xamarin Deploying iOS App Ad Hoc Failing to Install
Set "Include iTunesArtwork images and the iTunesMetadata.plist" to true in the same area. Successfully built the iOS project and produced a ...
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