-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing .plist file causes the Application not showing #787
Comments
oh, I guess I'm still compiling using swift 5.9 mode, because I set |
After I read the README again, I fount out that I need to run: mt -nologo -manifest Examples\UICatalog\UICatalog.exe.manifest -outputresource:.build\x86_64-unknown-windows-msvc\debug\UICatalog.exe
copy Examples\UICatalog\Info.plist .build\x86_64-unknown-windows-msvc\debug\
.build\x86_64-unknown-windows-msvc\debug\UICatalog.exe Now it worked. |
I found that the menifest tool only makes the GUI display nicer (I tested by purposely skip the |
Yes, the plist is required, that is not a bug but expected behaviour. There is no way to know the default type names and it needs to be provided by the developer. |
In that case,
|
That is accurate. It is not absolutely required. If you look at the initialisation codepath, you will find that we use the application name which is a parameter, and the principal class name, which if not specified via |
Hi,
I managed to compile the project and generate
UICatalog.exe
, but when I double click it to run, no GUI is displayed, only a console window with this message:I tried to debug step-by-step using vscode, this is the code stopped at last:
I mean I can set a breakpoint at
MsgWaitForMultipleObjects
and the breakpoint stops, if I continue to run, it runs, but nothing happens from there.Win11, 23H2, 22631.4317, Visual Studio 2022 installed
swift 6.0.2
main branch of this repo.
The text was updated successfully, but these errors were encountered: