dpogue commented on PR #1465:
URL: https://github.com/apache/cordova-ios/pull/1465#issuecomment-2299705909

   We've got one issue to sort out here, and it's related to the new iOS 18 
icon variants and Xcode support.
   
   Icon variants are only supported/understood by Xcode 16. If you set up icon 
variants, and then open the project in Xcode 15 (or lower) it will see 3 icons 
trying to fill the same slot and pick one at random (and almost always one of 
the variants instead of the default icon). I already tried reordering the icons 
in Contents.json and that did not produce consistent behaviour 😞 
   
   One option (and the easiest) is to document this behaviour and say that 
specifying icon variants only works with Xcode 16 and up. Documentation gives 
us something to point to when people open issues about it, but I have low 
confidence in its ability to prevent issues from being opened.
   
   The second option (and what I tried to do here) is to detect the Xcode 
version at prepare-time and only add the icon variants if it's 16 or higher. 
This works great on macOS. However, we support adding and preparing the iOS 
platform on other OSes where Xcode is not present, and that prepare-time check 
is failing. So the question here is what to do about those other platforms, do 
we make them pretend to be Xcode 15 (and skip the variants) or Xcode 16 (and 
potentially include broken variants)?
   
   Would be good to get some feedback or other proposals for how best to handle 
this @jcesarmobile @breautek @erisu 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to