Update your app's icon assets in Xcode:
Ensure Light, Dark, and Tinted Icons: Add a standard light mode icon, a dark mode icon with a transparent background, and a tinted icon in grayscale with a solid black background.
Update Contents.json: Modify the Contents.json file in your AppIcon.appiconset folder to include entries for these new variants, specifying their appearances (e.g., "luminosity," "dark," "tinted").
Rebuild and Test: Rebuild your app in Xcode and test it on the iOS 18 simulator to ensure the issue is resolved. Then, re-run your Appium tests.
Check Apple's Human Interface Guidelines for detailed app icon requirements (App Icons).
If the issue persists, verify your Xcode project settings and ensure compatibility with Xcode 16.0.0 and macOS 15.4.