godotengine / godotengine/godot

Exporting for IOS: USER WARNING: Icon not supported by this display server. at: set_icon (servers/display_server.cpp:577)

Open
#87,567 3 comments 4 reactions 0 assignees View on GitHub
bug confirmed platform:ios topic:export topic:platforms
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Reproducible in v4.2.1.stable.mono.official [b09f793f5]

### System information

MacOS 14.2 - Godot v4.2.1.Stable.mono.official - IOS Export to Iphone 14 running IOS 17.2

### Issue description

After **exporting the project via XCode**, the app being debugged freezes after only a second. It does not emit any of the messages scatted through the code to help diagnose the problem. The freeze happens immediately after I open a UDP connection in C#. There is also a warning message sent to the console `USER WARNING: Icon not supported by this display server. at: set_icon (servers/display_server.cpp:577)` **I suspect that the icon not supported is causing the problem**, but it could be a networking issue. The app being developed runs fine when I press the run button in Godot.

### Steps to reproduce

Install Godot 4.2.1
Install VSCode
Install XCode
Install the XPlane simulator (evaluation version will work for testing)
Write Scripts in C#
Test in Godot and VSCode -- app works fine
Export app
Open the xxxx.xcodeproject file to launch XCODE
Press the > key in xcode to upload to the phone and run in debug mode

App loads to phonne, starts up, Initial UI screen is shown and a couple debug messages are displayed on the console. Then it stops

### Minimal reproduction project (MRP)

[Archive.zip](https://github.com/godotengine/godot/files/14048010/Archive.zip)

Contributor guide

Open the contributing guide

Research direction

Start with the supplied Archive.zip and reproduce the freeze by exporting the C# project to an iPhone through Xcode, then compare it with running in Godot. Inspect servers/display_server.cpp:577 alongside the UDP connection path to determine whether the icon warning is related to the freeze. Done means identifying the cause and confirming the exported app runs without freezing.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, ios
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.