5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 19:50:15 +08:00

doc: white screen fix for Mac. Closes #1508

This commit is contained in:
Lea Anthony 2022-07-05 08:44:26 +10:00
parent 4726b72708
commit c48ad9be67
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -20,6 +20,20 @@ var assets embed.FS
```
Check that `frontend/dist` contains your application assets.
### Mac
If this happens on Mac, try adding the following to your `Info.plist`:
```xml
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsLocalNetworking</key>
<true/>
</dict>
```
Reference: https://github.com/wailsapp/wails/issues/1504#issuecomment-1174317433
## Mac application not valid
If your built application looks like this in finder: