Skip to content

Blank window in MAS(mac store) version. #329

@leyafo

Description

@leyafo

My app has been uploaded to TestFlight and has passed the signature verification. However, when installing and opening the app, a blank window appears. The non-Mac App Store version works fine. No helpful messages are displayed in the command line. Here is a screenshot of the blank window.
I have checked the index.html file; it is correct and can be read using fs.readFileSync.

Electron Version: 31.4.0
Running in macOS 14.6.1 arm64

I've connected to chrome://inspect, but it doesn't show more detailed information. Here is the command line output:

./Contents/MacOS/slippod --remote-debugging-port --enable-logging                                                                                                                                    
                                                                                                                                                                                                                   
DevTools listening on ws://127.0.0.1:58286/devtools/browser/a6341af5-84e8-4f3a-bd37-cb24ebc67013                                                                                                                   
[59724:0818/184407.059283:WARNING:electron_api_native_image.cc(194)] Failed to load image from path '/Applications/slippod-1.localized/slippod.app/Contents/Resources/icons/icon_white.png'                        
[59729:0818/184407.098619:ERROR:v8_initializer.cc(808)] V8 process OOM (Failed to reserve virtual memory for CodeRange).                                                                                           
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
[59731:0818/184407.197866:ERROR:v8_initializer.cc(808)] V8 process OOM (Failed to reserve virtual memory for CodeRange).
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.

I believe the issue is related to the singing problem, but I'm not sure what the exact problem is. Below is the signature information displayed on appstoreconnect.com:

slippod.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
    com.apple.security.cs.disable-library-validation: true
    com.apple.security.cs.allow-jit: true
    com.apple.security.cs.allow-unsigned-executable-memory: true
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
    com.apple.security.cs.allow-dyld-environment-variables: true
slippod.app/Contents/Library/LoginItems/slippod Login Helper.app/Contents/MacOS/slippod Login Helper
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
slippod.app/Contents/MacOS/slippod
    com.apple.security.print: true
    com.apple.security.files.user-selected.read-only: true
    com.apple.security.cs.allow-jit: true
    com.apple.developer.team-identifier: DN5KWP78X9
    com.apple.security.network.client: true
    com.apple.security.device.camera: true
    com.apple.security.files.bookmarks.app-scope: true
    com.apple.security.cs.allow-dyld-environment-variables: true
    com.apple.security.device.microphone: true
    com.apple.application-identifier: DN5KWP78X9.com.slippod.dev1
    com.apple.security.network.server: true
    com.apple.security.device.usb: true
    com.apple.security.application-groups: ( "DN5KWP78X9.com.slippod.dev1" )
    com.apple.security.cs.allow-unsigned-executable-memory: true
    com.apple.security.app-sandbox: true
    com.apple.security.files.user-selected.read-write: true
slippod.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node
    com.apple.security.cs.disable-library-validation: true
    com.apple.security.cs.allow-jit: true
    com.apple.security.cs.allow-unsigned-executable-memory: true
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
    com.apple.security.cs.allow-dyld-environment-variables: true
slippod.app/Contents/Frameworks/slippod Helper.app/Contents/MacOS/slippod Helper
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
slippod.app/Contents/Frameworks/slippod Helper (Renderer).app/Contents/MacOS/slippod Helper (Renderer)
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
slippod.app/Contents/Resources/libsimple/libsimple.dll
    com.apple.security.cs.disable-library-validation: true
    com.apple.security.cs.allow-jit: true
    com.apple.security.cs.allow-unsigned-executable-memory: true
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
    com.apple.security.cs.allow-dyld-environment-variables: true
slippod.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib
    com.apple.security.cs.disable-library-validation: true
    com.apple.security.cs.allow-jit: true
    com.apple.security.cs.allow-unsigned-executable-memory: true
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
    com.apple.security.cs.allow-dyld-environment-variables: true
slippod.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib
    com.apple.security.cs.disable-library-validation: true
    com.apple.security.cs.allow-jit: true
    com.apple.security.cs.allow-unsigned-executable-memory: true
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
    com.apple.security.cs.allow-dyld-environment-variables: true
slippod.app/Contents/Resources/libsimple/libsimple.dylib
    com.apple.security.cs.disable-library-validation: true
    com.apple.security.cs.allow-jit: true
    com.apple.security.cs.allow-unsigned-executable-memory: true
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
    com.apple.security.cs.allow-dyld-environment-variables: true
slippod.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libvk_swiftshader.dylib
    com.apple.security.cs.disable-library-validation: true
    com.apple.security.cs.allow-jit: true
    com.apple.security.cs.allow-unsigned-executable-memory: true
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
    com.apple.security.cs.allow-dyld-environment-variables: true
slippod.app/Contents/Frameworks/slippod Helper (GPU).app/Contents/MacOS/slippod Helper (GPU)
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
slippod.app/Contents/Frameworks/slippod Helper (Plugin).app/Contents/MacOS/slippod Helper (Plugin)
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
slippod.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libEGL.dylib
    com.apple.security.cs.disable-library-validation: true
    com.apple.security.cs.allow-jit: true
    com.apple.security.cs.allow-unsigned-executable-memory: true
    com.apple.security.app-sandbox: true
    com.apple.security.inherit: true
    com.apple.security.cs.allow-dyld-environment-variables: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions