Xamarin.Mac App Icon not showing on macOS version < 10.11

hadihashemhadihashem Member ✭✭
edited August 2018 in Xamarin.iOS

Hello
For some reason, the procedure to setup the Xamarin.Mac Icon described here:
https://docs.microsoft.com/en-us/xamarin/mac/deploy-test/app-icon
Is not working on macOS version below 10.11 El Capitan, at least I have the problem on 10.10 Yosemite with a App Project including a storyboard
Did you face the issue before? is there a workarround?
Thank you for your feedback
Regards

Best Answer

  • hadihashemhadihashem ✭✭
    Accepted Answer

    Solved by avoiding using the foldername AppIcon in forlder Resources

Answers

  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    I just tested this out and I can not reproduce. I did the following:

    • Create a new Xamarin.Mac Application
    • Set Info.plist to 10.10 deployment target
    • Download https://github.com/onmyway133/IconGenerator
    • Create an icon from https://game-icons.net
    • Use IconGenerator to generate every size
    • Open Assets.xcassets
    • Drag in an icon for every size in the bottom mac section
    • Build and run on 10.10
    • Create a pkg and install on 10.10
    • Both use cases work.

    I would start by checking that you have every size in your xcassets file. If you believe you have found a bug, please file it at https://github.com/xamarin/xamarin-macios/issues/new with a sample program (since I'm unable to reproduce it from instructions).

  • hadihashemhadihashem Member ✭✭
    edited August 2018
    Thank you for your feedback
    Indeed the icon shows perfectly when using the steps you mentionned
    However after submitting the package on the App Store, I get the feedback from Apple that the icon is not showing on 10.10
    They obviously make test on the minimal compatible version set
    Unfortunatly I couldn‘t test it myself as I‘m using only 10.13
  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    If you are supporting back to 10.10 you likely need a copy of macOS to test/reproduce issues on. You could install it on a VMWare or other virtualization tech image or there are a number of services where you can pay to use cloud hosted macOS machines.

  • hadihashemhadihashem Member ✭✭

    Based on your tip I was able to test it and reproduce the problem
    See attached the screnshots from 10.10 and 10.13
    I just submitted the issue on GitHub
    https://github.com/xamarin/xamarin-macios/issues/4588

  • hadihashemhadihashem Member ✭✭
    Accepted Answer

    Solved by avoiding using the foldername AppIcon in forlder Resources

Sign In or Register to comment.