Hi folks,
I have a weird one I hope someone can help with because I can't find any related problems out there and can't tell if this is a bug or something I've goofed. I've been working on getting our app ready for Dark Mode and it looks and works fantastic when I build and run in Xcode-beta. When I archive (Release config build), sign, and test it out on any Mac running Mojave and I get some really strange behavior:
1. All system views/controls are correctly adapted to Dark Mode as expected
2. All of my custom image and color resources incorrectly display the Light version, despite having correct Any,Light,Dark variants
3. When I attach to the process in Xcode and run the view debugger, the views (text labels, images) in question all have inherited the correct effective appearance for Dark Mode--yet the wrong resource is being used/displayed
What gives? Why would this be happening and how can I debug it further?
Thanks!
Billy
Figured it out! (D'OH!) I think this information was actually in one of the WWDC session videos on Dark Mode and I must have overlooked it:
The workstation where we do our Release config beta builds was running the latest Xcode 10 beta, but we hadn't updated the machine itself to 10.14 Mojave. Upgraded to the latest developer beta of Mojave and voila, it's working!