28 February 2025 Leave a comment Xcode
If you’ve recently upgraded to Xcode 12.3 and are experiencing a peculiar yellow tint in translucent UI elements on iOS 14.3 simulators, you’re not alone. This graphical glitch has been reported by several users, and while Apple has addressed it in Xcode 12.4 RC, there are practical workarounds you can implement right now.
Understanding the Issue
The yellow tint issue seems to be associated with certain GPU configurations, particularly affecting discrete GPUs. Additionally, the glitch can cause the background of the on-screen keyboard to appear almost black (RGB(0,0,0)). This problem has been observed on MacBook Pro models running macOS Catalina and Big Sur.
Workaround Solutions
Solution 1: Using Integrated GPU
- Open the iOS simulator.
- Navigate to File → GPU Selection → Prefer Integrated GPU.
- Restart the simulator.
This method utilizes the integrated GPU, circumventing the issue present with discrete GPUs. It’s tested on MacBook Pro models with Catalina and Big Sur, though it might not work on iMacs.
Solution 2: Reduce Transparency
- On the simulated device, go to Settings → Accessibility → Display & Text Size.
- Enable Reduce Transparency.
While this won’t completely eliminate the yellow tint, it will lighten it significantly, making it more manageable for UI testing.
Alternative Solution: Reverting to iOS 14.2 Simulator
- Open Xcode and go to Preferences.
- Select Components.
- Download and install the iOS 14.2 Simulator pack.
This approach serves as a temporary workaround until the issue is fully resolved in future Xcode updates.
Enhancing Your Testing with Repeato
While dealing with simulator issues, consider leveraging tools like Repeato for your testing needs. Repeato is a no-code test automation tool that simplifies the creation, execution, and maintenance of automated tests for iOS, Android, and web apps. Its use of computer vision and AI ensures that your testing process remains efficient and reliable. Moreover, Repeato supports data-driven and keyword-driven testing, and its compatibility with version control systems ensures seamless integration into your development workflow.
If you want to explore more about Repeato’s capabilities and how it can streamline your testing process, check out our getting started guide.
Like this article? there’s more where that came from!
- Resolving the “xcrun: error: invalid active developer path” Error on macOS
- Adding Existing Frameworks in Xcode 4: A Comprehensive Guide
- Disabling ARC for a Single File in Xcode: A Step-by-Step Guide
- Resolving the Xcode-Select Active Developer Directory Error
- Resolving the “Multiple Commands Produce” Error in Xcode 10