TokamakUI / Tokamak

SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms
Apache License 2.0
2.62k stars 111 forks source link

Using Xcode a get the following error: `Type 'TokamakApp' has no member 'main'` #478

Open tscholze opened 2 years ago

tscholze commented 2 years ago

Describe the bug If I open a freshly created app and letting it resolve it dependencies, I will get the following red error banner Using Xcode a get the following error:Type 'TokamakApp' has no member 'main'`.

To Reproduce Please see text above

Expected behavior At least no error banner and at its best Cmd+B should work

Screenshots

Bildschirmfoto 2022-04-17 um 10 48 55

Desktop (please complete the following information):

Additional context I'm new to Tokamak - again. This could be absolutely an error on my side :)

khanlou commented 2 years ago

I'm seeing the same issue on my M1 Max computer, but it works okay on my Intel computer, so it might be an M1 issue.

tscholze commented 2 years ago

@khanlou thanks - funny in which cases M1 and Intel Macs differ